Authentication
The API uses OAuth 2.0 client credentials. Exchange the app’s client ID and secret at POST /oauth/token, with HTTP Basic or as client_id and client_secret in the body, and send the token on every call as Authorization: Bearer <token>.
- Tokens last one hour. Ask for a new one when a call answers
401 invalid_token. - razza stores secrets and tokens only as hashes. Rotating an app’s secret in the portal ends its tokens at once, and revoking the app ends everything.
- Every call acts for the one business the app belongs to. Ids from another business answer
404. - The business must be on the Qimma plan with no unpaid razza invoice. Otherwise calls answer
403 plan_requiredor403 subscription_locked.