Skip to main content
Get your API key from cerevox.ai/lexa - it’s free to start.

All Authentication Methods

Test Your Authentication

Copy and run this to verify your setup works:

Direct API Usage

Using the REST API directly? Include your API key in the Authorization header:

Common Issues & Solutions

Error: Authentication failed or Invalid API keyQuick fixes:
Error: No API key providedQuick fixes:
Error: Connection timeout or network errorsQuick fixes:
Error: Insufficient permissions or Access deniedQuick fixes:
  • Check your account status at cerevox.ai/lexa
  • Verify your plan includes the features you’re using
  • Check if you’ve hit rate limits (wait a minute and retry)
  • Contact support@cerevox.ai if issues persist

Security Best Practices

Use Environment Variables

Keep API keys out of your code with environment variables

Rotate Keys Regularly

Generate new keys every 90 days for enhanced security

Monitor Usage

Watch for unusual API usage patterns in your dashboard

Least Privilege

Use API keys with only the permissions you need

Production Setup Examples


Ready to parse? Head to the quickstart guide to make your first API call, or check out code examples.