What youโll learn: How to authenticate with the Vodex.ai API, make your first API calls, and integrate voice calling capabilities into your applications.
Base URL
All API requests should be made to the following base URL:HTTPS Required: All API requests must use HTTPS. HTTP requests will be rejected for security reasons.
Authentication
The Vodex.ai API uses API key authentication. Youโll need two pieces of information to authenticate your requests:Required Headers
- Database URL Header
API Key AuthenticationInclude your API key in the
Authorization
header of all requests:Keep Your API Key Secure: Never expose your API key in client-side code or public repositories. Store it securely and use environment variables.
Complete Authentication Example
Getting Your API Key
To access the Vodex.ai API, youโll need to request API credentials:Request API Access: Send an email to support@vodex.ai with the subject โRequest API Keyโ. Include your company name, use case, expected API usage volume, and technical contact information.
1
Send Request Email
Email Support
- Use the exact subject line: โRequest API Keyโ
- Provide detailed information about your use case
- Include your technical requirements
2
Receive Credentials
Get Your API Access
- Support team will review your request
- Youโll receive your API key and account URL
- Documentation and usage guidelines will be provided
3
Test Integration
Verify Setup
- Test authentication with a simple API call
- Verify your headers are correctly configured
- Start with basic endpoints before complex integrations
API Structure
The Vodex.ai API is organized around REST principles and uses standard HTTP response codes. The API accepts and returns JSON-encoded data.Core Resources
Projects
Projects
Campaign Management
- Create and manage different bot projects
- Configure project-specific settings
- Organize campaigns by use case or client
GET /v1/projects
- List all projectsPOST /v1/projects
- Create new projectDELETE /v1/projects/{id}
- Delete project
Audience
Audience
Contact Management
- Upload and manage target audience data
- Segment contacts for different campaigns
- Update contact information and custom fields
POST /v1/audience
- Create audience listGET /v1/audience
- Retrieve audience dataPUT /v1/audience/{id}
- Update audience list
Campaigns
Campaigns
Campaign Operations
- Create and configure calling campaigns
- Monitor campaign performance
- Manage campaign lifecycle
POST /v1/campaign
- Create campaignGET /v1/campaign
- List campaignsDELETE /v1/campaign/{id}
- Delete campaign
Agent Settings
Agent Settings
AI Configuration
- Configure AI agent behavior and responses
- Set up prompts and conversation flows
- Manage agent personalities and voices
POST /v1/agent-setting
- Create agent configurationGET /v1/agent-setting
- Retrieve agent settingsPUT /v1/agent-setting/{id}
- Update agent settings
Call Triggers
Call Triggers
Call Execution
- Initiate automated calls programmatically
- Trigger individual or batch calls
- Monitor call status and outcomes
POST /v1/call-trigger/run-campaign
- Start campaign calls
Quick Start: Trigger Your First Call
Get started quickly with the most commonly used endpoint - triggering calls:๐ Call Trigger API
Start Making Calls ImmediatelyUse the Call Trigger API to programmatically initiate AI-powered calls for your campaigns.Quick Access:
/v1/call-trigger/run-campaign
Basic Call Trigger Example
Response Format
All API responses follow a consistent JSON format:Success Response
Error Response
HTTP Status Codes
Status Code | Meaning | Description |
---|---|---|
200 | OK | Request successful |
201 | Created | Resource created successfully |
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 occurred |
Rate Limits
The Vodex.ai API implements rate limiting to ensure fair usage and system stability:Rate Limits Apply: API requests are limited based on your account tier. Contact support if you need higher limits for your use case.
Rate Limit Headers
All API responses include rate limit information in the headers:Best Practices
Optimize Your Requests: Batch operations when possible and implement exponential backoff for retry logic to handle rate limits gracefully.
Common Integration Patterns
Webhook Integration
Many Vodex.ai API operations support webhooks for real-time notifications:Batch Operations
For high-volume operations, use batch endpoints when available:SDK and Libraries
While we donโt currently provide official SDKs, the API is designed to work seamlessly with standard HTTP libraries in any programming language.Recommended Libraries
- JavaScript/Node.js
- Python
- PHP
- Java
HTTP Clients
fetch
(built-in)axios
node-fetch
Next Steps
Now that you understand the basics:- Request your API key from support@vodex.ai
- Test authentication with a simple API call
- Explore the Call Trigger API to start making calls
- Review other endpoints for complete integration
- Set up webhooks for real-time notifications
Ready to integrate? The Vodex.ai API provides powerful programmatic access to AI-powered voice calling capabilities. Start with the Call Trigger API and expand your integration as needed.
Support and Resources
Getting Help
- Email Support: support@vodex.ai
- API Questions: Include โAPI Supportโ in your subject line
- Response Time: Within 24 hours during business days
Additional Resources
๐ Call Trigger API
Start making AI-powered calls programmatically with the most popular endpoint.
๐ Dashboard API
Access campaign analytics and performance data via API.
๐ฅ Audience Management
Programmatically manage your contact lists and audience data.
๐ค Agent Configuration
Configure AI agents and conversation flows via API.