Skip to main content
POST
Create Workflow

Body

application/json

Request body for POST /v1/workflows.

name
string
required
code
string
required
workflow_type
string | null
indicator_types
string[]
state
string
default:draft
timeout_seconds
integer
default:300
retry_count
integer
default:0
is_active
boolean
default:true
tags
string[]
time_saved_minutes
integer | null
approval_mode
string
default:always
approval_channel
string | null
approval_timeout_seconds
integer
default:3600
risk_level
string
default:medium
documentation
string | null

Response

Successful Response

data
WorkflowResponse · object
required

Full response — includes code and approval config.

meta
Meta · object