Base URL
Authentication
ORCA uses two authentication methods depending on the context:- JWT tokens (dashboard)
- API keys (integrations)
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: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. Theorg_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.