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

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

Share Customer.io with your team in Claude, ChatGPT and Cursor through Metorial: API credentials sign-in, 17 tools (7 read-only).

---

To give your team Customer.io in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Customer.io integration in a Metorial portal, and each person connects with API credentials. Agents can track customer behavior and attributes, send targeted messages (email, SMS, push, in-app, Slack), and manage marketing automation workflows. The integration has 17 tools, 7 read-only, 7 write and 3 destructive, plus 2 triggers.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- API credentials from Customer.io for each person, or one set 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 Credentials** | Custom credentials | `token`, `siteId` and `trackApiKey` |

### API Credentials

To connect, a person enters these values:

- `token`: App API Key (Bearer token) — found under Account Settings > API Credentials. Used to trigger messages, manage broadcasts, and fetch workspace data.
- `siteId`: Site ID — found under Account Settings > API Credentials. Used as the username for Track API basic authentication.
- `trackApiKey`: Track API Key — found under Account Settings > API Credentials. Used as the password for Track API basic authentication.

### Setup settings

Setup also asks for:

- `region` (optional): The data center region for your Customer.io account. US is the default for most accounts. One of "us", "eu".

## Admin: share Customer.io 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 Customer.io. For how members connect, choose **Each person connects** so everyone enters their own API credentials, or **Shared connection** to enter the API credentials once for everyone.

3. **Limit the tools**

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

4. **Choose who gets it**

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

```bash
metorial-admin portals access list <portal-id> --type provider_template --search customer.io
```

## Employee: connect Customer.io

### In the portal

1. **Open Customer.io in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API credentials (token, siteId and trackApiKey).

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 customer.io
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Customer.io 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 customer.io
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 7 read-only tools, such as `get_person` and `get_campaign`, and lose the 7 write tools, such as `track_event` or `manage_device`, and the 3 destructive tools, such as `merge_people` or `delete_person`.

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 customer.io
metorial tools <integration-id>
metorial call <integration-id> list_segments -d '{}'
```

`metorial tools` lists the 17 tools, minus any you rejected. `list_segments` takes no input. It retrieves all segments in your Customer.io workspace.

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

## Tools

### Read-only tools (7)

- `list_collections`: Retrieve all collections in your Customer.io workspace.
- `list_segments`: Retrieve all segments in your Customer.io workspace.
- `list_campaigns`: Retrieve campaigns from your Customer.io workspace.
- `search_people`: Search for people in your Customer.io workspace using complex filters. Needs `filter`.
- `get_person`: Look up a person in your Customer.io workspace and retrieve their attributes, segments, and recent activity. Needs `personIdentifier`.
- `get_campaign`: Retrieve detailed information about a specific campaign, including its actions, metrics, and configuration. Needs `campaignId`.
- `get_segment_membership`: Retrieve the people who belong to a specific segment. Needs `segmentId`.

### Write tools (7)

- `manage_collection`: Create, update, or delete a collection in your Customer.io workspace. Needs `action`.
- `manage_manual_segment`: Add or remove people from a manual segment. Needs `action`.
- `track_event`: Track a custom event for a person or an anonymous event. Needs `eventName`.
- `manage_device`: Register or remove a device for push notifications associated with a person. Needs `personIdentifier`, `action` and `deviceToken`.
- `send_transactional_message`: Send a transactional message (email, push notification, or SMS) to a person. Needs `channel` and `transactionalMessageId`.
- `trigger_broadcast`: Trigger an API-triggered broadcast to send messages to a wide audience. Needs `broadcastId`.
- `upsert_person`: Create a new person or update an existing person in your Customer.io workspace. Needs `personIdentifier`.

### Destructive tools (3)

- `delete_person`: Delete a person from your Customer.io workspace. Needs `personIdentifier`.
- `merge_people`: Merge two person profiles into one. Needs `primaryIdentifier` and `secondaryIdentifier`.
- `suppress_person`: Suppress or unsuppress a person in your Customer.io workspace. Needs `personIdentifier` and `action`.

## Triggers

Customer.io has 2 triggers, which fire on events in Customer.io:

- `message_event`: Triggered when a message-related event occurs in Customer.io — such as emails sent, opened, clicked, bounced; SMS delivered; push notifications opened; and more.
- `subscription_event`: Triggered when a subscription-related event occurs — a person subscribes, unsubscribes, or changes subscription preferences.

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