Update Call Flow
Update an existing call flow’s fields, toggle autopilot, or add new webhooks. The webhook body can be auto-generated using defined variables.
Headers
These endCallOnSilence and maxCallDuration are a must to be sent in order for this API call to be successful.
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”).
New prompt for updated call flow.
If true, toggles the current autopilot value from on to off and vice versa.
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.
Response Fields
The unique identifier for the call flow that has been updated.
The identifier of the workspace where the call flow is configured.
The updated name of the call flow.
The updated description of what the call flow is designed to handle.
The identifier of the agent associated with this call flow.
Indicates whether the autopilot mode for the call flow is enabled or disabled.
A boolean indicating whether the call flow is currently active.
The type of prompt used in the call flow, such as “simple” or “complex”.
The primary prompt for user interaction, either simple or complex.
A sanitized version of the prompt, typically used for structured processing.
These endCallOnSilence and maxCallDuration are a must to be sent in order for this API call to be successful.
The configuration settings for the call flow, detailing response settings, security measures, and call settings.
List of webhooks associated with the call flow. The body will be automatically generated based on the webhook variables.
The timestamp when the call flow was last updated.