Complete developer documentation for OVAI Chatbot API. Build custom integrations and applications.
All API requests require authentication using API keys. Include your API key in the Authorization header.
Generate a new API key for your application
https://api.ovai.in/v1/auth/api-key
Send a message to the chatbot and get response
https://api.ovai.in/v1/chatbot/messages
| Parameter | Type | Required | Description |
|---|---|---|---|
| session_id | string | Yes | Unique session identifier |
| message | string | Yes | The message text |
| language | string | No | Language code (default: en) |
| context | object | No | Additional context data |
Retrieve chat history for a session
https://api.ovai.in/v1/chatbot/sessions/{session_id}/messages
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Number of messages to return (default: 50) |
| offset | integer | No | Pagination offset |
| start_date | string | No | Start date filter (ISO format) |
Try sending a test message to the chatbot API
| Code | Message | Description |
|---|---|---|
| 400 | Bad Request | Invalid request parameters |
| 401 | Unauthorized | Invalid or missing API key |
| 403 | Forbidden | Insufficient permissions |
| 404 | Not Found | Resource not found |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Server error |