Cancel Broadcast
Changed onAPI to cancel a running broadcast execution. You can cancel a broadcast by passing any combination of filters in the request body. When multiple parameters are provided, they are ANDed together to narrow down the matching broadcast runs.
For example, passing both list_id and idempotency_key will cancel only the broadcast runs that match both the given list and idempotency key.
post/v1/broadcast_run/cancel/
Request
- Base URLhttps://hub.suprsend.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"execution_id": "broadcast_xxxx-xxxx-xxxx-xxxx",
"list_id": "my_user_list",
"idempotency_key": "a1b2c3d4-xxxx-xxxx-xxxx-ef0123456789"
}Response
200 - OK
Example response
{
"execution_ids": [
"broadcast_xxxx-xxxx-xxxx-xxxx"
]
}Changes
- breaking
added the pattern
^[a-z0-9_-]+$to the request property
- breaking
- info
endpoint added
- info