OrbConvert supports two authentication methods: API keys and JWT bearer tokens.
API keys are the recommended way to authenticate programmatic requests. API key limits depend on your plan:
All conversions started through the API share the canonical plan quota (e.g. Free: 100 MB max file, 1 GB / day processing data; Pro: 2 GB max file, 3 GB / day) and queue concurrency controls.
Pass your API key in the x-api-key header:
curl -X POST https://api.orbconvert.com/api/conversions \
-H "x-api-key: ch_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fileId": "file_abc123", "toFormat": "docx"}'Or pass it as a Bearer token in the Authorization header:
curl -X POST https://api.orbconvert.com/api/conversions \
-H "Authorization: Bearer ch_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fileId": "file_abc123", "toFormat": "docx"}'JWT tokens are used for browser-based authentication. When you log in via the web app, you receive a JWT that expires after 7 days (the default system session lifetime).
curl -X POST https://api.orbconvert.com/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "your_password"}'The response includes a token field. Use this in subsequent requests:
curl -X GET https://api.orbconvert.com/api/users/me \ -H "Authorization: Bearer YOUR_JWT_TOKEN"
OrbConvert supports sign-in via Google and GitHub. When using OAuth:
Unauthenticated users can convert files with limited quota. The API identifies guests by IP address and an optional x-guest-fingerprint header.
| Code | Meaning |
|---|---|
| 401 | Missing or invalid API key / JWT token |
| 403 | Account suspended or quota exceeded |
| 429 | Rate limit exceeded |
Was this page helpful?