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 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 an email to a single recipient:
Response (202 Accepted):
Send the same email to multiple recipients:
Use Liquid templating to personalize emails for each recipient:
Schedule an email to be sent at a future time:
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.
Add custom metadata tags to emails for filtering and tracking:
Tags can have up to 10 key-value pairs for organizing and filtering emails.