agents
Create Agent
Changed onCreate a new agent.
An agent represents an AI persona (Support Bot, Sales Agent, etc.) that can have phone numbers attached to it.
voiceMode: "webhook" (default) forwards transcripts to your webhook. "hosted" uses a built-in LLM with systemPrompt (no webhook needed).
post/v1/agents
Request
- Base URLhttps://api.agentphone.ai
- URLhttps://api.agentphone.ai/v1/agents
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
- warning
added the new
liveenum value to theresponse property for the response status - info
added the new optional request property
- info
added the new
liveenum value to the request property - info
added the optional property
to the response with the status
- warning
- warning
added the new
realtimeenum value to theresponse property for the response status - info
added the new
realtimeenum value to the request property
- warning