Skip to main content

Environments

Roja runs two hosted environments. Both speak the same API version and are documented by the same API reference.

SurfaceProductionStaging / DevelopmentPurpose
REST APIhttps://api.getroja.comhttps://api.roja.devCore backend API (/v1/...).
Developer Docshttps://docs.getroja.comhttps://docs.roja.devPlatform documentation and API reference.
Customer Webhttps://app.getroja.comhttps://web.roja.devCustomer-facing web application.
Staff Dashboardhttps://staff.getroja.comhttps://staff.roja.devOperations and underwriting dashboard.
Storybook (Web)None (dev only)https://storybook.roja.devWeb/Staff UI component preview.
Storybook (Mobile)None (dev only)https://storybook-mobile.roja.devReact Native UI component preview.

Staging and production are fully separate: accounts, tokens, tickets and loans never cross between them. A staging access token is rejected by production and vice versa.

Versioning

All routes are prefixed with /v1:

https://api.getroja.com/v1/tickets

Backwards-incompatible changes ship as a new version prefix. Additive changes — new endpoints, new optional fields, new enum values — can appear within /v1 at any time, so build clients that ignore fields they don't recognize.

Checking connectivity

GET /v1/meta/version is a public endpoint (no authentication) that returns the running API version — useful as a smoke test for your network setup:

curl https://api.getroja.com/v1/meta/version