Skip to main content

API Keys

All API requests require an API key. Generate keys in your dashboard:
  1. Go to app.okrapdf.com/settings
  2. Click Create API Key
  3. Copy the key (starts with okra_)
API keys grant full access to your account. Never expose them in client-side code or public repositories.

Passing your key

Use one of these two methods:

Security best practices

  • Store keys in environment variables, not in code
  • Use different keys for development and production
  • Rotate keys periodically
  • Revoke keys immediately if compromised
For route-level access boundaries, see Security Model.

Error responses

Invalid or missing API keys return a 401 status: