agent_name, voice, and business_description are required. When instructions are omitted or empty, they are generated from the submitted details; agent_role, business_type, and business_name are then required, with the matching custom field when a role or business type is other.
greeting is optional. When omitted, AVANSER stores friendly, which is returned in the created agent.
agent_name, voice, and business_description are required. When instructions are omitted or empty, agent_role, business_type, and business_name are required; an other role or business type then requires its matching custom field. Greeting is optional and defaults to friendly when omitted.
Friendly agent name; required on create and must remain populated on update.
Voice key returned by List Agent Options; required on create and validated against current options after merging an update with stored details.
Role key returned by List Agent Options. Required when instructions are generated.
Required for instruction generation when agent_role is other, and on update when the resulting role is other.
Business type key returned by List Agent Options. Required when instructions are generated.
Required for instruction generation when business_type is other, and on update when the resulting business type is other.
Business name used by the agent. Required when instructions are generated.
Short business description; required on create and preview, and cannot be cleared on update.
Business contact email; must be a valid email address when provided.
Greeting style key returned by List Agent Options; defaults to friendly when omitted on create, and null clears it on update.
- Avanser Productionhttps://tapi.avanser.com/v1/aiagents
- AVANSER Mock Serverhttps://avanser.redocly.app/_mock/telco-api/references/aiagents
curl -i -X POST \
-u '<username>:<password>' \
https://tapi.avanser.com/v1/aiagents \
-H 'Content-Type: application/json' \
-d '{
"agent_name": "Reception AI",
"voice": "alloy",
"agent_role": "receptionist",
"business_type": "realestate",
"business_name": "Example Realty",
"business_description": "Real estate agency based in Sydney",
"contact_email": "reception@example.tld"
}'{ "@transaction": { "id": "c9220015e2f48bc7cf4b38186a7b2025", "account-id": "1234", "request": { … } }, "response": { "message": "Success", "code": 200, "agent": { … } } }