Scopes and permissions
Choose a client access type when you register an app to call the Apaleo APIs. The registration fixes that choice when you create the client.
Two ways to get access
| Scope client | Fine-grained client (recommended) | |
|---|---|---|
| How access is defined | API scopes included in the OAuth token | Specific permissions configured per API |
| Supported app types | User apps and simple clients | User apps, org-level apps, and simple clients. Org-level apps require fine-grained access. |
| Property access | The whole account for the granted scopes | All current and future properties, or selected properties |
| Who selects properties | — | The hotel selects properties when connecting a Store app that requests property permissions. You select properties at registration for a simple client or for testing in your developer account. |
To choose a client access type, see Register a Connect client or Register a simple client.
Scope parameters and token responses
| App and client access | Request | scope in the token response |
|---|---|---|
| User app, scope client | At /connect/authorize, request the API scopes and any OpenID Connect scopes the app needs. |
The granted scopes |
| User app, fine-grained client | At /connect/authorize, request the OpenID Connect scopes the app needs, such as openid, profile, and offline_access. Apaleo ignores API scopes in this request. |
identity:permissions and any granted OpenID Connect scopes |
| Org-level app | Omit scope from the installation grant request to /connect/token. |
identity:permissions |
| Simple client | Omit scope from the client credentials request to /connect/token. |
The configured scopes for a scope client, or identity:permissions for a fine-grained client |
An org-level access token is bound to the account and omits the sub claim. See Installation grant flow.
Find out what an operation requires
Each API’s Swagger UI lists the scopes and permissions required for its operations.
- Open the Swagger UI for the API you plan to call.
- Expand the operation.
- Check its access requirements.
| API | Swagger UI |
|---|---|
| Core API | api.apaleo.com/swagger |
| Payment API | payment.apaleo.com/swagger |
| Identity / OAuth | identity.apaleo.com/swagger |
| Integration / Apaleo One | integration.apaleo.com/swagger |
| Webhooks | webhook.apaleo.com/swagger |
| Distribution / ARI | distribution.apaleo.com/swagger |
| Automation | scheduler.apaleo.com/swagger |
| Identity / Users | identity.apaleo.com/swagger |
| Rendering / Invoices | rendering.apaleo.com/swagger |
For MCP access requirements, see MCP.
Scopes (scope clients)
The scopes in a scope client’s access token limit which API operations it can call. For example, reservations.read grants read access to reservation operations that accept that scope.
Scopes use the resource.action format, such as reservations.read or folios.manage. Some APIs use a prefix, such as identity:, distribution:, integration:, rendering:, fiscalization:, or mcp:.
Permissions (fine-grained clients)
Configure the permissions the app needs per API. The same permissions apply to each property the app can access. For Store apps, hotels see the names of the requested permissions on the consent screen. See Review the consent screen.
API permissions typically use service.resource.action, such as core.reservations.read or payment.reports.read. For operations a scope client calls using a scope such as identity:account-users.read, configure the required API permissions on your fine-grained client.
How access is decided
Apaleo checks that the app has the permission the operation requires and that requests about a property are covered by the app’s property access.
- User apps — the connection must grant the required access, and the authorizing user’s role and property access must cover the app’s grant. Apaleo checks the user’s eligibility when they connect and when the app refreshes a token. APIs that enforce delegated authorization also check the user’s access on each request. If the user loses eligibility, the next token refresh fails with
400 Bad Request. See Refresh can fail if the user is no longer eligible. - Org-level apps — the operation must be covered by the permissions configured on the client and the permissions granted on the installation. The installation also determines which properties the app can access. The account owns the installation, so the connection survives staff, role, and admin changes. Disconnecting removes the installation’s grant. See Disconnect handling.
- Simple clients — Apaleo uses the permissions and property access configured on the client in the account where it is registered.
A request that lacks the required app permission or property grant returns 403 Forbidden. When the app has the required permission, list calls without a property filter return data only for the properties it can access.
Installation permissions for org-level apps
These permissions govern who can install and manage org-level apps. The installer must also hold the permissions the app requests.
| Permission | Who needs it | Default role |
|---|---|---|
app:account-level-connected-apps.manage |
Required to install an org-level app and to manage existing installations — viewing, editing property access, and disconnecting. | Account Admin |
User apps and UI integrations
A user whose role and property access cover the request can connect a fine-grained user app. An Account Admin installs a UI integration. Its API calls use the installer’s token and follow that user’s role and property access.
Change access after registration
Hotels can edit property access under Apps → Connected apps. For an org-level app, open Account apps. Property changes apply immediately to the existing connection. See Change which properties an app can access.
- User apps — users must reauthorize when you change the app’s scopes or permissions.
- Org-level apps — each connected account must approve newly requested permissions. Users can open the app under Apps → Connected apps → Account apps and click Review new permissions. Approval updates the existing installation.
- Simple clients — update scopes or permissions on the client in the account where it is registered. Request a new access token to use updated scopes.
Ask for as little as possible
- Prefer a fine-grained client.
- Request only the scopes or permissions your app needs.
- When an operation accepts more than one scope, choose the narrowest one that covers what your app does. Use a
.readscope for read-only access. - Use broad scopes such as
setup.manageonly if your app needs that access across the account.
MCP
Scope clients request mcp:* scopes in addition to the API scopes they need for data, such as reservations.read or folios.read.
| Scope | Access |
|---|---|
mcp:prompts |
MCP prompts |
mcp:resources |
MCP resources |
mcp:tools |
MCP tools |
Fine-grained clients use the permissions required by the underlying MCP tools.
Requested vs. granted scopes (scope clients)
When a scope client connects on behalf of a user, the consent screen shows the scopes the app requests. Access is granted where the connected app holds the scope and the user’s Apaleo role permits the operation.
If a request returns 403 Forbidden after consent, check the granted scopes and the user’s role. After updating the role, reconnect with a fresh sign-in to start a session with the updated access.