Authentication
All API requests require authentication using an API key sent as a bearer token.
Bearer Token Authentication
Include your API key in the Authorization header of every request:
Authorization: Bearer tv_live_your_api_key_hereGetting your API Key
- Sign up for a Pro or Business plan
- Go to Settings
- Create a new API key with a descriptive name
- Copy and securely store your key (it won't be shown again)
Key Prefixes
TenantVerify API keys use prefixes to help you identify the key type:
| Prefix | Environment |
|---|---|
| tv_live_ | Production — real verifications, real charges |
| tv_test_ | Sandbox — test verifications, no charges (see Sandbox Mode) |
Security Best Practices
- Never expose API keys in client-side code
- Use environment variables to store keys
- Rotate keys periodically and after any suspected compromise
- Use separate keys for development and production
- Use test keys (
tv_test_) for development