Run a workflow
Headers
-
Content-Type string
-
Accept string
Body Required
-
The type of model to trigger a workflow on. Valid types: client, case
-
The uuid of the model to run the workflow on.
POST /api/v1/workflow/{workflow_uuid}/run
curl \
-X POST https://api.plannrcrm.com/api/v1/workflow/workflow_uuid/run \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"model_type":"client","model_uuid":"string"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"model_type": "client",
"model_uuid": "string"
}