Skip to main content
POST
Create Call Agent

Headers

string
required
API key used for authenticating requests to the API.
string
required
Workspace identifier for the API.

Request Body

string
required
Name of the agent being created.
object
required
Text-to-Speech (TTS) configuration for the agent.
boolean
default:"false"
Enable smart callback functionality for the agent.
number
default:"5"
Maximum number of callback attempts when smart callback is enabled.
array
Array of time intervals between each callback attempt. Each item contains days and hours.
array
Array of phone number IDs to associate with the agent.
string
default:"gpt-4o-mini"
required
Language Model to be used by the agent to generate responses. Must be one of: gpt-4o-mini, gpt-4o, gpt-4o-enterprise, gpt-4.1, gpt-4.1-mini, gpt-4.1-enterprise, gpt-4.1-mini-enterprise, gemini-2.5-flash, gemini-2.0-flash-001.
object
Additional settings for the agent.
object
Custom variables to store for the agent.

Response Fields

string
Unique identifier for the newly created agent.
string
Workspace ID associated with the agent.
string
User ID of the agent creator.
string
Name of the agent.
object
Text-to-Speech configuration for the agent.
string
TTS provider used by the agent.
string
default:"mistv2_Wildflower"
Voice ID used for generating speech. (e.g., mistv2_Brook, mistv2_Violet, mistv2_Wildflower)
string
Language code of the TTS voice.
string
Encrypted ElevenLabs API key (only present if provider is “11labs_byo”).
string
Language Model used by the agent to generate responses.
boolean
Whether smart callback is enabled for the agent.
number
Maximum number of callback attempts.
array
Array of time intervals between callback attempts.
array
Array of phone number IDs associated with the agent.
array
Array of active sessions for the agent.
object
Additional settings configured for the agent.
string
Current status of the agent (pending, ready, or error).
string
Current node or state within the agent’s flow.
object
Custom variables stored for the agent.
string
Timestamp when the agent was created.
string
Timestamp when the agent was last updated.