---
title: "Permission scopes | Hostemi"
description: "pms:read to look, pms:write to change. What each opens, and what no key can do. Step-by-step help from the Hostemi docs for vacation rental hosts."
canonical: https://hostemi.com/docs/api/scopes
source: https://hostemi.com/docs/api/scopes.md
---

# Permission scopes

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

#### On this page

1. [The two scopes](#the-two-scopes)
2. [Which scope a route needs](#which-scope-a-route-needs)
3. [The refusal](#the-refusal)
4. [Roles still apply](#roles-still-apply)

## The two scopes

| Scope | Opens |
| --- | --- |
| `pms:read` | Every GET under /public/v1 except /status (116 routes): calendar, availability, prices, bookings, guests, messages, platforms, the website, reports. |
| `pms:write` | Every 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](https://hostemi.com/api) and in `/openapi.json` names its scope. Without it the answer is a 403 that names what is missing:

## The refusal

403 Forbidden

```json
{
  "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.

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
