MetorialDocs

Set up Heyy in Metorial for Claude, ChatGPT and Cursor

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'll 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

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

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

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 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.

Limit the tools

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

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:

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

Employee: connect Heyy

In the portal

Open Heyy in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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.

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.

Check it worked

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