API to trigger broadcast notification to list users.
cURL
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"
Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.
Bearer <API_KEY>
202 - Accepted
The response is of type object.
object
Was this page helpful?