API Keys
Every request to the Quill API must include a valid API key. You can generate keys from your dashboard.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.quill.dev/v2/resources
Token Authentication
For user-scoped operations, use JWT tokens:
const token = await app.auth.createToken({
userId: 'user_123',
permissions: ['read', 'write'],
expiresIn: '24h',
});
Rate Limiting
| Plan | Requests/min | Burst |
|---|---|---|
| Free | 60 | 10 |
| Pro | 600 | 100 |
| Enterprise | 6000 | 1000 |
Note: Exceeding rate limits returns a
429 Too Many Requestsresponse. Implement exponential backoff for retries.
Security Best Practices
- Never expose API keys in client-side code — use environment variables
- Rotate keys regularly — set up automatic rotation in your dashboard
- Use least-privilege tokens — grant only the permissions needed
- Monitor usage — check the dashboard for anomalous patterns