twilio-webhook-architecture
Installation
SKILL.md
Overview
Twilio delivers events to your application via HTTP callbacks (webhooks). Inbound messages and calls trigger webhooks that expect a TwiML response; status callbacks and event streams push delivery and lifecycle data asynchronously. This skill covers the cross-product patterns that apply to every webhook integration.
Prerequisites
- Twilio account with a phone number or service configured with a webhook URL
-- New to Twilio? See
twilio-account-setup TWILIO_ACCOUNT_SIDandTWILIO_AUTH_TOKEN-- seetwilio-iam-auth-setup- SDK:
pip install twilio flask/npm install twilio express - Publicly accessible HTTPS endpoint (see Local Development section below)
Quickstart
Receive an inbound SMS and validate the request signature before replying.