Authentication
The Transcript LOL API uses API keys to authenticate requests. You can manage your API keys from your dashboard.
Getting Your API Key
- Sign up for a free account at Transcript LOL
- Navigate to the Integrations page
- Create a new API key
Using Your API Key
Include your API key in the x-api-key header with every request:
curl "https://transcript.lol/api/v1/me" \
-H "x-api-key: YOUR_API_KEY"
Security Best Practices
- Keep your API key secret - Never expose your API key in client-side code or public repositories
- Use environment variables - Store your API key in environment variables rather than hardcoding it
- Rotate keys regularly - Create new API keys periodically and revoke old ones
- Use separate keys - Use different API keys for development and production environments
Rate Limiting
API requests are rate limited to ensure fair usage. If you exceed the rate limit, you will receive a 429 Too Many Requests response. Wait a few seconds before retrying.
Verifying Your API Key
You can verify your API key is working by making a request to the Get User endpoint:
curl "https://transcript.lol/api/v1/me" \
-H "x-api-key: YOUR_API_KEY"
# Expected response:
{
"id": "user_123",
"email": "[email protected]",
...
}