Run Manual Workflows
Only manual workflow can be executed this way. All conversation IDs must belong to existing conversations and be from the same mailbox as the workflow.
Request
POST /v2/workflows/20/run HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json
{
"conversationIds" : [ 123, 743 ]
}
Path Parameters
/v2/workflows/{workflowId}/run
Request fields
Path | Type | Required | Description |
---|---|---|---|
conversationIds |
Array |
Y | An array of conversation ids. The workflow actions will be applied to each conversation in the list. Maximum of 50 conversations IDs can be sent in a single request |
Response
HTTP/1.1 204 No Content