Authorizations
API key for authentication
Headers
Optional idempotency key for safe request retries. Must be a unique string for each logical request. Requests with the same key will return the same response. Keys expire after 24 hours.
255
Path Parameters
Account ID
Body
{
"email": "[email protected]",
"name": "Example Corp"
}
Email subject line
This parameter can set the To
header to multiple addresses.
1
This parameter can set the CC
header to multiple addresses. Do not include cc
in the headers array.
1
This parameter can set the To
header to multiple addresses.
1
If provided, the reply-to header in headers array must not be provided
{
"email": "[email protected]",
"name": "Example Corp"
}
Plain text content. Required if html_content is empty
HTML content. Required if text_content is empty
AMP HTML content
File attachments
Custom email headers. cc
and reply-to
headers cannot be provided if reply_to
or cc
parameters are provided, message-id will be ignored and automatically generated
Tags for categorizing messages
If true, the message will be sent to the sandbox environment
The result of the sandbox send
deliver
, bounce
, defer
, fail
, suppress
Tracking settings for the message, overrides default account settings
{ "open": true, "click": true }
Retention settings for the message, overrides default account settings
{ "metadata": 1, "data": 0 }
Schedule for message delivery
{
"first_attempt": "2023-12-25T10:30:00Z",
"expires": "2023-12-26T10:30:00Z"
}