The same API endpoint is used to trigger scheduled workflows.
Bearer token for API authentication. Format: Bearer {{apiToken}}
{
"workflowName": "<workflow_name>",
"data": {
"<key>": "<value>"
},
"notify": [
{
"<key>": "<value>"
}
]
}
Body Parameters
Data that is being used in the workflow
In Bulk trigger, this attribute is an array of objects. Bulk trigger is used when multiple recipients are there.{
"workflowName": "otp",
"data": {
"subject": "otp verification"
},
"notify": [
{
"notificationType": "email",
"recipient": "example@example.com"
},
{
"notificationType": "sms",
"recipient": "+1234567890"
}
]
}
Response
UUID — identifier for the bulk request.
Array of UUIDs — each corresponding to an individual workflow execution.
The error code (e.g., BAD_REQUEST
).
A human-readable error message.
{
"data": {
"requestId": UUID, //id of the request
"workflowExecutionIds": [UUID] // list of workflow execution ids
},
"error": null,
"errors": null,
"meta": null
}
Status Codes
200
- OK
400
- BAD REQUEST
401
- UNAUTHORISED
404
- NOT FOUND