boundry.
Sydney, Australia
Documentation/Send an email

Send an email

Send a transactional email through the selected regional project.

POST/emails

Headers

NameTypeDescription
Idempotency-Keystring

Body parameters

FieldTypeDescription
fromrequiredstring

Example: "Acme <hello@example.com>".

torequiredstring (email) | array

ccarray

bccarray

reply_toarray

subjectrequiredstring

htmlstring

textstring

unsubscribeboolean | null

Override 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.

headersobject

tagsarray

tags[].namerequiredstring

tags[].valuerequiredstring

scheduled_atstring (date-time)

attachmentsarray

attachments[].filenamerequiredstring

attachments[].contentstring (byte)

attachments[].pathstring (uri)

attachments[].content_typestring

attachments[].content_idstring

templatestring | object

template.idrequiredstring

template.variablesobject

200 response

Accepted resource ID

FieldTypeDescription
idrequiredstring

Example: "msg_01...".

400 response

Error

FieldTypeDescription
namerequiredstring

messagerequiredstring

errorsobject

403 response

Error

FieldTypeDescription
namerequiredstring

messagerequiredstring

errorsobject

422 response

Error

FieldTypeDescription
namerequiredstring

messagerequiredstring

errorsobject