# Your Twilio account. Inside your agent.

Source: https://corespeed.io/integrations/twilio

Connect Twilio to Claude Code, Codex, Cursor or any MCP agent through CoreSpeed. Your agent reads your message and call logs, sends an SMS, MMS or WhatsApp message, starts a call, and runs a Verify check, using your own Account SID and credentials. Sends and calls can carry Twilio charges, and approvals can hold each one.

## Set up an agent

Give your agent this line: `set up https://corespeed.io/SKILL.md (read it raw, e.g. with curl)`

It fetches the skill at https://corespeed.io/SKILL.md, adds the CoreSpeed MCP server, signs you in (or up), and keeps the skill for next time. Connect Twilio after setup. Access follows the connected account and its permissions. Create an account: https://app.corespeed.io/sign-up

## Find the failed texts. Know why they failed

Have your agent read the message log, group what did not deliver by Twilio's error code, and suggest a fix for each group.

You ask your agent: "List the text messages from the last day that failed. Group them by error and tell me what to fix. Do not resend anything."

It calls CoreSpeed:

- `twilio__list_messages`: ok, 412 ms
- `twilio__get_message`: ok, 236 ms

It reads from: Twilio.

### Delivery report: 4 of 212 texts failed.

Three numbers were unreachable. One message was filtered by the carrier.

**30003 · Unreachable handset**

- 3 numbers. The phones were off or out of service. Try again later.

**30007 · Filtered by the carrier**

- 1 message. Check the sender registration and the message content.

_Illustrative message log · Fictional numbers · Nothing resent_

All connectors: https://corespeed.io/docs/connectors

## Find what failed. Send what matters

Requests you can make once Twilio is connected. The data is fictional.

### Find the failed texts

Undelivered in the last day · Message log

- Failed: 4 messages
- Most common: Unreachable handset
- Read from your Twilio account

### Hold a costly send

A text, waiting for you · Example policy on

- Policy match: Ask before any paid send
- Outcome: Waiting for you to approve
- Ask

### Send a sign-in code

A Verify check · Twilio Verify

- Channel: SMS
- Next: Check the code the user enters
- A test user, fictional number

## Keep your agent. Bring your work

One CoreSpeed account, across compatible agents.

1. **Set up CoreSpeed**: Give your agent the setup line. It adds CoreSpeed and signs you in.
2. **Connect Twilio**: Authorize the account and the content you need.
3. **Start with one task**: Ask for a summary, a brief, or a draft. Review the answer.

Setup guides: Claude Code https://corespeed.io/docs/mcp#claude-code · Codex https://corespeed.io/docs/mcp#codex · Cursor https://corespeed.io/docs/mcp#cursor

## Questions

### Which Twilio credentials does it need?

Your Account SID with an Auth Token, or with an API Key SID and Secret. A restricted key limits which tools work.

### Can my agent buy phone numbers?

Yes. It can search and buy numbers, which carry recurring Twilio charges. Each purchase is a separate tool call that approvals can hold. How approvals work: https://corespeed.io/solutions/agent-approvals

### Does it send WhatsApp messages too?

Yes, through Twilio's WhatsApp sender, if your account has one. For a direct WhatsApp Business Account, use the WhatsApp Business connection.

### Do I have to switch agents?

No. CoreSpeed adds tools to the agent you already use: Claude Code, Codex, Cursor, or another MCP client. Each one signs in once.

### Can my agent access every account in our organization?

No. Access follows your CoreSpeed identity, each connection's visibility, and the app's own permissions. Personal connections stay private.

### Does this work without connecting an account?

No. Connect the app's account first; your CoreSpeed workspace shows what each app needs. The examples on this page use fictional data. All connectors: https://corespeed.io/docs/connectors

Every tool and price: https://corespeed.io/catalog/twilio

## Related pages

- [Approval gates for AI agent tool actions](https://corespeed.io/solutions/agent-approvals): Set approval policies for writes through CoreSpeed. Review held tool actions while your team keeps using its preferred agents.
- [Photon for Claude Code, Codex, and Cursor](https://corespeed.io/integrations/photon): Read and answer iMessage, WhatsApp and SMS conversations on your Photon lines from the agent you already use.
- [Pushbullet for Claude Code, Codex, and Cursor](https://corespeed.io/integrations/pushbullet): Let your agent push a note, a link or a file to your phone when a task finishes, from the agent you already use.
- [WhatsApp Business for Claude Code, Codex, and Cursor](https://corespeed.io/integrations/whatsapp): Check WhatsApp Business templates, read delivery status, and send customer messages from the agent you already use.

## Sources

- Connectors: https://corespeed.io/docs/connectors
- Twilio Messaging: the Message resource: https://www.twilio.com/docs/messaging/api/message-resource
- Twilio Voice: the Call resource: https://www.twilio.com/docs/voice/api/call-resource
- Twilio Verify API: https://www.twilio.com/docs/verify/api
- Twilio error codes: https://www.twilio.com/docs/api/errors

Reviewed 2026-11-10.

## Links

- Product overview: https://corespeed.io/ (Markdown: https://corespeed.io/index.md)
- All integrations: https://corespeed.io/integrations (Markdown: https://corespeed.io/integrations.md)
- Documentation: https://corespeed.io/docs
- Pricing: https://corespeed.io/pricing (Markdown: https://corespeed.io/pricing.md)
