Skip to main content

CreateFlow creates a new IVR call flow.

POST 

/api/v1/voice/flows

Creates a flow in draft status. Must be published to handle calls.

Parameters

  • flow_name: Required, flow name
  • description: Optional, flow description
  • flow_data: Required, JSON flow definition (nodes and connections)
  • start_node_id: Required, ID of the entry node

Response

Returns the created flow with status = draft.

Errors

  • INVALID_ARGUMENT: Invalid flow definition
  • PERMISSION_DENIED: Caller lacks voice:flow:write permission

Request

Responses

A successful response.