Back to Documentation

API Authentication

Secure your API requests with proper authentication

API Keys

All API requests require authentication using an API key. API keys identify your application and authenticate requests to the ServiceCrew AI API.

Generating API Keys

1

Go to Settings → API

2

Click "Generate New Key"

3

Name your key (e.g., "Production App")

4

Copy and securely store the key

Using Your API Key

Include the key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Security Best Practices

🔒

Never expose in client-side code

Keep keys server-side only

📁

Use environment variables

Store in .env files

🔄

Rotate keys periodically

Change keys regularly

🔑

Separate dev/prod keys

Different keys per environment

Rate Limits

100 Requests Per Minute

API requests are limited to 100 requests per minute per key. Contact support for higher limits if needed.

Security Note

If you believe your API key has been compromised, immediately revoke it in Settings → API and generate a new one. All requests with the old key will be rejected.