The Transactional API enables you to send event-driven emails directly from your application. Unlike broadcast campaigns, transactional emails are sent individually to specific contacts in real-time with automatic contact management, making them perfect for user-triggered notifications and automated workflows.
{"order_id": "12345"}
but the contact profile contains {"first_name": "John", "last_name": "Doe"}
, the template will have access to both the order data and the contact’s full profile.
Parameter | Type | Required | Description |
---|---|---|---|
workspace_id | string | Yes | Your workspace identifier |
notification.id | string | Yes | Template identifier for the email |
notification.channels | array | Yes | Must include “email” |
notification.contact | object | Yes | Contact object with at least an email field |
notification.data | object | No | Custom data for template variables |
notification.email_options | object | No | Email routing configuration |
Parameter | Type | Description |
---|---|---|
reply_to | string | Set custom reply-to email address |
cc | array | List of carbon copy recipients |
bcc | array | List of blind carbon copy recipients |