Run workflow API
Last updated
Last updated
POST /run-workflow HTTP/1.1
Content-Type: workflow related to PbxCall
Accept: */*
Content-Length: 146
{
"instanceId": 602,
"trigger": 100,
"inputParameters": [
{
"name": "input1",
"value": "testvalue!"
}
],
"pbxCall": {
"hookId": 1234,
"phoneNumber": "+31882042200"
}
}{
"workflowsExecuted": 1,
"workflows": [
{
"id": "9f41f83b-83fb-4f4b-ba55-201c3d84f069",
"name": "Workflow 1",
"success": true,
"output": [
{
"name": "TicketNumber",
"type": "String",
"value": "#1232149239"
}
]
}
]
}