Voicemail message configuration and voicemail_message_left end call reason
You can now configure your agent to leave a voicemail message when it detects voicemail, instead of hanging up. The new voicemail_message object on the assistant endpoints supports two modes:
When the agent successfully leaves a voicemail, the call status is left_voicemail and the end call reason is voicemail_message_left.
Note: Enabling voicemail_message requires greeting_message_mode to be set to human. Voicemail detection relies on the agent listening for the initial speaker to determine if it is a human or a voicemail machine.
Updated endpoints:
For more details, see the Call Configuration documentation.
Fallback Voice Provider Support
We have updated our Public API to support fallback voice configurations. These changes allow you to specify a secondary voice provider and model to be used in case the primary synthesizer fails.
API Changes
The assistants API has been updated to include fallback voice fields within the agent object for GET, POST, and PUT requests.
Example usage:
Updated endpoints:
Updated supported LLM models
The list of available AI models has been updated. New models have been added and GPT-4o has been removed.
New models:
Updated endpoints:
Custom end-call reasons
You can now define custom conditions that trigger automatic call termination using the new end_call_reasons field on the Agent schema. When the AI agent detects one of these conditions during a conversation, it says a brief farewell and ends the call. This works with both simple prompt and Flow Designer agents.
Updated endpoints:
New response fields:
When a call ends due to a custom end-call reason, the post-call webhook response includes:
For more details, see the End-Call Reasons documentation.
New greeting_message_mode and greeting_message_human_talk_timeout fields on Agent
You can now control how your agent starts a conversation using two new fields on the Agent schema.
greeting_message_mode lets you choose between three behaviors:
greeting_message_human_talk_timeout sets the maximum number of seconds the agent waits for the human to speak first when using human mode. If the timeout is reached, the agent starts the conversation automatically.
Updated endpoints:
For more details, see the Greeting Message Behavior documentation.
Subaccount Minute Limit (max_minutes) now available in Subaccount APIs
The max_minutes field is now included in the response for the Get Subaccount and List Subaccounts endpoints. This field indicates the maximum number of minutes allocated to a subaccount, making it easier to monitor usage limits alongside the existing minutes_used field.
Updated endpoints:
Notes:
max_minutesis an integer representing the configured cap for the subaccount- The field may be
nullif no limit has been set
Knowledge Base Sources API
A new endpoint has been added to retrieve the list of sources attached to a knowledge base.
New endpoints:
- List knowledge base sources: Returns a paginated list of sources for a given knowledge base, including each source’s
type,name,content_preview,url, and timestamps (created_at,updated_at). Use thelimitandoffsetquery parameters to control pagination.
Collected Variables (Slots) now available in Post-call Webhooks and Call APIs
The collected_variables field is now included in post-call webhook payloads and call API responses. This field contains collected variables (slots) from your conversation flows, allowing you to access user-provided information programmatically.
Example Response:
Updated endpoints:
Post-call Webhook:
The collected_variables field is now included in the post-call webhook payload when configured.
Notes:
- Each variable has a
value(the collected data) andcollected(boolean indicating successful collection) - The
collected_variablesfield may benullif not available for a specific call - Variables are keyed by agent ID, then by variable name
PII Redaction API parameter
A new redact_pii parameter has been added to the Agent endpoints, allowing you to enable PII (Personally Identifiable Information) redaction via the API.
Updated endpoints:
When redact_pii is set to true, sensitive data is automatically removed from transcripts, post-call webhook payloads, and internal logs. Redacted data types include:
- Credit card numbers, expiration dates, and CVVs
- Social security numbers
- Names, email addresses, phone numbers, and physical addresses
See Security & Compliance for more information.
Voices API enhancements
Updated endpoints:
- Get voices: Now includes pagination information (
total_records,limit,offset) in the response.