v1

latestOpenAPI 3.0.02026-07-26870415.2 KB
workflows

Create workflow

Creates a new workflow (master + version 1) from a full definition. Created as DRAFT unless activate is true. Returns the same shape as GET /v1/workflows/{id}.

post/v1/workflows

Request body

workspace_idstring required

Workspace to create the workflow in

namestring required

Workflow name

descriptionstring nullable
colorstring

Hex color for the workflow, e.g. #2563eb

first_step_idstring nullable

Id of the entry step, or null.

activateboolean

When true, the version goes live (status ACTIVE). Defaults to false (DRAFT).

Response

Created workflow definition