Run a workflow

POST /api/v1/workflow/{workflow_uuid}/run

Path parameters

  • workflow_uuid string Required
application/json

Body Required

  • model_type string Required

    The type of model to trigger a workflow on. Valid types: client, case

  • model_uuid string Required

    The uuid of the model to run the workflow on.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/workflow/{workflow_uuid}/run
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/workflow/6ff8f7f6-1eb3-3525-be4a-3932c805afed/run' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"model_type":"client","model_uuid":"string"}'
Request examples
{
  "model_type": "client",
  "model_uuid": "string"
}
Response examples (401)
{
  "message": "Unauthenticated."
}