Welcome to the Vodex.ai API documentation. This comprehensive API reference provides programmatic access to Vodex.aiโ€™s AI-powered voice calling capabilities, allowing you to integrate intelligent voice automation into your applications and workflows.
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://api.vodex.ai
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

API Key AuthenticationInclude your API key in the Authorization header of all requests:
Authorization: YOUR_API_KEY
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

curl -X GET "https://api.vodex.ai/v1/projects" \
  -H "Authorization: YOUR_API_KEY" \
  -H "dburl: YOUR_ACCOUNT_URL" \
  -H "Content-Type: application/json"

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


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

curl -X POST "https://api.vodex.ai/v1/call-trigger/run-campaign" \
  -H "Authorization: YOUR_API_KEY" \
  -H "dburl: YOUR_ACCOUNT_URL" \
  -H "Content-Type: application/json" \
  -d '{
    "campaignId": "your_campaign_id",
    "audienceId": "your_audience_id"
  }'

Response Format

All API responses follow a consistent JSON format:

Success Response

{
  "success": true,
  "data": {
    // Response data here
  },
  "message": "Operation completed successfully"
}

Error Response

{
  "success": false,
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error description"
  }
}

HTTP Status Codes

Status CodeMeaningDescription
200OKRequest successful
201CreatedResource created successfully
400Bad RequestInvalid request parameters
401UnauthorizedInvalid or missing API key
403ForbiddenInsufficient permissions
404Not FoundResource not found
429Too Many RequestsRate limit exceeded
500Internal Server ErrorServer 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:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640995200

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:
{
  "webhookUrl": "https://your-domain.com/webhook",
  "events": ["call_completed", "campaign_finished"]
}

Batch Operations

For high-volume operations, use batch endpoints when available:
{
  "batch": true,
  "items": [
    {"phone": "+1234567890", "name": "John Doe"},
    {"phone": "+1234567891", "name": "Jane Smith"}
  ]
}

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.
HTTP Clients
  • fetch (built-in)
  • axios
  • node-fetch

Next Steps

Now that you understand the basics:
  1. Request your API key from support@vodex.ai
  2. Test authentication with a simple API call
  3. Explore the Call Trigger API to start making calls
  4. Review other endpoints for complete integration
  5. 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