Skip to main content

ValidateFlow validates a flow definition without saving.

POST 

/api/v1/voice/flows/validate

Checks for structural errors and unreachable nodes.

Parameters

  • flow_data: Required, flow definition to validate
  • start_node_id: Required, start node ID

Response

  • valid: Whether flow passes validation
  • errors: List of validation errors
  • warnings: List of non-fatal warnings

Errors

  • PERMISSION_DENIED: Caller lacks voice:flow:read permission

Request

Responses

A successful response.