Skip to main content
post/v1/events/trigger/broadcast
Request example
Response
post/v1/events/trigger/broadcast

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
namestringrequired#
The trigger identifier associated for the template you wish to send. This identifier can be found on the template page.
payloadobjectrequired#

The 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 <Inbox />

Example:
overridesobject#
This could be used to override provider specific configurations
Example:
agentIdstring#
Override the workflow-assigned agent for this trigger using the public agent identifier. Omit to use the workflow default; pass null to disable agent routing for this execution.

Example:"support-agent"

transactionIdstring#
A unique identifier for this transaction, we will generated a UUID if not provided.
actorstring · object#

It 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

tenantstring · object#

It is used to specify a tenant context during trigger event.
If a new tenant object is provided, we will create a new tenant.

contextobject#

Responses

application/json
OK
acknowledgedbooleanrequired#
Indicates whether the trigger was acknowledged or not
statusenum<string>required#
Status of the trigger
Options:errortrigger_not_activeno_workflow_active_steps_definedno_workflow_steps_definedprocessedno_tenant_foundinvalid_recipients
errorstring[]#
In case of an error, this field will contain the error message(s)
transactionIdstring#
The returned transaction ID of the trigger
jobDataobject#