Sends a templated email to a recipient using dynamic data.
Send templated emails through the iSend API using dynamic placeholders with a single API call.
POST https://api.isend.ai/emails/send
Authorization: Bearer is_xxxxxxx
application/json
Field | Type | Required | Description |
---|---|---|---|
from | string | ✅ | Sender’s email. Use name <email@domain.com> format if needed. |
to | string or array | ✅ | Email or array of emails for recipients. |
template | string | ✅ | Identifier or name of the template to send. |
data_mapping | object | ✅ | Dynamic placeholder values to inject into the template. |
template
exists and is active on your account.data_mapping
must match the placeholders used in your template.to
if you want to send to multiple recipients.Successful response