This endpoint is used to send an email to multiple recipients in one go and is especially useful for sending out email marketing campaigns like promotions for upcoming sales, special discount coupons, or event promotions, etc.
, to your contact lists.
Note: that this API uses the promotional route for sending the emails. Kindly ensure that your emails are optimally designed to protect your sender reputation.
The emails can be sent immediately or can be scheduled for delivery at a later date and time.
This endpoint is used to send an email to multiple recipients in one go.
object (BatchSendingDetails) Details to define the email you wish to send, and the list of contacts to which you wish to send the email. | |||||||||||||||||||||||
| |||||||||||||||||||||||
Array of objects or null (Recipients) Details to define the email you wish to send, and the list of contacts to which you wish to send the email. | |||||||||||||||||||||||
Success
Bad Request
Unauthorized
Conflict
Client Error
Server Error
{- "sendingDetails": {
- "listId": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "senderFrom": {
- "email": "string",
- "displayName": "string"
}, - "replyTo": {
- "email": "string",
- "displayName": "string"
}, - "subject": "string",
- "preHeaderText": "string",
- "emailBody": "string",
- "scheduleDateTime": "2019-08-24T14:15:22Z",
- "emailCampaignId": "00000000-0000-0000-0000-000000000000",
- "webHookUrl": "string"
}, - "recipients": [
- {
- "personalizationSubstitutionTags": [
- {
- "tagName": "string",
- "tagValue": "string"
}
]
}
]
}
{- "queueId": "string",
- "QueuedTimestamp": 0
}