Create Call Flow
Create a new call flow with full settings.
Headers
API key used for authenticating requests to the API.
Workspace identifier for the API.
Request Body
A friendly name for this call flow (e.g., “Customer Support Flow”).
Direction of the flow. Possible values: “inbound” “outbound” “bidirectional”.
Description (e.g. “Handles inbound support calls”).
ID of the agent to associate with this flow. If provided, the system looks for a pending phone number for that agent and activates it.
“simple” or “flow”. Defaults to “simple”.
Flow-based configuration using a node/edge approach.
A system or initial prompt for the flow.
Whether the flow is currently active (default: false).
Main configuration object for the call flow.
Response Fields
The unique identifier for the newly created call flow.
The identifier of the workspace where the call flow has been created.
The name given to the call flow.
The direction configuration of the call flow; can be “inbound”, “outbound”, or “bidirectional”.
A description of what the call flow is designed to handle.
The identifier of the agent associated with this call flow.
Indicates whether the call flow uses a simple prompt or a more complex flow-based configuration.
The initial or system prompt used in the call flow.
Indicates whether the call flow is currently active or inactive.
Configuration settings for various aspects of the call flow, such as knowledge bases, call settings, response settings, and security.
References to knowledge bases included in the call flow.
Settings related to the call duration and silence detection.
Settings determining the delay before a response is issued in the call.
Security settings, including HIPAA compliance status.
Timestamp when the call flow was created.
Timestamp when the call flow was last updated.
The version number of the call flow document.