Agents
Create Agent
Create a new voice agent with specified configuration and settings
POST
Create Agent
Create a new voice agent with specified configuration, voice settings, and behavior parameters. The agent will be created in draft status and can be published later.Endpoint
Path parameters
NoneRequest headers
Bearer token for authentication. Format:
Bearer talq_your_environment_token_hereMust be set to
application/jsonRequest body
Agent label (max 255 characters)
Agent description
Agent name (max 255 characters)
Agent language code. Supported values:
pt-BR, pt-PT, en-US, en-CA, es-ES, fr-FR, de-DE, it-IT, nl-NL, ja-JP, ko-KR, zh-TW.Initial message the agent will say. Optional.
How easily the agent allows the caller to interrupt. Options:
low, medium, high.How aggressively the agent detects end-of-utterance. Max 255 characters.
IVR navigation behavior for outbound calls that hit interactive menus. Max 255 characters.
Conversation playback speed multiplier. Range:
0.1–3.0.Delay in seconds before the agent says the initial message. Range:
0–60.When
true, the agent asks “Are you still there?” after the idle timeout instead of ending the call.Seconds of caller silence before triggering the idle behavior. Range:
1–60.Maximum number of idle re-prompts before ending the call. Range:
1–10. Optional.Hard limit on call duration in seconds. Range:
1–3600. Optional.When
true, the agent says a closing message before terminating a call that hits max_call_duration_seconds. Optional.Seconds of total inactivity before the agent gives up entirely. Range:
5–120. Optional.Idle threshold to use before the agent has said its initial message (handles cases where the line opens but the caller doesn’t speak). Range:
1–60. Optional.Maximum number of initial idle prompts before terminating. Range:
0–10. Optional.Sampling temperature for the language model. Range:
0–2. Lower values make responses more deterministic.Whether to record calls handled by this agent.
Call direction. Options:
inbound, outbound.Who speaks first. Options:
agent, user.Array of phone number UUIDs to assign to this agent at creation. Use List Phone Numbers to retrieve available IDs. Can also be set later via Update Agent Calling.