Base URL
All API requests should be made to:Authentication
The AuthentiVoice API uses two forms of authentication:1. API Key Authentication
Include your API key in thex-api-key header:
2. JWT Bearer Token
For user-specific operations, include the Supabase JWT token:Headers
Required Headers
Your AuthentiVoice API key for authentication
Optional Headers
Bearer token for user authentication (required for user-specific operations)
Organization ID to scope requests (if not provided, uses user’s default org)
Request Format
JSON Requests
For POST, PUT, and PATCH requests with JSON payloads:Multipart Form Data
For file uploads:Response Format
All responses are returned in JSON format:Success Response
Error Response
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Request completed successfully |
| 201 | Created - Resource created successfully |
| 204 | No Content - Request successful, no content to return |
| 400 | Bad Request - Invalid request parameters |
| 401 | Unauthorized - Invalid or missing authentication |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource not found |
| 413 | Payload Too Large - File size exceeds limit |
| 422 | Unprocessable Entity - Validation error |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error - Server error |
Rate Limiting
API requests are rate limited to ensure service stability:- Default limit: 100 requests per minute
- File upload limit: 10 uploads per minute
- Bulk operations: 5 requests per minute
Pagination
List endpoints support pagination usinglimit and offset parameters:
Filtering and Sorting
Filtering
Use query parameters to filter results:Sorting
Use thesort parameter with field name and direction:
Webhooks
Configure webhooks to receive real-time notifications:API Versioning
The API version is included in the URL path:- Current version:
v1 - Base path:
/api/v1/
SDK Support
Official SDKs are available for:JavaScript/TypeScript
Python
SDK Example
Testing
Use the sandbox environment for testing:- Base URL:
https://sandbox.api.authentivoice.com - Test API Key:
test_key_xxxxxxxxxx
- Files are deleted after 24 hours
- Maximum 10 concurrent analyses
- Limited to 1000 API calls per day
Support
For API support:- Email: api-support@authentivoice.com
- Documentation: https://docs.authentivoice.com
- Status page: https://status.authentivoice.com