This endpoint is used to trigger email sendings on the basis of pre-saved email trigger templates. Email trigger templates allow you to save all the details necessary to trigger template
an email sending as a template. These templates contain all the email sending details like the Sender name, the Sender email, the email subject and preheader texts, the email campaign that you wish to send, etc.
The emails can be sent immediately or can be scheduled for delivery at a later date and time.
predefinedTemplateId required | string The template ID of the email trigger template saved on MainBrainer. The Email sending details are fetched as per the details saved under this specified |
listId | Array of strings or null <uuid> List ID of the CRM contact list to which you wish to send the email. If you wish to send the email to multiple contact lists, pass the relevant List IDs as an array. |
scheduleDateTime | string or null <date-time> The scheduled date and time for the email sending in RFC3339 format (Y-m-d TH:i:sP). |
Array of objects or null (Recipients) Target recipient for the email sending. | |
webHookUrl | string or null The webhook URL where you want to receive delivery status updates for the email being sent. |
Success
Bad Request
Unauthorized
Conflict
Client Error
Server Error
{- "predefinedTemplateId": "string",
- "listId": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "scheduleDateTime": "2019-08-24T14:15:22Z",
- "recipients": [
- {
- "personalizationSubstitutionTags": [
- {
- "tagName": "string",
- "tagValue": "string"
}
]
}
], - "webHookUrl": "string"
}
{- "queueId": "string",
- "QueuedTimestamp": 0
}