Send an email
Send a transactional email through the selected regional project.
POST
/emailsHeaders
NameTypeDescription
Idempotency-KeystringBody parameters
FieldTypeDescription
fromrequiredstringExample: "Acme <hello@example.com>".
torequiredstring (email) | arrayccarraybccarrayreply_toarraysubjectrequiredstringhtmlstringtextstringunsubscribeboolean | nullOverride the sending domain's managed RFC 8058 one-click unsubscribe default. True adds the required List-Unsubscribe headers, false disables them, and null or omission inherits the domain default. Enabling it requires exactly one recipient.
headersobjecttagsarraytags[].namerequiredstringtags[].valuerequiredstringscheduled_atstring (date-time)attachmentsarrayattachments[].filenamerequiredstringattachments[].contentstring (byte)attachments[].pathstring (uri)attachments[].content_typestringattachments[].content_idstringtemplatestring | objecttemplate.idrequiredstringtemplate.variablesobject200 response
Accepted resource ID
FieldTypeDescription
idrequiredstringExample: "msg_01...".
400 response
Error
FieldTypeDescription
namerequiredstringmessagerequiredstringerrorsobject403 response
Error
FieldTypeDescription
namerequiredstringmessagerequiredstringerrorsobject422 response
Error
FieldTypeDescription
namerequiredstringmessagerequiredstringerrorsobject