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

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

Share Thanks.io with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 17 tools (8 read-only).

---

To give your team Thanks.io in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Thanks.io integration in a Metorial portal, and each person signs in to Thanks.io with their own account. Agents can send personalized handwritten postcards, letters, notecards, and gift cards as physical direct mail at scale. The integration has 17 tools, 8 read-only and 9 write, plus 4 triggers.

**What you will learn**

- How an admin shares Thanks.io in a portal and how each person connects
- What Thanks.io asks for when you connect, and where to find it
- How to keep the 8 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 account with Thanks.io for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **OAuth** (default) | OAuth | Signs in to Thanks.io |
| **Personal Access Token** | API token | `token` |

The portal and `metorial setup` use **OAuth** unless someone picks another method.

### OAuth

People sign in to Thanks.io and approve the permissions it lists.

### Personal Access Token

To connect, a person enters:

- `token`: Thanks.io Personal Access Token from the API Settings page

## Use your own Thanks.io OAuth app

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

1. **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 Thanks.io and copy the **Redirect URI**.

2. **Register the app with Thanks.io**

   Create an OAuth app or client in Thanks.io and add the redirect URI from Metorial as its redirect or callback URL.

3. **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 Thanks.io integration.

## Admin: share Thanks.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 Thanks.io. Under **Auth Method**, keep **OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Thanks.io as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Thanks.io

### In the portal

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

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Thanks.io sign-in tab opens. Sign in and approve the permissions listed.

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

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth**. To connect with **Personal Access Token** 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 Thanks.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 thanks.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 8 read-only tools, such as `get_creative` and `list_creatives`, and lose the 9 write tools, such as `send_letter` or `manage_orders`.

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

`metorial tools` lists the 17 tools, minus any you rejected. `list_handwriting_styles` takes no input. It retrieves all available handwriting styles.

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

## Tools

### Read-only tools (8)

- `list_handwriting_styles`: Retrieve all available handwriting styles.
- `list_giftcard_brands`: Retrieve all available gift card brands and their denominations.
- `list_templates`: Retrieve saved image templates and/or message templates.
- `list_order_items`: Read each recipient mail piece in an order, including delivery status/date, QR scan count, failure reason and recipient details.
- `estimate_mailer`: Price a postcard, letter, notecard, gift card, or magnacard before sending.
- `list_creatives`: Discover saved creatives with their IDs, mailer types and completion state.
- `count_radius_search`: Count available recipient records near an address before buying lead data.
- `get_creative`: Read a saved creative, including the image and message templates it pairs and its completion state.

### Write tools (9)

- `manage_orders`: List recent orders, track delivery status, or cancel an order. Needs `action`.
- `send_letter`: Send a handwritten letter in either a windowed or windowless envelope. Needs `letterType`.
- `radius_search`: Search for recipients within a geographic radius of a given address and add them to a mailing list. Needs `address`, `postalCode` and `recordCount`.
- `manage_mailing_lists`: Create, list, retrieve, or delete mailing lists. Needs `action`.
- `manage_recipients`: Create, retrieve, update, or delete recipients in a mailing list. Needs `action`.
- `send_giftcard`: Send a folded 4.25x5.5 gift card notecard in an envelope. Needs `giftcardBrand` and `giftcardAmountInCents`.
- `manage_sub_accounts`: Create, list, retrieve, update, or delete sub-accounts for managing multiple clients or business units. Needs `action`.
- `send_postcard`: Send a handwritten postcard to one or more recipients.
- `send_notecard`: Send a folded 4.25x5.5 handwritten notecard in an envelope.

## Triggers

Thanks.io has 4 triggers, which fire on events in Thanks.io:

- `order_status_events`: Triggered when an order status changes (e.g., Reviewing, Printing, Printed, Fulfilled, Shipped, Delivered, Cancelled, Error).
- `qr_scan_events`: Triggered when a QR code on a mailer (postcard, letter, notecard) is scanned by a recipient, or when a gift card is redeemed.
- `mail_status_events`: Triggered when an individual mail piece (order item) changes status.
- `mail_delivery_events`: Triggered when a mail piece (postcard, letter, notecard, or gift card) is delivered to a recipient.

## 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 Thanks.io there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Thanks.io on metorial.com](https://metorial.com/integrations/thanksio): the integration overview