curl --request POST \
--url https://integration.getmateo.com/api/v1/send_broadcast \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"attachment": "<string>",
"from": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"require_marketing_opt_in": true,
"to_recipients": [
{
"contact_id": "<string>",
"full_name": "<string>",
"handle": "<string>",
"placeholder_values": [
"<string>"
]
}
],
"to_segments": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"send_after": "2023-11-07T05:31:56Z",
"placeholder_values": [
"<string>"
],
"marketing_channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"review_channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"sendout_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Send a Broadcast message to a list of recipients and / or segments
curl --request POST \
--url https://integration.getmateo.com/api/v1/send_broadcast \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"attachment": "<string>",
"from": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"require_marketing_opt_in": true,
"to_recipients": [
{
"contact_id": "<string>",
"full_name": "<string>",
"handle": "<string>",
"placeholder_values": [
"<string>"
]
}
],
"to_segments": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"send_after": "2023-11-07T05:31:56Z",
"placeholder_values": [
"<string>"
],
"marketing_channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"review_channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"sendout_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The broadcast was sent successfully
The response is of type object
.