Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 85
  • 8.3k stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-webhooks

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install twilio-messaging-webhooks in Claude Code

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

A

No 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 →

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.

twilio-messaging-webhooks Install

Add to stack

Loading.