Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Trigger multiple emails with REST
POST /messaging/v1/messageDefinitionSends/key:YOURTSDEXTERNALKEY/sendBatch HTTP/1.1
Host: YOURENDPOINT.rest.marketingcloudapis.com
Authorization: Bearer YOURAUTHTOKEN
Content-Type: application/json
cache-control: no-cache
[
{
"To": {
"Address": "neo@example.com",
"SubscriberKey": "1111",
"ContactAttributes": {
"SubscriberAttributes": {
"FirstName": "Neo"
}
}
}
},
{
"To": {
"Address": "morpheus@example.com",
"SubscriberKey": "2222",
"ContactAttributes": {
"SubscriberAttributes": {
"FirstName": "Morpheus"
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.