Documentation Index
Fetch the complete documentation index at: https://docs.vocobase.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All Vocobase API requests are authenticated using API keys passed as Bearer tokens.Base URL
All API requests use the following base URL:API key format
Vocobase API keys use the prefixrg_live_ followed by a random string:
Including your API key
Pass your API key in theAuthorization header as a Bearer token:
Do not include your API key in query parameters or request bodies. Only the
Authorization header is supported.Rate limits
The API enforces rate limits per API key:| Endpoint category | Limit | Window |
|---|---|---|
| General endpoints | 60 requests | Per minute |
Call endpoints (/calls/*) | 10 requests | Per minute |
429 Too Many Requests response. Back off and retry after the window resets.
Concurrency limits
Outbound calls have a concurrency limit of 5 simultaneous active calls per partner. If you attempt to start a call while at the limit, you will receive a429 response.
Error responses
All error responses follow this format:Authentication error codes
| HTTP Status | Code | Description |
|---|---|---|
401 | UNAUTHORIZED | Missing or invalid API key. Verify your Authorization header contains a valid rg_live_ key. |
403 | FORBIDDEN | Your API key is valid but you do not have permission for this action. Common causes: insufficient balance (₹), suspended account, or partner not yet approved. |
Other common error codes
| HTTP Status | Code | Description |
|---|---|---|
400 | VALIDATION_ERROR | Request body is missing required fields or contains invalid values. Check the message field for details. |
404 | NOT_FOUND | The requested resource does not exist or does not belong to your account. |
409 | CONFLICT | A resource with the same unique identifier already exists (e.g., duplicate agent name). |
429 | LIMIT_REACHED | Rate limit or concurrency limit exceeded. |
500 | INTERNAL_ERROR | An unexpected server error occurred. Retry the request. If the issue persists, contact support. |
502 | INTERNAL_ERROR | A downstream service (e.g., telephony provider) failed. Retry the request. |
Security best practices
- Never expose API keys in client-side code. Always call the Vocobase API from your backend server.
- Rotate keys periodically. Delete old keys and create new ones from the dashboard.
- Use separate keys for development and production environments.
- Monitor usage via the dashboard to detect unauthorized access.