MetorialDocs

Set up Apaleo in Metorial for Claude, ChatGPT and Cursor

Share Apaleo with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or client credentials sign-in, 16 tools (9 read-only).

To give your team Apaleo in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Apaleo integration in a Metorial portal, and each person signs in to Apaleo with their own account. Agents can manage hotel and serviced apartment operations through a cloud-based property management system (PMS). The integration has 16 tools, 9 read-only, 3 write and 4 destructive, plus 7 triggers.

What you'll learn

  • How an admin shares Apaleo in a portal and how each person connects
  • The 35 OAuth scopes Apaleo can request, and what each one allows
  • How to keep the 9 read-only tools and reject the other 7

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth (Connect Client) (default)OAuthSigns in to Apaleo
Client Credentials (Simple Client)Custom credentialsclientId and clientSecret

The portal and metorial setup use OAuth (Connect Client) unless someone picks another method.

OAuth (Connect Client)

People sign in to Apaleo and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
openidOpenIDOpenID Connect authentication
profileProfileUser profile information
offline_accessOffline AccessObtain refresh tokens for long-lived access
reservations.readReservations ReadRead reservation data
reservations.manageReservations ManageCreate, modify, and cancel reservations
availability.readAvailability ReadRead availability information
availability.manageAvailability ManageManage availability
offers.readOffers ReadRead offers
offer-index.readOffer Index ReadRead offer index
rates.readRates ReadRead rate information
rates.manageRates ManageManage rates
rateplans.read-corporateRate Plans Read CorporateRead corporate rate plans
setup.readSetup ReadRead property setup and configuration
setup.manageSetup ManageManage property setup and configuration
folios.readFolios ReadRead folio data
folios.manageFolios ManageManage folios, post charges and payments
invoices.readInvoices ReadRead invoice data
invoices.manageInvoices ManageCreate and manage invoices
companies.readCompanies ReadRead company profiles
companies.manageCompanies ManageCreate and manage company profiles
reports.readReports ReadRead report data
logs.readLogs ReadRead log data
account.manageAccount ManageManage account settings
accounting.readAccounting ReadRead accounting transaction data
maintenances.readMaintenances ReadRead maintenance data
maintenances.manageMaintenances ManageManage maintenance windows
operations.trigger-night-auditNight AuditTrigger night audit operations
operations.change-room-stateChange Room StateChange room/unit states
authorizations.readAuthorizations ReadRead payment authorizations
authorizations.manageAuthorizations ManageManage payment authorizations
payment-accounts.readPayment Accounts ReadRead payment account data
payment-accounts.managePayment Accounts ManageManage payment accounts
identity:account-users.readAccount Users ReadRead account user information
identity:account-users.manageAccount Users ManageManage account users
integration:ui-integrations.manageUI Integrations ManageManage UI integrations

Client Credentials (Simple Client)

To connect, a person enters these values:

  • clientId: Client ID for the simple client
  • clientSecret: Client secret for the simple client

Setup settings

Whichever method you pick, setup also asks for:

  • propertyId (optional): Default property ID to use for API requests. If not set, operations may require a property ID as input.

Use your own Apaleo OAuth app

With your own OAuth app, people see your company's name on the Apaleo consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Apaleo and copy the Redirect URI.

Register the app with Apaleo

Create an OAuth app or client in Apaleo and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Apaleo integration.

Admin: share Apaleo in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Apaleo. Under Auth Method, keep OAuth (Connect Client) or pick another. For how members connect, choose Each person connects, so everyone signs in to Apaleo as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Apaleo.

Choose who gets it

Add the access groups that should see Apaleo. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Apaleo integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search apaleo

Employee: connect Apaleo

In the portal

Open Apaleo in the catalog

Sign in to your portal and open Apaleo. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. An Apaleo sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search apaleo
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth (Connect Client). To connect with Client Credentials (Simple Client) instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Apaleo connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list apaleo
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as list_units and list_blocks, and lose the 3 write tools, such as manage_folio or create_booking, and the 4 destructive tools, such as manage_company or manage_invoice.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list apaleo
metorial tools <integration-id>
metorial call <integration-id> list_properties -d '{}'

metorial tools lists the 16 tools, minus any you rejected. list_properties takes no input. It lists all properties (hotels/apartments) in the account.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (9)

  • get_reservation: Retrieve full details of a specific reservation by its ID. Needs reservationId.
  • list_units: List rooms (units) for a property.
  • list_folios: List guest folios filtered by property, reservation, or booking.
  • list_properties: List all properties (hotels/apartments) in the account.
  • list_rate_plans: List rate plans for a property.
  • search_offers: Search for available room offers for a specific property, dates, and guest configuration. Needs arrival, departure and adults.
  • list_unit_groups: List room types (unit groups) for a property.
  • list_blocks: List room blocks for a property.
  • list_reservations: Search and list reservations across properties.

Write tools (3)

  • change_unit_state: Update the housekeeping condition of a room (unit). Needs unitId and condition.
  • create_booking: Create a new booking with one or more reservations. Needs reservations.
  • manage_folio: Perform operations on a guest folio: **post a charge** (e.g., minibar, restaurant), **post a payment**, **post a refund**, or **close** the folio. Needs folioId and action.

Destructive tools (4)

  • manage_invoice: Create, cancel, or mark invoices as paid. Needs action.
  • manage_company: Create, update, delete, or list company profiles. Needs action.
  • manage_reservation: Perform lifecycle actions on a reservation: **amend** stay details (dates, guests, rate plan), **cancel**, **check-in**, **check-out**, **no-show**, **assign room**, or **unassign room**. Needs reservationId and action.
  • trigger_night_audit: Trigger a night audit for a property.

Triggers

Apaleo has 7 triggers, which fire on events in Apaleo:

  • booking_events: Triggers on booking lifecycle events: created, changed, deleted, and payment account set.
  • night_audit_events: Triggers when a night audit starts, succeeds, or fails for a property.
  • invoice_events: Triggers on invoice events: created, canceled, paid, written off, signed (fiscal), and rendered (fiscal).
  • reservation_events: Triggers on reservation lifecycle events: created, amended, changed, checked-in, checked-out, canceled, no-show, unit assigned/unassigned, and more.
  • block_events: Triggers on block and group lifecycle events: created, changed, deleted, confirmed, released, washed, or cancelled.
  • property_events: Triggers on property, unit, unit group, and maintenance events: created, changed, deleted, set to live, archived, and more.
  • folio_events: Triggers on folio events: created, closed, reopened, balance changed, charges/payments/refunds posted, deposit items, and movements between folios.

Next steps