Creates and sends a message to one or more recipients.
Validation Requirements:
text_content
or html_content
is requiredfrom.email
must be from a domain you own with valid DNS recordsretention.metadata
must be between 1 and 30 daysretention.data
must be between 0 and 30 daysreply_to
is provided, do not include reply-to
in headersmessage-id
header will be ignored and automatically generatedAPI key for authentication
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
Account ID
Message created successfully
The response is of type object
.