API keys
All Deepdub API requests require authentication via an API key passed in thex-api-key header.
Key format
API keys follow the formatdd-{random_characters}{checksum}, where:
- The key always starts with the
dd-prefix - The last 8 characters are a checksum for validation
Obtaining an API key
Contact [email protected] or visit your Deepdub dashboard to generate an API key.Security best practices
- Store API keys in a secrets manager (e.g., AWS Secrets Manager, HashiCorp Vault, GCP Secret Manager)
- Rotate keys periodically
- Use different keys for development and production environments
Rate limits
API requests are subject to rate limiting based on your subscription plan:
Rate limit errors return a
429 status code or a WebSocket error with errorType: "RateLimit".
Credits
TTS generation consumes credits based on the duration of generated audio. If your account runs out of credits, requests will return anInsufficientCredits error.
Check your credit balance in the Deepdub dashboard, or contact support to upgrade your plan.
