Skip to main content
POST
AI build/edit flow

Authorizations

api_access_token
string
header
required

All API requests must include the api_access_token header with a valid agent or administrator token.

Path Parameters

account_id
integer
required

Numeric ID of the account

id
integer
required

Numeric ID of the resource

Body

application/json
instruction
string

Natural-language instruction

target_channels
array

Channels the flow targets

flow_data
object

Optional live canvas state

Response

Successful response