Create an agent
Build a fully configured agent in one request.
The smallest useful request
Everything you leave out takes the platform default: English (India), a Vocily AI voice, Sarvam-105B, Soniox speech recognition, the system messages, and the Default Analysis group.Configuring the greeting
The same greeting controls apply to phone calls, browser Talk Test, and widget voice.system_prompt and send:
greeting.language field.
See Greeting Message
for the dashboard controls.
Writing the prompt
system_prompt is one field in the API and one System Prompt editor in the dashboard. Write
the agent’s role, response style, and call flow there. Headings can make it easier to read, but
they are optional and do not create separate fields.
Four kinds of token do work inside it:
Picking values you cannot guess
Channel instructions
system_prompt is the shared prompt. channel_prompts holds optional additions for
phone_inbound, phone_outbound, web_voice, web_chat, and whatsapp.
Only the matching addition is appended during a conversation. Each addition allows up to 65,536 characters.
Authorizations
Body
Create an agent, fully configured, in one request.
name is the only required field — everything else takes the platform default, so the
smallest useful body is a name, a prompt and a greeting. The agent is created as an
unpublished draft (V0): it answers nothing until you publish a version and make it
live, which stays two explicit calls.
Response
The created agent, at its V0 draft. It answers no calls until a version is published and made live.
One agent at one version — the response of every agent read, create and update.
A request body is this same object minus the read-only fields, so what you send is what you read back.