BYOK Keys
Set BYOK Key
Add or update a BYOK provider API key
POST
Set BYOK Key
Store an encrypted API key for a provider. When set, the platform uses your key for all requests to that provider (zero token cost from us).Request
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | Provider ID (e.g., openai, anthropic, groq) |
api_key | string | Yes | Your API key for the provider |
Response
Billing Impact
When you add a BYOK key for a provider:- Token cost from us: ₹0 — you pay the provider directly
- Platform fee still applies: ₹1.50/min voice, ₹0.50/msg chat
- GST: Already collected at wallet topup (not charged again)
Security
- Keys are encrypted at rest using Fernet symmetric encryption
- Keys are decrypted only at call time and never logged
- Only masked keys are returned via API (last 4 characters)

