Authentication
Last updated
Was this helpful?
Last updated
Was this helpful?
Our API requires authentication for all requests. We use API keys to authenticate requests and determine permission levels. Your API key carries many privileges, so be sure to keep it secure. Do not share your API key in publicly accessible areas such as GitHub, client-side code, or in your application's source code.
To get an API key:
Sign in to your account dashboard at
Navigate to the "API Keys" section or settings
Click the API key to copy
Store your API key securely. For security reasons, we only show your key once at creation time.
You can authenticate with your API key in two ways:
Add the apikey
parameter to your request URL:
Send your API key in an HTTP header:
We strongly recommend using the header method whenever possible, as this prevents your API key from being logged in server access logs.
Using header (recommended):
Using query parameter:
When using gRPC, include your API key as metadata:
When establishing a WebSocket connection, include your API key in the connection URL or in the WebSocket headers:
Using query parameter:
Using header (recommended):
Keep your API key private - Never expose your API key in public repositories or client-side code
Use environment variables - Store your API key in environment variables rather than hardcoding
Rotate keys regularly - Generate new API keys periodically and deprecate old ones
Use specific permissions - Create keys with the minimum necessary permissions
Monitor usage - Regularly review API usage logs for suspicious activity
Authentication also enables us to associate requests with your account for rate limiting purposes. Each API key has limits based on your subscription tier. Check your dashboard for your current rate limits and usage statistics.