Generate instructions without creating an agent. agent_name, agent_role, business_type, business_name, and business_description are required, with the matching custom field when a role or business type is other. greeting is optional; voice and instructions are ignored.
Details used to generate an instruction preview. agent_name, agent_role, business_type, business_name, and business_description are required; greeting is optional, while voice and instructions are ignored.
Friendly agent name; required for an instruction preview.
Role key returned by List Agent Options. Required when instructions are generated.
Business type key returned by List Agent Options. Required when instructions are generated.
Required when business_type is other.
Business name used by the agent. Required when instructions are generated.
Short business description; required for an instruction preview.
Business contact email; must be a valid email address when provided.
- Avanser Productionhttps://tapi.avanser.com/v1/aiagents/preview-instruction
- AVANSER Mock Serverhttps://avanser.redocly.app/_mock/telco-api/references/aiagents/preview-instruction
curl -i -X POST \
-u '<username>:<password>' \
https://tapi.avanser.com/v1/aiagents/preview-instruction \
-H 'Content-Type: application/json' \
-d '{
"agent_name": "Reception AI",
"agent_role": "receptionist",
"business_type": "realestate",
"business_name": "Example Realty",
"business_description": "Real estate agency based in Sydney",
"contact_email": "reception@example.tld",
"greeting": "warm"
}'{ "@transaction": { "id": "c9220015e2f48bc7cf4b38186a7b2025", "account-id": "1234", "request": { … } }, "response": { "message": "Success", "code": 200, "instructions": "### Role and Responsibilities\n- Answer callers as a reception assistant.\n- Help with appointments and general questions." } }