twilio-messaging-webhooks
Skill by openai
Receives and responds to inbound Twilio messages and tracks outbound delivery status through webhooks. It covers SMS, MMS, WhatsApp, and RCS, with TwiML replies, status callbacks, and signature validation. It is built for developers and agents that handle messages in real time.
Install twilio-messaging-webhooks
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-messaging-webhooks ~/.claude/skills/twilio-messaging-webhooksRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install twilio-messaging-webhooks in Claude Code
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-messaging-webhooks ~/.gemini/antigravity-cli/skills/twilio-messaging-webhooksAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install twilio-messaging-webhooks in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill covers how an agent receives and responds to messages sent to a Twilio number. Twilio sends a POST webhook to your server when a user messages the number, and your server replies with TwiML or returns 204 to acknowledge without replying. The same pattern applies to SMS, MMS, WhatsApp, and RCS.
The skill includes Flask and Express examples, the inbound webhook parameters such as MessageSid, From, Body, and NumMedia, and handling for inbound media. It also shows how to set status callbacks that track outbound delivery states such as queued, sent, and delivered, and how to validate the X-Twilio-Signature header before trusting a request. It is aimed at developers building agents that handle incoming messages or track message delivery in real time. Setup needs a Twilio account, a publicly reachable endpoint, and the Twilio SDK.
Written from the project's SKILL.md and checked against it.
What it can do
- Receive inbound messagesHandles POST webhooks Twilio sends when a user messages your number.
- Reply with TwiMLReturns TwiML message responses to reply to an inbound message.
- Handle inbound mediaReads NumMedia and MediaContentType0 to respond to MMS, WhatsApp, or RCS attachments.
- Acknowledge without replyingReturns an empty TwiML response or 204 to accept a message without replying.
- Track delivery with status callbacksSets a status callback URL and logs MessageSid and MessageStatus updates.
- Validate webhook signaturesChecks the X-Twilio-Signature header to confirm requests come from Twilio.
- Configure webhook URL via APIUpdates a phone number's SMS webhook URL and method using the Twilio SDK.
What you need
- Twilio account with a messaging-capable sender and webhook URL
- Publicly accessible endpoint, such as ngrok for local development
- TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables
- Python with twilio and flask, or Node.js with twilio and express
Try asking
- Write a Flask webhook that replies to incoming SMS with the message body.
- Add Twilio signature validation to my /incoming webhook endpoint.
- Create a status callback handler that logs failed message error codes.
Good to know
- Webhook responses must arrive within 15 seconds or Twilio retries.
- ngrok URLs change on restart, so use a stable tunnel for persistent testing.
- Status callbacks are best-effort, and delivered depends on carrier confirmation.
- Signature validation confirms the request source, not that the message content is safe.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/twilio-developer-kit/skills/twilio-messaging-webhooks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml231 B
Alternatives to twilio-messaging-webhooks
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
twilio-messaging-webhooks: common questions
Does this skill work with WhatsApp and RCS as well as SMS?
Yes. The source says the webhook pattern works across SMS, MMS, WhatsApp, and RCS, and status callbacks fire for all of these channels.
Is the inbound message body safe to pass to an LLM?
The source says the Body is untrusted external input. It advises isolating it as user input and never concatenating it into system prompts.
Why does Twilio say my webhook URL is unreachable?
Error 11200 means Twilio cannot reach the webhook URL. The source suggests checking the endpoint with curl, DNS, firewall, and SSL certificate validity.
How do I install twilio-messaging-webhooks?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is twilio-messaging-webhooks free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is twilio-messaging-webhooks safe to use?
It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to twilio-messaging-webhooks?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
