Dynamic Workflow Trigger
API to configure and trigger workflow dynamically
Authorizations
Pass as Bearer <API_KEY>
. Get API Key from SuprSend dashboard Developers -> API Keys section.
Path Parameters
Body
Unique name of the workflow. The workflow name should be easily identifiable for your reference at a later stage. You can see workflow-related analytics on the workflow page (how many notifications were sent, delivered, clicked or interacted).
Unique slug of the template created on SuprSend dashboard. You can get this by clicking on the clipboard icon next to the Template name on SuprSend templates page.
Used to apply user category level preferences on notification trigger.
Array object of target users.
variable data required to render dynamic template content or workflow properties like dynamic delay or channel override in send node.
delivery instructions for the workflow. You can set Smart Delivery preference by setting "smart":true
Workflow will be halted for the time mentioned in delay, and become active once the delay period is over. Format - XXdXXhXXmXXs
or if its number (n) then delay is in seconds (n)
Trigger workflow on a specific date-time. Format - date string in ISO 8601 eg. "2022-08-27T20:14:51.643Z"
string identifier of the tenant this workflow is associated with
Unique identifier of the request (deduplicates request for 24hrs)
Response
The response is of type string
.
"Accepted - OK"