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

# Set up Heyy in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/heyy
Last updated: 2026-11-24

Share Heyy with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 19 tools (10 read-only).

---

To give your team Heyy in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Heyy integration in a Metorial portal, and each person connects with an API key. Agents can manage Heyy contacts, chats, WhatsApp messages, broadcasts, and automation workflows. The integration has 19 tools, 10 read-only, 8 write and 1 destructive, plus 1 trigger.

**What you will learn**

- How an admin shares Heyy in a portal and how each person connects
- What Heyy asks for when you connect, and where to find it
- How to keep the 10 read-only tools and reject the other 9

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Heyy 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 | `token` |

### API Key

To connect, a person enters:

- `token`: Heyy API key. Found in Heyy Hub under Settings > Developers > API Keys.

## Admin: share Heyy 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 Heyy. 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 Heyy.

4. **Choose who gets it**

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

```bash
metorial-admin portals access list <portal-id> --type provider_template --search heyy
```

## Employee: connect Heyy

### In the portal

1. **Open Heyy in the catalog**

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

2. **Authenticate**

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

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 heyy
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Heyy 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 heyy
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 10 read-only tools, such as `get_chat` and `list_chats`, and lose the 8 write tools, such as `update_chat` or `create_contact`, and the destructive tool `delete_contact`.

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 heyy
metorial tools <integration-id>
metorial call <integration-id> list_channels -d '{}'
```

`metorial tools` lists the 19 tools, minus any you rejected. `list_channels` takes no input. It lists all connected messaging channels in your Heyy business account.

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

## Tools

### Read-only tools (10)

- `list_workflows`: List all automation workflows available on a specific channel. Needs `channelId`.
- `list_chats`: List all chats on a specific channel. Needs `channelId`.
- `list_message_templates`: List all available WhatsApp message templates.
- `get_business_info`: Retrieve details about your Heyy business account.
- `list_broadcasts`: List all broadcast campaigns on a specific channel. Needs `channelId`.
- `list_channels`: List all connected messaging channels in your Heyy business account.
- `list_contacts`: List and search contacts in your Heyy business account.
- `get_chat`: Retrieve one chat using Heyy API v3, including unread state, assignments, sensitivity, contact and channel IDs, and the latest message.
- `get_workspace`: Retrieve the workspace associated with your API key using Heyy API v3.
- `get_contact`: Retrieve one contact using Heyy API v3, including messaging handles, subscription state, label IDs, custom attribute values, and associated chat IDs.

### Write tools (8)

- `trigger_workflow`: Trigger an automation workflow for a specific phone number on a channel. Needs `channelId`, `workflowId` and `phoneNumber`.
- `update_chat`: Update a chat's properties including status, read state, and assignment. Needs `channelId` and `chatId`.
- `send_whatsapp_message`: Send a WhatsApp message to a contact through a specified channel. Needs `channelId`, `phoneNumber` and `type`.
- `create_broadcast`: Create a new broadcast campaign on a channel. Needs `channelId`, `name` and `workflowId`.
- `start_broadcast`: Start a previously created broadcast campaign using a media ID already uploaded to Heyy. Needs `channelId`, `broadcastId` and `mediaId`.
- `add_broadcast_recipients`: Add contacts as recipients to a broadcast campaign. Needs `channelId`, `broadcastId` and `contactIds`.
- `create_contact`: Create a new contact in your Heyy business account.
- `update_contact`: Update an existing contact's details in your Heyy business account. Needs `contactId`.

### Destructive tools (1)

- `delete_contact`: Permanently delete a contact from your Heyy business account. Needs `contactId`.

## Triggers

Heyy has 1 trigger, which fire on events in Heyy:

- `incoming_message`: Triggers when a new incoming message is received from a customer through any connected channel (WhatsApp, Instagram, Messenger, or web chat).

## 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 Heyy there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Heyy on metorial.com](https://metorial.com/integrations/heyy): the integration overview