Parameters
| Name | Type | Required | Description |
| agent_id | string | required | Your agent identifier |
| message | string | required | User message text |
| conversation_id | string | optional | Continue existing conversation |
| language | string | optional | en, fr, de, es, it (default: en) |
| metadata | object | optional | Custom metadata (user info, page URL...) |
Request
curl -X POST https://api.aevon.agency/v1/chat/message \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "agent_abc123",
"message": "How do I reset my password?",
"conversation_id": "conv_xyz789",
"language": "en"
}'
Response
{
"reply": "To reset your password, go to Settings > Security...",
"conversation_id": "conv_xyz789",
"confidence": 0.94,
"sources": ["faq-passwords", "help-security"],
"escalation_needed": false
}