Update Call Flow
Call Flows
Update Call Flow
Update an existing call flow.
PUT
Update Call Flow
Headers
API key used for authenticating requests to the API.
Workspace identifier for the API.
Path Parameters
The unique ID of the call flow to update.
Request Body
New name for the flow.
Updated description for the call flow (e.g., “Updated description for inbound calls”).
The direction of the call flow. ‘outbound’ or ‘bidirectional’
Whether the call flow is currently active.
Whether this is a global call flow (requires special permissions).
The type of prompt used in the call flow “simple”.
The primary prompt for user interaction (used when promptType is ‘simple’).
Type of welcome message for the call flow. Possible values: “user_initiated”, “ai_dynamic”, “ai_custom”. Defaults to “user_initiated”.
Custom welcome message text (used when welcomeMessage is ‘ai_custom’).
Collections of dynamic variables for the call flow.
Configuration settings for the call flow.
List of webhooks to be added to the call flow. A new webhook will be created for each entry in the array, regardless of the name or if it already exists.
These
endCallOnSilence and maxCallDuration settings are recommended to be sent for optimal API performance, though they are not strictly required.Response Fields
The unique identifier for the newly created call flow.
The identifier of the workspace where the call flow has been created.
The identifier of the folder where the call flow is organized.
Whether this is a global call flow.
Whether this call flow is pre-configured.
Workspace ID for pre-configured flows.
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 “simple” or “flow” based configuration.
Welcome message type configuration.
Custom welcome message text if configured.
The initial or system prompt used in the call flow.
ID of the current active prompt version.
Sanitized version of the prompt for Gemini processing.
ID of the starting node for flow-based configurations.
Indicates whether the call flow is currently active or inactive.
Webhook URL for agent-related events.
Webhook URL for inbound call events.
Array of dynamic variable collections configured for the call flow.
Array of location objects for visual flow positioning.
Array of configured webhooks with their complete configuration.
Configuration settings for various aspects of the call flow, including welcome messages, webhooks, knowledge bases, call settings, and security.
Timestamp when the call flow was created.
Timestamp when the call flow was last updated.
