Broadcast event to all
Trigger a broadcast event to all existing subscribers, could be used to send announcements, etc. In the future could be used to trigger events to a subset of subscribers based on defined filters.
/v1/events/trigger/broadcast
Authorization
Authorization
<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/json
Requiredname
RequiredstringThe trigger identifier associated for the template you wish to send. This identifier can be found on the template page.
payload
RequiredobjectThe payload object is used to pass additional information that could be used to render the template, or perform routing rules based on it. For In-App channel, payload data are also available in
overrides
objectThis could be used to override provider specific configurations
transactionId
stringA unique identifier for this transaction, we will generated a UUID if not provided.
actor
string | objectIt is used to display the Avatar of the provided actor's subscriber id or actor object. If a new actor object is provided, we will create a new subscriber in our system
tenant
string | objectIt is used to specify a tenant context during trigger event. If a new tenant object is provided, we will create a new tenant.
Header Parameters
idempotency-key
stringA header for idempotency purposes
OK