Kiosa API kiosa.ai

Scopes

Which permissions a token can have and what they allow.

A token only carries the scopes the restaurateur agreed to at consent.

ScopeMeaning
account:readRead the business, locations and your own connection (GET /v1/me, GET /v1/locations)
integrations:readRead the status of integrations
integrations:writeHand over a provider's credentials, map branches, disconnect

Rules#

  • Names follow the pattern resource:read and resource:write. write includes read.
  • Only a client that Kiosa has listed and activated as a partner gets any scope. A client that is not listed gets no scope at all, not even a read scope.
  • integrations:write only covers the providers in the partner's approval.
  • Later data scopes, such as revenue:read, follow the same pattern. Each of them needs its own consent from the restaurateur.
  • If a scope is missing, Kiosa answers 403 with the code insufficient_scope.

Which endpoint needs which scope#

Method and pathScope
GET /v1/meaccount:read
GET /v1/locationsaccount:read
GET /v1/integrationsintegrations:read
GET /v1/integrations/ordiointegrations:read
GET /v1/integrations/ordio/branchesintegrations:read
PUT /v1/integrations/ordiointegrations:write
PUT /v1/integrations/ordio/branch-mappingsintegrations:write
DELETE /v1/integrations/ordiointegrations:write