> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Planyo Online Booking in Metorial for AI agents
URL: https://metorial.com/docs/integrations/planyo-online-booking
Last updated: 2026-11-24

Share Planyo Online Booking with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 22 tools (14 read-only).

---

To give your team Planyo Online Booking in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Planyo Online Booking integration in a Metorial portal, and each person connects with an API key. Agents can create, modify, cancel, and search reservations for bookable resources such as vacation properties, car rentals, hotels, equipment, and event spaces. The integration has 22 tools, 14 read-only, 7 write and 1 destructive, plus 4 triggers.

**What you will learn**

- How an admin shares Planyo Online Booking in a portal and how each person connects
- What Planyo Online Booking asks for when you connect, and where to find it
- How to keep the 14 read-only tools and reject the other 8

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Planyo Online Booking for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `apiKey` and `hashKey` |

### API Key

To connect, a person enters these values:

- `apiKey`: Your Planyo API key. Found at https://www.planyo.com/api.php under the "API Key" button.
- `hashKey` (optional): Optional secret hash key for enhanced security. When enabled, all API calls include a timestamp-based HMAC.

### Setup settings

Setup also asks for:

- `siteId` (optional): Planyo Site ID. Required for metasite API keys to scope operations to a specific site.

## Admin: share Planyo Online Booking in a portal

### In the dashboard

1. **Open Shared Resources**

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

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Planyo Online Booking. For how members connect, choose **Each person connects** so everyone enters their own API key, or **Shared connection** to enter one API key for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Planyo Online Booking.

4. **Choose who gets it**

   Add the access groups that should see Planyo Online Booking. 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 Planyo Online Booking integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "planyo online booking"
```

## Employee: connect Planyo Online Booking

### In the portal

1. **Open Planyo Online Booking in the catalog**

   Sign in to your portal and open Planyo Online Booking. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (apiKey).

3. **Confirm**

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

### With the CLI

```bash
metorial catalog search "planyo online booking"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Planyo Online Booking 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.

```bash
metorial list "planyo online booking"
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 14 read-only tools, such as `get_user` and `list_users`, and lose the 7 write tools, such as `create_user` or `modify_user`, and the destructive tool `delete_reservation`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list "planyo online booking"
metorial tools <integration-id>
metorial call <integration-id> get_site_info -d '{}'
```

`metorial tools` lists the 22 tools, minus any you rejected. `get_site_info` takes no input. 

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

## Tools

### Read-only tools (14)

- `list_vouchers`: Lists vouchers with optional filtering by rental dates, resource, and code prefix.
- `list_reservations`: Searches and lists reservations within a time period. Needs `startTime` and `endTime`.
- `list_resources`: Lists bookable resources with optional filtering by publish status, resource type, and custom properties.
- `list_users`: Searches and lists customer users with filtering by name, email, location, and custom properties.
- `get_resource_usage`: Retrieves usage (occupancy) data for a resource or all resources over a date range. Needs `startDate` and `endDate`.
- `get_resource`: Retrieves detailed information about a single bookable resource including availability settings, pricing, booking rules, photos, properties, and admin details. Needs `resourceId`.
- `list_payments`: Lists payments within a date range. Needs `startDate` and `endDate`.
- `check_availability`: Checks whether a reservation can be made for a resource during a given time period. Needs `resourceId`, `startTime`, `endTime` and `quantity`.
- `get_user`: Retrieves detailed information about a customer user by ID or email, including personal details, contact info, custom properties, and reservation count.
- `get_rental_price`: Calculates the rental price for a resource given a time period, quantity, and optional voucher code. Needs `resourceId`, `startTime`, `endTime` and `quantity`.
- `get_site_info`: Retrieves site-level information including name, category, timezone, admin email, custom resource property definitions, and photos.
- `get_reservation`: Retrieves complete details of a single reservation including customer info, pricing, payments, custom properties, additional products, and activity log. Needs `reservationId`.
- `search_reservations`: Finds reservations by customer name, login, user ID, reservation ID, email, phone number, or resource name without requiring a date range.
- `search_resources`: Finds available resources for a rental period and quantity, with prices and optional custom property filters.

### Write tools (7)

- `modify_user`: Modifies an existing user's personal details, contact info, custom properties, and account flags.
- `record_payment`: Records a payment against a reservation. Needs `reservationId`, `paymentMode`, `paymentStatus`, `transactionId`, `amount` and `currency`.
- `modify_reservation`: Modifies an existing reservation. Needs `reservationId`.
- `create_user`: Creates a new customer user or updates an existing user's custom properties. Needs `email` and `firstName`.
- `reservation_action`: Performs an administrative action on a reservation such as confirming, cancelling, checking in/out, marking as no-show, or other status changes. Needs `reservationId` and `action`.
- `create_voucher`: Creates a new voucher (discount code) that customers can apply to reservations. Needs `voucherCodePrefix`, `discountValue`, `maxUses`, `reservationStartTime` and `reservationEndTime`.
- `create_reservation`: Creates a new reservation for a bookable resource. Needs `resourceId`, `startTime`, `endTime` and `quantity`.

### Destructive tools (1)

- `delete_reservation`: Permanently deletes a reservation. **This cannot be undone.** For non-permanent removal, use the Reservation Action tool with action "Cancel" instead. Needs `reservationId`.

## Triggers

Planyo Online Booking has 4 triggers, which fire on events in Planyo Online Booking:

- `payment_events`: Triggers when payments are received or removed for reservations and coupons.
- `user_events`: Triggers when a new user is added or an existing user's settings are updated.
- `resource_events`: Triggers when resource settings are changed, a resource is removed, or a vacation/unavailability period is modified.
- `reservation_events`: Triggers on reservation lifecycle events including creation, confirmation, cancellation, modification, check-in/out, no-show, and price updates.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Planyo Online Booking there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Planyo Online Booking on metorial.com](https://metorial.com/integrations/planyo-online-booking): the integration overview