Reusable models from components.schemas.
fromstringrequiredSender email address. To include a friendly name, use the format "Your Name <sender@domain.com>".
tostring | string[]requiredRecipient email address. For multiple addresses, send as an array of strings. Max 50.
subjectstringrequiredEmail subject.
bccstring | string[]Bcc recipient email address. For multiple addresses, send as an array of strings.
ccstring | string[]Cc recipient email address. For multiple addresses, send as an array of strings.
reply_tostring | string[]Reply-to email address. For multiple addresses, send as an array of strings.
htmlstringThe HTML version of the message.
textstringThe plain text version of the message.
templateobjectheadersobjectCustom headers to add to the email.
scheduled_atstringSchedule email to be sent later. The date should be in ISO 8601 format.
attachmentsAttachment[]tagsTag[]topic_idstringThe topic ID to scope the email to. If the recipient is a contact and opted-in to the topic, the email is sent. If opted-out, the email is not sent. If the recipient is not a contact, the email is sent if the topic's default subscription is opt_in.
contentstring<binary>Content of an attached file.
filenamestringName of attached file.
pathstringPath where the attachment file is hosted
content_typestringOptional content type for the attachment, if not set it will be derived from the filename property
content_idstringContent ID for embedding inline images using cid references (e.g., cid:image001).
namestringThe name of the email tag. It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.
valuestringThe value of the email tag.It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.
idstringrequiredThe id of the published email template.
variablesobjectTemplate variables object with key/value pairs.
idstringThe ID of the sent email.
objectstringThe type of object.
idstringThe ID of the email.
message_idstringThe Message-ID header value of the email.
tostring[]fromstringThe email address of the sender.
created_atstringThe date and time the email was created.
subjectstringThe subject line of the email.
htmlstringThe HTML body of the email.
textstringThe plain text body of the email.
bccstring[]The email addresses of the blind carbon copy recipients.
ccstring[]The email addresses of the carbon copy recipients.
reply_tostring[]The email addresses to which replies should be sent.
last_eventstringThe status of the email.
"bounced""canceled""clicked""complained""delivered""delivery_delayed""failed""opened""queued""scheduled""sent""suppressed"objectstringType of the response object.
has_morebooleanIndicates if there are more results available.
dataEmail[]Array containing email information.