Skip to main content

Base URL

Authentication

ORCA uses two authentication methods depending on the context:
Dashboard and frontend requests use JWT bearer tokens:
Get a token by logging in:
Response:
If 2FA is enabled, the login response includes requires_2fa: true and a temp_token. Complete authentication with:

Response format

All endpoints return a consistent envelope:
On error:

Error codes

Rate limits

Every response includes rate limit headers:
When rate-limited, you’ll receive a 429 response. Wait and retry with exponential backoff.

Pagination

List endpoints support pagination via query parameters:

Organisation scoping

All data is scoped to your organisation. The org_id is derived from your JWT token — you cannot access resources belonging to other organisations. This is enforced at the database query level on every endpoint.

WebSocket

Real-time job progress is available via WebSocket:
Requires JWT authentication. Messages include processing stage, percentage, and per-file status updates. Falls back to HTTP polling if WebSocket is unavailable.