latestSwagger 2.02026-08-1095121164.0 KB

94758829689e

users

Create User Workflow

Creates a new workflow owned by the user.

post/v0/users/{user_id}/workflows

Path parameters

user_idstring required

User ID

Request body

paramsobject

Optional workflow parameters

typestring required

Type of workflow to create

Example request

{
  "type": "create_site"
}

Response

active_descriptionstring

Active description of current workflow step

idstring required

Workflow ID

number_of_tasksinteger

Number of tasks in the workflow

Example response

{
  "active_description": "Creating site",
  "id": "12345678-90ab-cdef-1234-567890abcdef",
  "number_of_tasks": 5
}