Create a phone agent
Every field is optional. Anything omitted is given a working default, so a near-empty body still returns 201 with a usable agent - the response then carries defaults_applied, listing which fields were filled in for you. Check it before assuming the agent is configured as asked.
Request
- Base URL: https://www.callagent.pro
- URL: https://www.callagent.pro/api/v1/agents
- Auth: HTTP bearer
Request body
Let the agent look the caller up and greet them with what it finds
Account member who owns this agent
True when the key's user owns it; false for an agent shared by a colleague
Display name of knowledge_base_id
Avatar shape for the dashboard tile
SECONDS, not minutes; 60-7200
seconds
seconds
Let the model write [emotion] tags; engines that do not read them strip them
Post-call webhook THIS account calls after every completed call — see the WebhookPayload schema for exactly what's POSTed to it. Not an endpoint served here.
NOT an OpenAI function-calling / JSON schema list — a comma-separated string of built-in capability names this agent may use, e.g. "cal,email,notes" or "secretary". Recognised names: cal (check_availability, book_appointment), sms (send_sms), email (send_email), notes (save_note, recall_notes, recall_conversation), secretary (a bundle: contacts, calendar, scheduled calls, do-not-call, notes, email, and general lookups — everything a phone secretary needs). Omit or leave empty for a plain conversational agent with no tool access.
Response
Created. Returns 200, not 201 — verified against the live endpoint.
Let the agent look the caller up and greet them with what it finds
Account member who owns this agent
True when the key's user owns it; false for an agent shared by a colleague
Display name of knowledge_base_id
Avatar shape for the dashboard tile
SECONDS, not minutes; 60-7200
seconds
seconds
Let the model write [emotion] tags; engines that do not read them strip them
Post-call webhook THIS account calls after every completed call — see the WebhookPayload schema for exactly what's POSTed to it. Not an endpoint served here.
NOT an OpenAI function-calling / JSON schema list — a comma-separated string of built-in capability names this agent may use, e.g. "cal,email,notes" or "secretary". Recognised names: cal (check_availability, book_appointment), sms (send_sms), email (send_email), notes (save_note, recall_notes, recall_conversation), secretary (a bundle: contacts, calendar, scheduled calls, do-not-call, notes, email, and general lookups — everything a phone secretary needs). Omit or leave empty for a plain conversational agent with no tool access.
Changes
No recorded changes to this operation across all 1 revision of this API.