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

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

Share Twilio with your team in Claude, ChatGPT and Cursor through Metorial: auth token or API key sign-in, 16 tools (6 read-only).

---

To give your team Twilio in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Twilio integration in a Metorial portal, and each person connects with an auth token. Agents can send and receive SMS, MMS, WhatsApp, and RCS messages. The integration has 16 tools, 6 read-only, 5 write and 5 destructive, plus 4 triggers.

**What you will learn**

- How an admin shares Twilio in a portal and how each person connects
- What Twilio asks for when you connect, and where to find it
- How to keep the 6 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
- An auth token from Twilio 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 methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **Auth Token** (default) | API token | `authToken` |
| **API Key** | API token | `apiKeySid` and `apiKeySecret` |

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

### Auth Token

To connect, a person enters:

- `authToken`: Your Twilio Auth Token. Found in the Twilio Console alongside your Account SID.

### API Key

To connect, a person enters these values:

- `apiKeySid`: Your Twilio API Key SID (starts with SK).
- `apiKeySecret`: Your Twilio API Key Secret.

### Setup settings

Whichever method you pick, setup also asks for:

- `accountSid`: Your Twilio Account SID (starts with AC). Found in the Twilio Console.

## Admin: share Twilio 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 Twilio. Under **Auth Method**, keep **Auth Token** or pick another. For how members connect, choose **Each person connects** so everyone enters their own auth token, or **Shared connection** to enter one auth token for everyone.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect Twilio

### In the portal

1. **Open Twilio in the catalog**

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

2. **Authenticate**

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

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

`catalog search` prints the catalog item ID. `metorial setup` uses **Auth Token**. To connect with **API Key** 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 Twilio 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 twilio
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 6 read-only tools, such as `list_calls` and `list_messages`, and lose the 5 write tools, such as `make_call` or `send_message`, and the 5 destructive tools, such as `modify_call` or `manage_conversation`.

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

`metorial tools` lists the 16 tools, minus any you rejected. `list_calls` takes no input. It retrieves call records from your Twilio account.

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

## Tools

### Read-only tools (6)

- `list_calls`: Retrieve call records from your Twilio account.
- `lookup_phone_number`: Look up intelligence about a phone number using the Twilio Lookup API. Needs `phoneNumber`.
- `list_messages`: Retrieve a list of messages from your Twilio account.
- `search_phone_numbers`: Search for available phone numbers to purchase on Twilio. Needs `countryCode`.
- `list_recordings`: Retrieve Twilio Programmable Voice recording metadata.
- `list_verify_services`: List Twilio Verify Services so you can discover the Service SID required by Send Verification and Check Verification.

### Write tools (5)

- `send_verification`: Send a verification code (OTP) to a user via SMS, WhatsApp, voice call, or email using Twilio Verify. Needs `verifyServiceSid`, `to` and `channel`.
- `check_verification`: Verify a code entered by the user against a pending Twilio Verify verification. Needs `verifyServiceSid` and `code`.
- `send_message`: Send an SMS, MMS, or WhatsApp message to a phone number. Needs `to`.
- `send_conversation_message`: Send a message within a Twilio Conversation. Needs `conversationSid`.
- `make_call`: Initiate an outbound phone call via Twilio. Needs `to` and `from`.

### Destructive tools (5)

- `modify_call`: Modify an in-progress call. Needs `callSid`.
- `manage_conversation`: Create, list, update, or delete Twilio Conversations. Needs `action`.
- `conversation_participants`: Add, list, or remove participants from a Twilio Conversation. Needs `action` and `conversationSid`.
- `manage_phone_number`: Purchase, list, update, or release phone numbers on your Twilio account. Needs `action`.
- `manage_messaging_service`: Create, list, fetch, update, or delete Twilio Messaging Services. Needs `action`.

## Triggers

Twilio has 4 triggers, which fire on events in Twilio:

- `call_status`: Triggered when a voice call status changes (initiated, ringing, answered, completed).
- `message_status`: Triggered when a message delivery status changes (e.g. queued, sent, delivered, failed, undelivered, read).
- `incoming_call`: Triggered when a voice call is received on a Twilio phone number.
- `incoming_message`: Triggered when an SMS, MMS, or WhatsApp message is received on a Twilio phone number.

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