Skip to main content
POST
/
workflows
Create Workflow
curl --request POST \
  --url https://api.example.com/workflows \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "definition": {},
  "description": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "entity": "workflow",
    "organization_id": "<string>",
    "name": "<string>",
    "version": 1,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "active_version_id": "<string>"
  }
}

Body

application/json
name
string
required
definition
object
required
description
string | null

Response

201 - application/json

The created workflow

success
boolean
data
object