Email API
Overview
The Email API allows you to send emails through the Comms API. You can send emails to single or multiple recipients with personalization, scheduled delivery, custom headers and footers, and tracking tags.
Send an Email
Send emails to one or more recipients. The API processes requests asynchronously and returns a 202 response that includes an operationId you can use to track send status.
Send to a single recipient
Send an email to a single recipient:
Response (202 Accepted):
Send to multiple recipients
Send the same email to multiple recipients:
Personalization with variables
Use Liquid templating to personalize emails for each recipient:
Schedule an Email
Schedule an email to be sent at a future time:
Custom headers and footers
Add custom headers and footers to your emails:
You can’t override these headers: x-sg-id, x-sg-eid, received, dkim-signature, Content-Type, Content-Transfer-Encoding, To, From, Subject, Reply-To, CC, BCC.
Tags for tracking
Add custom metadata tags to emails for filtering and tracking:
Tags can have up to 10 key-value pairs for organizing and filtering emails.