Skip to main content
POST
/
org
/
{org_id}
/
workflows
Create workflow
curl --request POST \
  --url https://v2-nova-api.prod.czmx.in/org/{org_id}/workflows \
  --header 'Content-Type: application/json' \
  --data '
{
  "definition": [
    123
  ],
  "name": "<string>",
  "trigger_type": "<string>",
  "description": "<string>",
  "is_active": true
}
'
{
  "created_at": "<string>",
  "definition": [
    123
  ],
  "description": "<string>",
  "id": "<string>",
  "is_active": true,
  "name": "<string>",
  "published_at": "<string>",
  "trigger_type": "<string>",
  "updated_at": "<string>",
  "version": 123
}

Path Parameters

org_id
string
required

Organization ID

Body

application/json

Workflow details

definition
integer[]
required
name
string
required
Required string length: 1 - 255
trigger_type
string
required
description
string
is_active
boolean

Response

Created

created_at
string
definition
integer[]
description
string
id
string
is_active
boolean
name
string
published_at
string
trigger_type
string
updated_at
string
version
integer