Skip to main content

API Keys

Vox uses API keys to authenticate requests. You must include your key in the header of every API request to verify your identity and track usage against your quota. Each API key allows us to enforce:
  • Rate Limits: Controls the number of requests allowed within a specific timeframe.
  • Credit Quota: Defines the maximum usage credits available for your account.
Keep your key safe! Your API key is confidential. Never share it with others or expose it in client-side code (browsers, mobile apps) or public repositories like GitHub.

Making Requests

All API requests require your key in the Authorization header using the Bearer YOUR_API_KEY_HERE format:
Authorization: Bearer YOUR_API_KEY_HERE

Example Request

You can test your authentication setup by fetching the list of available voices. Replace YOUR_API_KEY_HERE with the key found in your dashboard.
cURL
curl "https://api.tts.timepay.ai/api/v1/get_voices" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY_HERE"

Need Help?

If you have any questions or need assistance, please contact our support team at support@timepay.ai.