Permission scopes

pms:read to look, pms:write to change. What each opens, and what no key can do.

The two scopes

ScopeOpens
pms:readEvery GET under /public/v1 except /status (116 routes): calendar, availability, prices, bookings, guests, messages, platforms, the website, reports.
pms:writeEvery write (148 routes). Not granted by default. Writes still follow the workspace's approval setting.

Which scope a route needs

Every route in the endpoint reference and in /openapi.json names its scope. Without it the answer is a 403 that names what is missing:

The refusal

403 Forbidden
{
  "code": "SCOPE_REQUIRED",
  "scope": "pms:write",
  "msg": "This API key is missing the required permission: pms:write",
  "required": [
    "pms:write"
  ],
  "granted": [
    "pms:read"
  ],
  "role": "MEMBER"
}

Roles still apply

A scope is the most a key may do; the owner's role in the workspace can narrow it. A person who may not change prices in the app cannot do it with a key either. The most common cause of a surprising 403 is a role that changed, which is why the body names the role.

Something missing from this page? Write to [email protected], or use the form on the Help page.