Learn how to authenticate your requests with the VerbalisAI API
VerbalisAI API uses API key authentication for secure access to all endpoints.
Secure authentication for all API requests
Social login integration for user authentication
API keys are perfect for server-to-server communication where you need to authenticate as your application rather than a specific user.
Access Dashboard
Log in to your VerbalisAI Dashboard
Navigate to API Keys
Go to Settings → API Keys
Create New Key
Click “Create API Key” and provide a descriptive name
Copy and Store
Copy the generated key and store it securely
Include your API key in the Authorization
header:
Never expose API keys in client-side code. Always use environment variables or secure configuration management.
VerbalisAI supports Google OAuth for social login integration.
Initiate OAuth
Redirect users to the Google OAuth endpoint
User Authorization
User grants permission through Google’s interface
Callback Handling
Handle the callback to complete authentication
Token Exchange
Exchange the authorization code for access tokens
Common authentication errors and how to handle them:
401 Unauthorized
403 Forbidden
Solution: Ensure your API key has the necessary permissions.
429 Rate Limited
Solution: Implement exponential backoff and respect rate limits.