POST
/
{workspace_key}
/
broadcast
curl --request POST \
  --url https://hub.suprsend.com/{workspace_key}/broadcast \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "list_id": "_list_id_",
  "template": "_template_slug_",
  "notification_category": "transactional",
  "channels": [
    "<string>"
  ],
  "data": {},
  "delay": "<string>",
  "trigger_at": "2023-12-25",
  "tenant_id": "<string>"
}'
"Ok"

Authorizations

Authorization
string
header
required

Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.

Path Parameters

workspace_key
string
required

Body

application/json

Response

202
application/json
202 - Accepted

The response is of type object.