curl --request POST \
  --url https://integration.getmateo.com/api/v1/send_broadcast \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "require_marketing_opt_in": true,
  "to_recipients": [
    {
      "handle": "<string>",
      "full_name": "<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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - application/vnd.pgrst.object+json
The broadcast was sent successfully

The response is of type object.