Skip to main content
Quill Docs
GitHub

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

PlanRequests/minBurst
Free6010
Pro600100
Enterprise60001000

Note: Exceeding rate limits returns a 429 Too Many Requests response. Implement exponential backoff for retries.

Security Best Practices

  1. Never expose API keys in client-side code — use environment variables
  2. Rotate keys regularly — set up automatic rotation in your dashboard
  3. Use least-privilege tokens — grant only the permissions needed
  4. Monitor usage — check the dashboard for anomalous patterns