Create a workflow

POST /api/v1/workflow

Headers

application/json

Body Required

  • name string Required

    The name of the workflow, must be unique.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      UUID of the account

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • name string

      Name of the workflow

    • type string

      The type of workflow.

    • The number of tasks on the workflow.

POST /api/v1/workflow
curl \
 -X POST https://api.plannrcrm.com/api/v1/workflow \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"name":"Pension Review"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "name": "Pension Review"
}
Response examples (200)
{
  "name": "Pension Transfer",
  "type": "simple",
  "uuid": "e48aebcc-8071-419c-892e-c78a8e6dade5",
  "created_at": "2024-10-16T11:10:15+01:00",
  "updated_at": "2024-10-16T11:10:15+01:00",
  "tasks_count": 5
}