twilio-messaging-webhooks
Installation
SKILL.md
Overview
Twilio sends a POST webhook to your server when a user messages your Twilio number (inbound) or when an outbound message changes delivery state (status callback). Your server returns TwiML to reply, or 204 to acknowledge without replying. The same webhook pattern works across SMS, MMS, WhatsApp, and RCS.
Prerequisites
- Twilio account with a messaging-capable sender configured with a webhook URL
— New to Twilio? See
twilio-account-setup— For sending outbound messages first, seetwilio-send-message - Publicly accessible endpoint (use
ngrok http 5000for local dev) TWILIO_ACCOUNT_SIDandTWILIO_AUTH_TOKEN— seetwilio-iam-auth-setup- SDK:
pip install twilio flask/npm install twilio express