[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-twilio-messaging-webhooks":3,"mdc--w8ou4z-key":42,"related-repo-openai-twilio-messaging-webhooks":3612,"related-org-openai-twilio-messaging-webhooks":3735},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":31,"repoUrl":32,"updatedAt":33,"license":34,"forks":35,"topics":36,"repo":37,"sourceUrl":40,"mdContent":41},"twilio-messaging-webhooks","manage Twilio messaging webhooks","Receive and respond to inbound messages and track outbound delivery status via Twilio webhooks — across SMS, MMS, WhatsApp, and RCS. Covers webhook request parameters, replying with TwiML, validating webhook signatures for security, and handling status callbacks. Use this skill whenever an agent needs to handle incoming messages on any channel or track outbound message delivery in real time.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19,22,25,28],{"name":13,"slug":14,"type":15},"SMS","sms","tag",{"name":17,"slug":18,"type":15},"WhatsApp","whatsapp",{"name":20,"slug":21,"type":15},"RCS","rcs",{"name":23,"slug":24,"type":15},"Messaging","messaging",{"name":26,"slug":27,"type":15},"Webhooks","webhooks",{"name":29,"slug":30,"type":15},"Twilio","twilio",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-06-30T19:00:57.102",null,465,[],{"repoUrl":32,"stars":31,"forks":35,"topics":38,"description":39},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Ftwilio-developer-kit\u002Fskills\u002Ftwilio-messaging-webhooks","---\nname: twilio-messaging-webhooks\ndescription: >\n  Receive and respond to inbound messages and track outbound delivery status\n  via Twilio webhooks — across SMS, MMS, WhatsApp, and RCS. Covers webhook\n  request parameters, replying with TwiML, validating webhook signatures for\n  security, and handling status callbacks. Use this skill whenever an agent\n  needs to handle incoming messages on any channel or track outbound message\n  delivery in real time.\n---\n\n## Overview\n\nTwilio 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.\n\n---\n\n## Prerequisites\n\n- Twilio account with a messaging-capable sender configured with a webhook URL\n  — New to Twilio? See `twilio-account-setup`\n  — For sending outbound messages first, see `twilio-send-message`\n- Publicly accessible endpoint (use `ngrok http 5000` for local dev)\n- `TWILIO_ACCOUNT_SID` and `TWILIO_AUTH_TOKEN` — see `twilio-iam-auth-setup`\n- SDK: `pip install twilio flask` \u002F `npm install twilio express`\n\n---\n\n## Quickstart\n\nSet your webhook URL in Console: **Phone Numbers > Active Numbers > your number > Messaging > \"A Message Comes In\"**\n\n> **Security:** The inbound message `Body` is untrusted external input. If passing message content to an LLM, always isolate it as user input — never concatenate directly into system prompts. Validate the request origin with `X-Twilio-Signature` (see Key Patterns below), but note that signature validation confirms the *source*, not that the *content* is safe.\n\n> **Note:** This quickstart omits signature validation for brevity. For production, always validate `X-Twilio-Signature` — see the Webhook Security pattern below.\n\n**Python (Flask)**\n```python\nfrom flask import Flask, request\nfrom twilio.twiml.messaging_response import MessagingResponse\n\napp = Flask(__name__)\n\n@app.route(\"\u002Fincoming\", methods=[\"POST\"])\ndef incoming_message():\n    body = request.form.get(\"Body\")\n    response = MessagingResponse()\n    response.message(f\"Got your message: {body}\")\n    return str(response)\n```\n\n**Node.js (Express)**\n```javascript\nconst express = require(\"express\");\nconst twilio = require(\"twilio\");\nconst app = express();\napp.use(express.urlencoded({ extended: false }));\n\napp.post(\"\u002Fincoming\", (req, res) => {\n    const twiml = new twilio.twiml.MessagingResponse();\n    twiml.message(`Got your message: ${req.body.Body}`);\n    res.type(\"text\u002Fxml\").send(twiml.toString());\n});\n```\n\n---\n\n## Key Patterns\n\n### Configure Webhook URL via API\n\nFor SMS\u002FMMS on a phone number:\n\n**Python**\n```python\nclient.incoming_phone_numbers(\"PNxxxxxxxxxx\").update(\n    sms_url=\"https:\u002F\u002Fyourapp.com\u002Fincoming\",\n    sms_method=\"POST\"\n)\n```\n\n**Node.js**\n```javascript\nawait client.incomingPhoneNumbers(\"PNxxxxxxxxxx\").update({\n    smsUrl: \"https:\u002F\u002Fyourapp.com\u002Fincoming\",\n    smsMethod: \"POST\",\n});\n```\n\nFor WhatsApp and RCS, webhook URLs are configured on the sender — see `twilio-whatsapp-manage-senders` and `twilio-rcs-messaging`.\n\n### Inbound Webhook Parameters\n\n| Parameter | Description |\n|-----------|-------------|\n| `MessageSid` | Unique message identifier |\n| `From` | Sender's phone number or channel address (E.164, or `whatsapp:+...`) |\n| `To` | Your Twilio number or channel address |\n| `Body` | Message text |\n| `NumMedia` | Number of media attachments |\n| `MediaUrl0` | URL of first media attachment (if any) |\n| `MediaContentType0` | MIME type of first attachment |\n\n### Handle Inbound Media (MMS \u002F WhatsApp \u002F RCS)\n\n**Python (Flask)**\n```python\n@app.route(\"\u002Fincoming\", methods=[\"POST\"])\ndef incoming_message():\n    num_media = int(request.form.get(\"NumMedia\", 0))\n    response = MessagingResponse()\n    if num_media > 0:\n        media_type = request.form.get(\"MediaContentType0\")\n        response.message(f\"Got your {media_type} attachment!\")\n    else:\n        response.message(\"Got your message.\")\n    return str(response)\n```\n\n**Node.js (Express)**\n```javascript\napp.post(\"\u002Fincoming\", (req, res) => {\n    const numMedia = parseInt(req.body.NumMedia || \"0\", 10);\n    const twiml = new twilio.twiml.MessagingResponse();\n    if (numMedia > 0) {\n        twiml.message(`Got your ${req.body.MediaContentType0} attachment!`);\n    } else {\n        twiml.message(\"Got your message.\");\n    }\n    res.type(\"text\u002Fxml\").send(twiml.toString());\n});\n```\n\n### Acknowledge Without Replying\n\n**Python**\n```python\nreturn str(MessagingResponse())  # Empty \u003CResponse\u002F>\n```\n\n**Node.js**\n```javascript\nres.type(\"text\u002Fxml\").send(new twilio.twiml.MessagingResponse().toString());\n```\n\n### Status Callbacks (delivery tracking)\n\nStatus callbacks fire for all channels — SMS, MMS, WhatsApp, and RCS.\n\n**Python**\n```python\nmessage = client.messages.create(\n    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to=\"+15558675310\",\n    body=\"Hello!\",\n    status_callback=\"https:\u002F\u002Fyourapp.com\u002Fstatus\"\n)\n```\n\n**Node.js**\n```javascript\nconst message = await client.messages.create({\n    messagingServiceSid: \"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to: \"+15558675310\",\n    body: \"Hello!\",\n    statusCallback: \"https:\u002F\u002Fyourapp.com\u002Fstatus\",\n});\n```\n\n**Python (Flask) — status callback handler**\n```python\n@app.route(\"\u002Fstatus\", methods=[\"POST\"])\ndef message_status():\n    message_sid = request.form.get(\"MessageSid\")\n    status = request.form.get(\"MessageStatus\")\n    error_code = request.form.get(\"ErrorCode\")\n    print(f\"{message_sid}: {status}\")\n    if status == \"failed\" and error_code:\n        print(f\"Error {error_code}: {request.form.get('ErrorMessage')}\")\n    return \"\", 204\n```\n\n**Node.js (Express) — status callback handler**\n```javascript\napp.post(\"\u002Fstatus\", (req, res) => {\n    const { MessageSid, MessageStatus, ErrorCode, ErrorMessage } = req.body;\n    console.log(`${MessageSid}: ${MessageStatus}`);\n    if (MessageStatus === \"failed\" && ErrorCode) {\n        console.log(`Error ${ErrorCode}: ${ErrorMessage}`);\n    }\n    res.sendStatus(204);\n});\n```\n\nStatus flow: `queued → sent → delivered` (or `undelivered`\u002F`failed`)\n\n### Webhook Signature Validation\n\n**Python (Flask)**\n```python\nfrom twilio.request_validator import RequestValidator\n\nvalidator = RequestValidator(os.environ[\"TWILIO_AUTH_TOKEN\"])\n\n@app.route(\"\u002Fincoming\", methods=[\"POST\"])\ndef incoming_message():\n    if not validator.validate(request.url, request.form, request.headers.get(\"X-Twilio-Signature\", \"\")):\n        return \"Forbidden\", 403\n    response = MessagingResponse()\n    response.message(\"Hello!\")\n    return str(response)\n```\n\n**Node.js**\n```javascript\nconst { validateRequest } = require(\"twilio\");\n\napp.post(\"\u002Fincoming\", (req, res) => {\n    const isValid = validateRequest(\n        process.env.TWILIO_AUTH_TOKEN,\n        req.headers[\"x-twilio-signature\"],\n        `https:\u002F\u002F${req.headers.host}${req.path}`,\n        req.body\n    );\n    if (!isValid) return res.status(403).send(\"Forbidden\");\n    const twiml = new twilio.twiml.MessagingResponse();\n    twiml.message(\"Hello!\");\n    res.type(\"text\u002Fxml\").send(twiml.toString());\n});\n```\n\n---\n\n## CANNOT\n\n- **Cannot exceed 15-second webhook response time** — Twilio retries on timeout\n- **Cannot return arbitrary content types** — Use `Content-Type: text\u002Fxml` with TwiML for replies; `204` for status callbacks\n- **Cannot use ngrok URLs across restarts** — URLs change on restart. Use a stable tunnel for persistent testing.\n- **Cannot guarantee delivery confirmation** — Status callbacks are best-effort. `delivered` requires carrier confirmation.\n\n---\n\n## Common Errors\n\n| Code | Meaning | Fix |\n|------|---------|-----|\n| 11200 | HTTP retrieval failure — Twilio cannot reach your webhook URL | Verify endpoint is reachable (`curl -I` the URL), check DNS, firewall, and SSL certificate validity. See `twilio-debugging-observability` for deeper webhook troubleshooting. |\n\n---\n\n## Next Steps\n\n- **Send outbound messages:** `twilio-send-message`\n- **Manage sender pools:** `twilio-messaging-services`\n",{"data":43,"body":44},{"name":4,"description":6},{"type":45,"children":46},"root",[47,56,71,75,81,162,165,171,182,227,247,255,367,375,879,882,888,895,900,908,947,955,1099,1118,1124,1277,1283,1290,1373,1380,1835,1841,1848,1862,1869,1969,1975,1980,1987,2041,2048,2237,2245,2324,2332,2703,2730,2736,2743,2832,2839,3419,3422,3428,3494,3497,3503,3564,3567,3573,3606],{"type":48,"tag":49,"props":50,"children":52},"element","h2",{"id":51},"overview",[53],{"type":54,"value":55},"text","Overview",{"type":48,"tag":57,"props":58,"children":59},"p",{},[60,62,69],{"type":54,"value":61},"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 ",{"type":48,"tag":63,"props":64,"children":66},"code",{"className":65},[],[67],{"type":54,"value":68},"204",{"type":54,"value":70}," to acknowledge without replying. The same webhook pattern works across SMS, MMS, WhatsApp, and RCS.",{"type":48,"tag":72,"props":73,"children":74},"hr",{},[],{"type":48,"tag":49,"props":76,"children":78},{"id":77},"prerequisites",[79],{"type":54,"value":80},"Prerequisites",{"type":48,"tag":82,"props":83,"children":84},"ul",{},[85,105,118,143],{"type":48,"tag":86,"props":87,"children":88},"li",{},[89,91,97,99],{"type":54,"value":90},"Twilio account with a messaging-capable sender configured with a webhook URL\n— New to Twilio? See ",{"type":48,"tag":63,"props":92,"children":94},{"className":93},[],[95],{"type":54,"value":96},"twilio-account-setup",{"type":54,"value":98},"\n— For sending outbound messages first, see ",{"type":48,"tag":63,"props":100,"children":102},{"className":101},[],[103],{"type":54,"value":104},"twilio-send-message",{"type":48,"tag":86,"props":106,"children":107},{},[108,110,116],{"type":54,"value":109},"Publicly accessible endpoint (use ",{"type":48,"tag":63,"props":111,"children":113},{"className":112},[],[114],{"type":54,"value":115},"ngrok http 5000",{"type":54,"value":117}," for local dev)",{"type":48,"tag":86,"props":119,"children":120},{},[121,127,129,135,137],{"type":48,"tag":63,"props":122,"children":124},{"className":123},[],[125],{"type":54,"value":126},"TWILIO_ACCOUNT_SID",{"type":54,"value":128}," and ",{"type":48,"tag":63,"props":130,"children":132},{"className":131},[],[133],{"type":54,"value":134},"TWILIO_AUTH_TOKEN",{"type":54,"value":136}," — see ",{"type":48,"tag":63,"props":138,"children":140},{"className":139},[],[141],{"type":54,"value":142},"twilio-iam-auth-setup",{"type":48,"tag":86,"props":144,"children":145},{},[146,148,154,156],{"type":54,"value":147},"SDK: ",{"type":48,"tag":63,"props":149,"children":151},{"className":150},[],[152],{"type":54,"value":153},"pip install twilio flask",{"type":54,"value":155}," \u002F ",{"type":48,"tag":63,"props":157,"children":159},{"className":158},[],[160],{"type":54,"value":161},"npm install twilio express",{"type":48,"tag":72,"props":163,"children":164},{},[],{"type":48,"tag":49,"props":166,"children":168},{"id":167},"quickstart",[169],{"type":54,"value":170},"Quickstart",{"type":48,"tag":57,"props":172,"children":173},{},[174,176],{"type":54,"value":175},"Set your webhook URL in Console: ",{"type":48,"tag":177,"props":178,"children":179},"strong",{},[180],{"type":54,"value":181},"Phone Numbers > Active Numbers > your number > Messaging > \"A Message Comes In\"",{"type":48,"tag":183,"props":184,"children":185},"blockquote",{},[186],{"type":48,"tag":57,"props":187,"children":188},{},[189,194,196,202,204,210,212,218,220,225],{"type":48,"tag":177,"props":190,"children":191},{},[192],{"type":54,"value":193},"Security:",{"type":54,"value":195}," The inbound message ",{"type":48,"tag":63,"props":197,"children":199},{"className":198},[],[200],{"type":54,"value":201},"Body",{"type":54,"value":203}," is untrusted external input. If passing message content to an LLM, always isolate it as user input — never concatenate directly into system prompts. Validate the request origin with ",{"type":48,"tag":63,"props":205,"children":207},{"className":206},[],[208],{"type":54,"value":209},"X-Twilio-Signature",{"type":54,"value":211}," (see Key Patterns below), but note that signature validation confirms the ",{"type":48,"tag":213,"props":214,"children":215},"em",{},[216],{"type":54,"value":217},"source",{"type":54,"value":219},", not that the ",{"type":48,"tag":213,"props":221,"children":222},{},[223],{"type":54,"value":224},"content",{"type":54,"value":226}," is safe.",{"type":48,"tag":183,"props":228,"children":229},{},[230],{"type":48,"tag":57,"props":231,"children":232},{},[233,238,240,245],{"type":48,"tag":177,"props":234,"children":235},{},[236],{"type":54,"value":237},"Note:",{"type":54,"value":239}," This quickstart omits signature validation for brevity. For production, always validate ",{"type":48,"tag":63,"props":241,"children":243},{"className":242},[],[244],{"type":54,"value":209},{"type":54,"value":246}," — see the Webhook Security pattern below.",{"type":48,"tag":57,"props":248,"children":249},{},[250],{"type":48,"tag":177,"props":251,"children":252},{},[253],{"type":54,"value":254},"Python (Flask)",{"type":48,"tag":256,"props":257,"children":262},"pre",{"className":258,"code":259,"language":260,"meta":261,"style":261},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from flask import Flask, request\nfrom twilio.twiml.messaging_response import MessagingResponse\n\napp = Flask(__name__)\n\n@app.route(\"\u002Fincoming\", methods=[\"POST\"])\ndef incoming_message():\n    body = request.form.get(\"Body\")\n    response = MessagingResponse()\n    response.message(f\"Got your message: {body}\")\n    return str(response)\n","python","",[263],{"type":48,"tag":63,"props":264,"children":265},{"__ignoreMap":261},[266,277,286,296,305,313,322,331,340,349,358],{"type":48,"tag":267,"props":268,"children":271},"span",{"class":269,"line":270},"line",1,[272],{"type":48,"tag":267,"props":273,"children":274},{},[275],{"type":54,"value":276},"from flask import Flask, request\n",{"type":48,"tag":267,"props":278,"children":280},{"class":269,"line":279},2,[281],{"type":48,"tag":267,"props":282,"children":283},{},[284],{"type":54,"value":285},"from twilio.twiml.messaging_response import MessagingResponse\n",{"type":48,"tag":267,"props":287,"children":289},{"class":269,"line":288},3,[290],{"type":48,"tag":267,"props":291,"children":293},{"emptyLinePlaceholder":292},true,[294],{"type":54,"value":295},"\n",{"type":48,"tag":267,"props":297,"children":299},{"class":269,"line":298},4,[300],{"type":48,"tag":267,"props":301,"children":302},{},[303],{"type":54,"value":304},"app = Flask(__name__)\n",{"type":48,"tag":267,"props":306,"children":308},{"class":269,"line":307},5,[309],{"type":48,"tag":267,"props":310,"children":311},{"emptyLinePlaceholder":292},[312],{"type":54,"value":295},{"type":48,"tag":267,"props":314,"children":316},{"class":269,"line":315},6,[317],{"type":48,"tag":267,"props":318,"children":319},{},[320],{"type":54,"value":321},"@app.route(\"\u002Fincoming\", methods=[\"POST\"])\n",{"type":48,"tag":267,"props":323,"children":325},{"class":269,"line":324},7,[326],{"type":48,"tag":267,"props":327,"children":328},{},[329],{"type":54,"value":330},"def incoming_message():\n",{"type":48,"tag":267,"props":332,"children":334},{"class":269,"line":333},8,[335],{"type":48,"tag":267,"props":336,"children":337},{},[338],{"type":54,"value":339},"    body = request.form.get(\"Body\")\n",{"type":48,"tag":267,"props":341,"children":343},{"class":269,"line":342},9,[344],{"type":48,"tag":267,"props":345,"children":346},{},[347],{"type":54,"value":348},"    response = MessagingResponse()\n",{"type":48,"tag":267,"props":350,"children":352},{"class":269,"line":351},10,[353],{"type":48,"tag":267,"props":354,"children":355},{},[356],{"type":54,"value":357},"    response.message(f\"Got your message: {body}\")\n",{"type":48,"tag":267,"props":359,"children":361},{"class":269,"line":360},11,[362],{"type":48,"tag":267,"props":363,"children":364},{},[365],{"type":54,"value":366},"    return str(response)\n",{"type":48,"tag":57,"props":368,"children":369},{},[370],{"type":48,"tag":177,"props":371,"children":372},{},[373],{"type":54,"value":374},"Node.js (Express)",{"type":48,"tag":256,"props":376,"children":380},{"className":377,"code":378,"language":379,"meta":261,"style":261},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const express = require(\"express\");\nconst twilio = require(\"twilio\");\nconst app = express();\napp.use(express.urlencoded({ extended: false }));\n\napp.post(\"\u002Fincoming\", (req, res) => {\n    const twiml = new twilio.twiml.MessagingResponse();\n    twiml.message(`Got your message: ${req.body.Body}`);\n    res.type(\"text\u002Fxml\").send(twiml.toString());\n});\n","javascript",[381],{"type":48,"tag":63,"props":382,"children":383},{"__ignoreMap":261},[384,441,485,515,587,594,666,720,790,863],{"type":48,"tag":267,"props":385,"children":386},{"class":269,"line":270},[387,393,399,405,411,416,421,427,431,436],{"type":48,"tag":267,"props":388,"children":390},{"style":389},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[391],{"type":54,"value":392},"const",{"type":48,"tag":267,"props":394,"children":396},{"style":395},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[397],{"type":54,"value":398}," express ",{"type":48,"tag":267,"props":400,"children":402},{"style":401},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[403],{"type":54,"value":404},"=",{"type":48,"tag":267,"props":406,"children":408},{"style":407},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[409],{"type":54,"value":410}," require",{"type":48,"tag":267,"props":412,"children":413},{"style":395},[414],{"type":54,"value":415},"(",{"type":48,"tag":267,"props":417,"children":418},{"style":401},[419],{"type":54,"value":420},"\"",{"type":48,"tag":267,"props":422,"children":424},{"style":423},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[425],{"type":54,"value":426},"express",{"type":48,"tag":267,"props":428,"children":429},{"style":401},[430],{"type":54,"value":420},{"type":48,"tag":267,"props":432,"children":433},{"style":395},[434],{"type":54,"value":435},")",{"type":48,"tag":267,"props":437,"children":438},{"style":401},[439],{"type":54,"value":440},";\n",{"type":48,"tag":267,"props":442,"children":443},{"class":269,"line":279},[444,448,453,457,461,465,469,473,477,481],{"type":48,"tag":267,"props":445,"children":446},{"style":389},[447],{"type":54,"value":392},{"type":48,"tag":267,"props":449,"children":450},{"style":395},[451],{"type":54,"value":452}," twilio ",{"type":48,"tag":267,"props":454,"children":455},{"style":401},[456],{"type":54,"value":404},{"type":48,"tag":267,"props":458,"children":459},{"style":407},[460],{"type":54,"value":410},{"type":48,"tag":267,"props":462,"children":463},{"style":395},[464],{"type":54,"value":415},{"type":48,"tag":267,"props":466,"children":467},{"style":401},[468],{"type":54,"value":420},{"type":48,"tag":267,"props":470,"children":471},{"style":423},[472],{"type":54,"value":30},{"type":48,"tag":267,"props":474,"children":475},{"style":401},[476],{"type":54,"value":420},{"type":48,"tag":267,"props":478,"children":479},{"style":395},[480],{"type":54,"value":435},{"type":48,"tag":267,"props":482,"children":483},{"style":401},[484],{"type":54,"value":440},{"type":48,"tag":267,"props":486,"children":487},{"class":269,"line":288},[488,492,497,501,506,511],{"type":48,"tag":267,"props":489,"children":490},{"style":389},[491],{"type":54,"value":392},{"type":48,"tag":267,"props":493,"children":494},{"style":395},[495],{"type":54,"value":496}," app ",{"type":48,"tag":267,"props":498,"children":499},{"style":401},[500],{"type":54,"value":404},{"type":48,"tag":267,"props":502,"children":503},{"style":407},[504],{"type":54,"value":505}," express",{"type":48,"tag":267,"props":507,"children":508},{"style":395},[509],{"type":54,"value":510},"()",{"type":48,"tag":267,"props":512,"children":513},{"style":401},[514],{"type":54,"value":440},{"type":48,"tag":267,"props":516,"children":517},{"class":269,"line":298},[518,523,528,533,538,542,547,551,556,562,567,573,578,583],{"type":48,"tag":267,"props":519,"children":520},{"style":395},[521],{"type":54,"value":522},"app",{"type":48,"tag":267,"props":524,"children":525},{"style":401},[526],{"type":54,"value":527},".",{"type":48,"tag":267,"props":529,"children":530},{"style":407},[531],{"type":54,"value":532},"use",{"type":48,"tag":267,"props":534,"children":535},{"style":395},[536],{"type":54,"value":537},"(express",{"type":48,"tag":267,"props":539,"children":540},{"style":401},[541],{"type":54,"value":527},{"type":48,"tag":267,"props":543,"children":544},{"style":407},[545],{"type":54,"value":546},"urlencoded",{"type":48,"tag":267,"props":548,"children":549},{"style":395},[550],{"type":54,"value":415},{"type":48,"tag":267,"props":552,"children":553},{"style":401},[554],{"type":54,"value":555},"{",{"type":48,"tag":267,"props":557,"children":559},{"style":558},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[560],{"type":54,"value":561}," extended",{"type":48,"tag":267,"props":563,"children":564},{"style":401},[565],{"type":54,"value":566},":",{"type":48,"tag":267,"props":568,"children":570},{"style":569},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[571],{"type":54,"value":572}," false",{"type":48,"tag":267,"props":574,"children":575},{"style":401},[576],{"type":54,"value":577}," }",{"type":48,"tag":267,"props":579,"children":580},{"style":395},[581],{"type":54,"value":582},"))",{"type":48,"tag":267,"props":584,"children":585},{"style":401},[586],{"type":54,"value":440},{"type":48,"tag":267,"props":588,"children":589},{"class":269,"line":307},[590],{"type":48,"tag":267,"props":591,"children":592},{"emptyLinePlaceholder":292},[593],{"type":54,"value":295},{"type":48,"tag":267,"props":595,"children":596},{"class":269,"line":315},[597,601,605,610,614,618,623,627,632,637,643,647,652,656,661],{"type":48,"tag":267,"props":598,"children":599},{"style":395},[600],{"type":54,"value":522},{"type":48,"tag":267,"props":602,"children":603},{"style":401},[604],{"type":54,"value":527},{"type":48,"tag":267,"props":606,"children":607},{"style":407},[608],{"type":54,"value":609},"post",{"type":48,"tag":267,"props":611,"children":612},{"style":395},[613],{"type":54,"value":415},{"type":48,"tag":267,"props":615,"children":616},{"style":401},[617],{"type":54,"value":420},{"type":48,"tag":267,"props":619,"children":620},{"style":423},[621],{"type":54,"value":622},"\u002Fincoming",{"type":48,"tag":267,"props":624,"children":625},{"style":401},[626],{"type":54,"value":420},{"type":48,"tag":267,"props":628,"children":629},{"style":401},[630],{"type":54,"value":631},",",{"type":48,"tag":267,"props":633,"children":634},{"style":401},[635],{"type":54,"value":636}," (",{"type":48,"tag":267,"props":638,"children":640},{"style":639},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[641],{"type":54,"value":642},"req",{"type":48,"tag":267,"props":644,"children":645},{"style":401},[646],{"type":54,"value":631},{"type":48,"tag":267,"props":648,"children":649},{"style":639},[650],{"type":54,"value":651}," res",{"type":48,"tag":267,"props":653,"children":654},{"style":401},[655],{"type":54,"value":435},{"type":48,"tag":267,"props":657,"children":658},{"style":389},[659],{"type":54,"value":660}," =>",{"type":48,"tag":267,"props":662,"children":663},{"style":401},[664],{"type":54,"value":665}," {\n",{"type":48,"tag":267,"props":667,"children":668},{"class":269,"line":324},[669,674,679,684,689,694,698,703,707,712,716],{"type":48,"tag":267,"props":670,"children":671},{"style":389},[672],{"type":54,"value":673},"    const",{"type":48,"tag":267,"props":675,"children":676},{"style":395},[677],{"type":54,"value":678}," twiml",{"type":48,"tag":267,"props":680,"children":681},{"style":401},[682],{"type":54,"value":683}," =",{"type":48,"tag":267,"props":685,"children":686},{"style":401},[687],{"type":54,"value":688}," new",{"type":48,"tag":267,"props":690,"children":691},{"style":395},[692],{"type":54,"value":693}," twilio",{"type":48,"tag":267,"props":695,"children":696},{"style":401},[697],{"type":54,"value":527},{"type":48,"tag":267,"props":699,"children":700},{"style":395},[701],{"type":54,"value":702},"twiml",{"type":48,"tag":267,"props":704,"children":705},{"style":401},[706],{"type":54,"value":527},{"type":48,"tag":267,"props":708,"children":709},{"style":407},[710],{"type":54,"value":711},"MessagingResponse",{"type":48,"tag":267,"props":713,"children":714},{"style":558},[715],{"type":54,"value":510},{"type":48,"tag":267,"props":717,"children":718},{"style":401},[719],{"type":54,"value":440},{"type":48,"tag":267,"props":721,"children":722},{"class":269,"line":333},[723,728,732,737,741,746,751,756,760,764,769,773,777,782,786],{"type":48,"tag":267,"props":724,"children":725},{"style":395},[726],{"type":54,"value":727},"    twiml",{"type":48,"tag":267,"props":729,"children":730},{"style":401},[731],{"type":54,"value":527},{"type":48,"tag":267,"props":733,"children":734},{"style":407},[735],{"type":54,"value":736},"message",{"type":48,"tag":267,"props":738,"children":739},{"style":558},[740],{"type":54,"value":415},{"type":48,"tag":267,"props":742,"children":743},{"style":401},[744],{"type":54,"value":745},"`",{"type":48,"tag":267,"props":747,"children":748},{"style":423},[749],{"type":54,"value":750},"Got your message: ",{"type":48,"tag":267,"props":752,"children":753},{"style":401},[754],{"type":54,"value":755},"${",{"type":48,"tag":267,"props":757,"children":758},{"style":395},[759],{"type":54,"value":642},{"type":48,"tag":267,"props":761,"children":762},{"style":401},[763],{"type":54,"value":527},{"type":48,"tag":267,"props":765,"children":766},{"style":395},[767],{"type":54,"value":768},"body",{"type":48,"tag":267,"props":770,"children":771},{"style":401},[772],{"type":54,"value":527},{"type":48,"tag":267,"props":774,"children":775},{"style":395},[776],{"type":54,"value":201},{"type":48,"tag":267,"props":778,"children":779},{"style":401},[780],{"type":54,"value":781},"}`",{"type":48,"tag":267,"props":783,"children":784},{"style":558},[785],{"type":54,"value":435},{"type":48,"tag":267,"props":787,"children":788},{"style":401},[789],{"type":54,"value":440},{"type":48,"tag":267,"props":791,"children":792},{"class":269,"line":342},[793,798,802,807,811,815,820,824,828,832,837,841,845,849,854,859],{"type":48,"tag":267,"props":794,"children":795},{"style":395},[796],{"type":54,"value":797},"    res",{"type":48,"tag":267,"props":799,"children":800},{"style":401},[801],{"type":54,"value":527},{"type":48,"tag":267,"props":803,"children":804},{"style":407},[805],{"type":54,"value":806},"type",{"type":48,"tag":267,"props":808,"children":809},{"style":558},[810],{"type":54,"value":415},{"type":48,"tag":267,"props":812,"children":813},{"style":401},[814],{"type":54,"value":420},{"type":48,"tag":267,"props":816,"children":817},{"style":423},[818],{"type":54,"value":819},"text\u002Fxml",{"type":48,"tag":267,"props":821,"children":822},{"style":401},[823],{"type":54,"value":420},{"type":48,"tag":267,"props":825,"children":826},{"style":558},[827],{"type":54,"value":435},{"type":48,"tag":267,"props":829,"children":830},{"style":401},[831],{"type":54,"value":527},{"type":48,"tag":267,"props":833,"children":834},{"style":407},[835],{"type":54,"value":836},"send",{"type":48,"tag":267,"props":838,"children":839},{"style":558},[840],{"type":54,"value":415},{"type":48,"tag":267,"props":842,"children":843},{"style":395},[844],{"type":54,"value":702},{"type":48,"tag":267,"props":846,"children":847},{"style":401},[848],{"type":54,"value":527},{"type":48,"tag":267,"props":850,"children":851},{"style":407},[852],{"type":54,"value":853},"toString",{"type":48,"tag":267,"props":855,"children":856},{"style":558},[857],{"type":54,"value":858},"())",{"type":48,"tag":267,"props":860,"children":861},{"style":401},[862],{"type":54,"value":440},{"type":48,"tag":267,"props":864,"children":865},{"class":269,"line":351},[866,871,875],{"type":48,"tag":267,"props":867,"children":868},{"style":401},[869],{"type":54,"value":870},"}",{"type":48,"tag":267,"props":872,"children":873},{"style":395},[874],{"type":54,"value":435},{"type":48,"tag":267,"props":876,"children":877},{"style":401},[878],{"type":54,"value":440},{"type":48,"tag":72,"props":880,"children":881},{},[],{"type":48,"tag":49,"props":883,"children":885},{"id":884},"key-patterns",[886],{"type":54,"value":887},"Key Patterns",{"type":48,"tag":889,"props":890,"children":892},"h3",{"id":891},"configure-webhook-url-via-api",[893],{"type":54,"value":894},"Configure Webhook URL via API",{"type":48,"tag":57,"props":896,"children":897},{},[898],{"type":54,"value":899},"For SMS\u002FMMS on a phone number:",{"type":48,"tag":57,"props":901,"children":902},{},[903],{"type":48,"tag":177,"props":904,"children":905},{},[906],{"type":54,"value":907},"Python",{"type":48,"tag":256,"props":909,"children":911},{"className":258,"code":910,"language":260,"meta":261,"style":261},"client.incoming_phone_numbers(\"PNxxxxxxxxxx\").update(\n    sms_url=\"https:\u002F\u002Fyourapp.com\u002Fincoming\",\n    sms_method=\"POST\"\n)\n",[912],{"type":48,"tag":63,"props":913,"children":914},{"__ignoreMap":261},[915,923,931,939],{"type":48,"tag":267,"props":916,"children":917},{"class":269,"line":270},[918],{"type":48,"tag":267,"props":919,"children":920},{},[921],{"type":54,"value":922},"client.incoming_phone_numbers(\"PNxxxxxxxxxx\").update(\n",{"type":48,"tag":267,"props":924,"children":925},{"class":269,"line":279},[926],{"type":48,"tag":267,"props":927,"children":928},{},[929],{"type":54,"value":930},"    sms_url=\"https:\u002F\u002Fyourapp.com\u002Fincoming\",\n",{"type":48,"tag":267,"props":932,"children":933},{"class":269,"line":288},[934],{"type":48,"tag":267,"props":935,"children":936},{},[937],{"type":54,"value":938},"    sms_method=\"POST\"\n",{"type":48,"tag":267,"props":940,"children":941},{"class":269,"line":298},[942],{"type":48,"tag":267,"props":943,"children":944},{},[945],{"type":54,"value":946},")\n",{"type":48,"tag":57,"props":948,"children":949},{},[950],{"type":48,"tag":177,"props":951,"children":952},{},[953],{"type":54,"value":954},"Node.js",{"type":48,"tag":256,"props":956,"children":958},{"className":377,"code":957,"language":379,"meta":261,"style":261},"await client.incomingPhoneNumbers(\"PNxxxxxxxxxx\").update({\n    smsUrl: \"https:\u002F\u002Fyourapp.com\u002Fincoming\",\n    smsMethod: \"POST\",\n});\n",[959],{"type":48,"tag":63,"props":960,"children":961},{"__ignoreMap":261},[962,1024,1055,1084],{"type":48,"tag":267,"props":963,"children":964},{"class":269,"line":270},[965,971,976,980,985,989,993,998,1002,1006,1010,1015,1019],{"type":48,"tag":267,"props":966,"children":968},{"style":967},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[969],{"type":54,"value":970},"await",{"type":48,"tag":267,"props":972,"children":973},{"style":395},[974],{"type":54,"value":975}," client",{"type":48,"tag":267,"props":977,"children":978},{"style":401},[979],{"type":54,"value":527},{"type":48,"tag":267,"props":981,"children":982},{"style":407},[983],{"type":54,"value":984},"incomingPhoneNumbers",{"type":48,"tag":267,"props":986,"children":987},{"style":395},[988],{"type":54,"value":415},{"type":48,"tag":267,"props":990,"children":991},{"style":401},[992],{"type":54,"value":420},{"type":48,"tag":267,"props":994,"children":995},{"style":423},[996],{"type":54,"value":997},"PNxxxxxxxxxx",{"type":48,"tag":267,"props":999,"children":1000},{"style":401},[1001],{"type":54,"value":420},{"type":48,"tag":267,"props":1003,"children":1004},{"style":395},[1005],{"type":54,"value":435},{"type":48,"tag":267,"props":1007,"children":1008},{"style":401},[1009],{"type":54,"value":527},{"type":48,"tag":267,"props":1011,"children":1012},{"style":407},[1013],{"type":54,"value":1014},"update",{"type":48,"tag":267,"props":1016,"children":1017},{"style":395},[1018],{"type":54,"value":415},{"type":48,"tag":267,"props":1020,"children":1021},{"style":401},[1022],{"type":54,"value":1023},"{\n",{"type":48,"tag":267,"props":1025,"children":1026},{"class":269,"line":279},[1027,1032,1036,1041,1046,1050],{"type":48,"tag":267,"props":1028,"children":1029},{"style":558},[1030],{"type":54,"value":1031},"    smsUrl",{"type":48,"tag":267,"props":1033,"children":1034},{"style":401},[1035],{"type":54,"value":566},{"type":48,"tag":267,"props":1037,"children":1038},{"style":401},[1039],{"type":54,"value":1040}," \"",{"type":48,"tag":267,"props":1042,"children":1043},{"style":423},[1044],{"type":54,"value":1045},"https:\u002F\u002Fyourapp.com\u002Fincoming",{"type":48,"tag":267,"props":1047,"children":1048},{"style":401},[1049],{"type":54,"value":420},{"type":48,"tag":267,"props":1051,"children":1052},{"style":401},[1053],{"type":54,"value":1054},",\n",{"type":48,"tag":267,"props":1056,"children":1057},{"class":269,"line":288},[1058,1063,1067,1071,1076,1080],{"type":48,"tag":267,"props":1059,"children":1060},{"style":558},[1061],{"type":54,"value":1062},"    smsMethod",{"type":48,"tag":267,"props":1064,"children":1065},{"style":401},[1066],{"type":54,"value":566},{"type":48,"tag":267,"props":1068,"children":1069},{"style":401},[1070],{"type":54,"value":1040},{"type":48,"tag":267,"props":1072,"children":1073},{"style":423},[1074],{"type":54,"value":1075},"POST",{"type":48,"tag":267,"props":1077,"children":1078},{"style":401},[1079],{"type":54,"value":420},{"type":48,"tag":267,"props":1081,"children":1082},{"style":401},[1083],{"type":54,"value":1054},{"type":48,"tag":267,"props":1085,"children":1086},{"class":269,"line":298},[1087,1091,1095],{"type":48,"tag":267,"props":1088,"children":1089},{"style":401},[1090],{"type":54,"value":870},{"type":48,"tag":267,"props":1092,"children":1093},{"style":395},[1094],{"type":54,"value":435},{"type":48,"tag":267,"props":1096,"children":1097},{"style":401},[1098],{"type":54,"value":440},{"type":48,"tag":57,"props":1100,"children":1101},{},[1102,1104,1110,1111,1117],{"type":54,"value":1103},"For WhatsApp and RCS, webhook URLs are configured on the sender — see ",{"type":48,"tag":63,"props":1105,"children":1107},{"className":1106},[],[1108],{"type":54,"value":1109},"twilio-whatsapp-manage-senders",{"type":54,"value":128},{"type":48,"tag":63,"props":1112,"children":1114},{"className":1113},[],[1115],{"type":54,"value":1116},"twilio-rcs-messaging",{"type":54,"value":527},{"type":48,"tag":889,"props":1119,"children":1121},{"id":1120},"inbound-webhook-parameters",[1122],{"type":54,"value":1123},"Inbound Webhook Parameters",{"type":48,"tag":1125,"props":1126,"children":1127},"table",{},[1128,1147],{"type":48,"tag":1129,"props":1130,"children":1131},"thead",{},[1132],{"type":48,"tag":1133,"props":1134,"children":1135},"tr",{},[1136,1142],{"type":48,"tag":1137,"props":1138,"children":1139},"th",{},[1140],{"type":54,"value":1141},"Parameter",{"type":48,"tag":1137,"props":1143,"children":1144},{},[1145],{"type":54,"value":1146},"Description",{"type":48,"tag":1148,"props":1149,"children":1150},"tbody",{},[1151,1169,1193,1210,1226,1243,1260],{"type":48,"tag":1133,"props":1152,"children":1153},{},[1154,1164],{"type":48,"tag":1155,"props":1156,"children":1157},"td",{},[1158],{"type":48,"tag":63,"props":1159,"children":1161},{"className":1160},[],[1162],{"type":54,"value":1163},"MessageSid",{"type":48,"tag":1155,"props":1165,"children":1166},{},[1167],{"type":54,"value":1168},"Unique message identifier",{"type":48,"tag":1133,"props":1170,"children":1171},{},[1172,1181],{"type":48,"tag":1155,"props":1173,"children":1174},{},[1175],{"type":48,"tag":63,"props":1176,"children":1178},{"className":1177},[],[1179],{"type":54,"value":1180},"From",{"type":48,"tag":1155,"props":1182,"children":1183},{},[1184,1186,1192],{"type":54,"value":1185},"Sender's phone number or channel address (E.164, or ",{"type":48,"tag":63,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":54,"value":1191},"whatsapp:+...",{"type":54,"value":435},{"type":48,"tag":1133,"props":1194,"children":1195},{},[1196,1205],{"type":48,"tag":1155,"props":1197,"children":1198},{},[1199],{"type":48,"tag":63,"props":1200,"children":1202},{"className":1201},[],[1203],{"type":54,"value":1204},"To",{"type":48,"tag":1155,"props":1206,"children":1207},{},[1208],{"type":54,"value":1209},"Your Twilio number or channel address",{"type":48,"tag":1133,"props":1211,"children":1212},{},[1213,1221],{"type":48,"tag":1155,"props":1214,"children":1215},{},[1216],{"type":48,"tag":63,"props":1217,"children":1219},{"className":1218},[],[1220],{"type":54,"value":201},{"type":48,"tag":1155,"props":1222,"children":1223},{},[1224],{"type":54,"value":1225},"Message text",{"type":48,"tag":1133,"props":1227,"children":1228},{},[1229,1238],{"type":48,"tag":1155,"props":1230,"children":1231},{},[1232],{"type":48,"tag":63,"props":1233,"children":1235},{"className":1234},[],[1236],{"type":54,"value":1237},"NumMedia",{"type":48,"tag":1155,"props":1239,"children":1240},{},[1241],{"type":54,"value":1242},"Number of media attachments",{"type":48,"tag":1133,"props":1244,"children":1245},{},[1246,1255],{"type":48,"tag":1155,"props":1247,"children":1248},{},[1249],{"type":48,"tag":63,"props":1250,"children":1252},{"className":1251},[],[1253],{"type":54,"value":1254},"MediaUrl0",{"type":48,"tag":1155,"props":1256,"children":1257},{},[1258],{"type":54,"value":1259},"URL of first media attachment (if any)",{"type":48,"tag":1133,"props":1261,"children":1262},{},[1263,1272],{"type":48,"tag":1155,"props":1264,"children":1265},{},[1266],{"type":48,"tag":63,"props":1267,"children":1269},{"className":1268},[],[1270],{"type":54,"value":1271},"MediaContentType0",{"type":48,"tag":1155,"props":1273,"children":1274},{},[1275],{"type":54,"value":1276},"MIME type of first attachment",{"type":48,"tag":889,"props":1278,"children":1280},{"id":1279},"handle-inbound-media-mms-whatsapp-rcs",[1281],{"type":54,"value":1282},"Handle Inbound Media (MMS \u002F WhatsApp \u002F RCS)",{"type":48,"tag":57,"props":1284,"children":1285},{},[1286],{"type":48,"tag":177,"props":1287,"children":1288},{},[1289],{"type":54,"value":254},{"type":48,"tag":256,"props":1291,"children":1293},{"className":258,"code":1292,"language":260,"meta":261,"style":261},"@app.route(\"\u002Fincoming\", methods=[\"POST\"])\ndef incoming_message():\n    num_media = int(request.form.get(\"NumMedia\", 0))\n    response = MessagingResponse()\n    if num_media > 0:\n        media_type = request.form.get(\"MediaContentType0\")\n        response.message(f\"Got your {media_type} attachment!\")\n    else:\n        response.message(\"Got your message.\")\n    return str(response)\n",[1294],{"type":48,"tag":63,"props":1295,"children":1296},{"__ignoreMap":261},[1297,1304,1311,1319,1326,1334,1342,1350,1358,1366],{"type":48,"tag":267,"props":1298,"children":1299},{"class":269,"line":270},[1300],{"type":48,"tag":267,"props":1301,"children":1302},{},[1303],{"type":54,"value":321},{"type":48,"tag":267,"props":1305,"children":1306},{"class":269,"line":279},[1307],{"type":48,"tag":267,"props":1308,"children":1309},{},[1310],{"type":54,"value":330},{"type":48,"tag":267,"props":1312,"children":1313},{"class":269,"line":288},[1314],{"type":48,"tag":267,"props":1315,"children":1316},{},[1317],{"type":54,"value":1318},"    num_media = int(request.form.get(\"NumMedia\", 0))\n",{"type":48,"tag":267,"props":1320,"children":1321},{"class":269,"line":298},[1322],{"type":48,"tag":267,"props":1323,"children":1324},{},[1325],{"type":54,"value":348},{"type":48,"tag":267,"props":1327,"children":1328},{"class":269,"line":307},[1329],{"type":48,"tag":267,"props":1330,"children":1331},{},[1332],{"type":54,"value":1333},"    if num_media > 0:\n",{"type":48,"tag":267,"props":1335,"children":1336},{"class":269,"line":315},[1337],{"type":48,"tag":267,"props":1338,"children":1339},{},[1340],{"type":54,"value":1341},"        media_type = request.form.get(\"MediaContentType0\")\n",{"type":48,"tag":267,"props":1343,"children":1344},{"class":269,"line":324},[1345],{"type":48,"tag":267,"props":1346,"children":1347},{},[1348],{"type":54,"value":1349},"        response.message(f\"Got your {media_type} attachment!\")\n",{"type":48,"tag":267,"props":1351,"children":1352},{"class":269,"line":333},[1353],{"type":48,"tag":267,"props":1354,"children":1355},{},[1356],{"type":54,"value":1357},"    else:\n",{"type":48,"tag":267,"props":1359,"children":1360},{"class":269,"line":342},[1361],{"type":48,"tag":267,"props":1362,"children":1363},{},[1364],{"type":54,"value":1365},"        response.message(\"Got your message.\")\n",{"type":48,"tag":267,"props":1367,"children":1368},{"class":269,"line":351},[1369],{"type":48,"tag":267,"props":1370,"children":1371},{},[1372],{"type":54,"value":366},{"type":48,"tag":57,"props":1374,"children":1375},{},[1376],{"type":48,"tag":177,"props":1377,"children":1378},{},[1379],{"type":54,"value":374},{"type":48,"tag":256,"props":1381,"children":1383},{"className":377,"code":1382,"language":379,"meta":261,"style":261},"app.post(\"\u002Fincoming\", (req, res) => {\n    const numMedia = parseInt(req.body.NumMedia || \"0\", 10);\n    const twiml = new twilio.twiml.MessagingResponse();\n    if (numMedia > 0) {\n        twiml.message(`Got your ${req.body.MediaContentType0} attachment!`);\n    } else {\n        twiml.message(\"Got your message.\");\n    }\n    res.type(\"text\u002Fxml\").send(twiml.toString());\n});\n",[1384],{"type":48,"tag":63,"props":1385,"children":1386},{"__ignoreMap":261},[1387,1450,1531,1578,1614,1688,1705,1745,1753,1820],{"type":48,"tag":267,"props":1388,"children":1389},{"class":269,"line":270},[1390,1394,1398,1402,1406,1410,1414,1418,1422,1426,1430,1434,1438,1442,1446],{"type":48,"tag":267,"props":1391,"children":1392},{"style":395},[1393],{"type":54,"value":522},{"type":48,"tag":267,"props":1395,"children":1396},{"style":401},[1397],{"type":54,"value":527},{"type":48,"tag":267,"props":1399,"children":1400},{"style":407},[1401],{"type":54,"value":609},{"type":48,"tag":267,"props":1403,"children":1404},{"style":395},[1405],{"type":54,"value":415},{"type":48,"tag":267,"props":1407,"children":1408},{"style":401},[1409],{"type":54,"value":420},{"type":48,"tag":267,"props":1411,"children":1412},{"style":423},[1413],{"type":54,"value":622},{"type":48,"tag":267,"props":1415,"children":1416},{"style":401},[1417],{"type":54,"value":420},{"type":48,"tag":267,"props":1419,"children":1420},{"style":401},[1421],{"type":54,"value":631},{"type":48,"tag":267,"props":1423,"children":1424},{"style":401},[1425],{"type":54,"value":636},{"type":48,"tag":267,"props":1427,"children":1428},{"style":639},[1429],{"type":54,"value":642},{"type":48,"tag":267,"props":1431,"children":1432},{"style":401},[1433],{"type":54,"value":631},{"type":48,"tag":267,"props":1435,"children":1436},{"style":639},[1437],{"type":54,"value":651},{"type":48,"tag":267,"props":1439,"children":1440},{"style":401},[1441],{"type":54,"value":435},{"type":48,"tag":267,"props":1443,"children":1444},{"style":389},[1445],{"type":54,"value":660},{"type":48,"tag":267,"props":1447,"children":1448},{"style":401},[1449],{"type":54,"value":665},{"type":48,"tag":267,"props":1451,"children":1452},{"class":269,"line":279},[1453,1457,1462,1466,1471,1475,1479,1483,1487,1491,1495,1500,1504,1509,1513,1517,1523,1527],{"type":48,"tag":267,"props":1454,"children":1455},{"style":389},[1456],{"type":54,"value":673},{"type":48,"tag":267,"props":1458,"children":1459},{"style":395},[1460],{"type":54,"value":1461}," numMedia",{"type":48,"tag":267,"props":1463,"children":1464},{"style":401},[1465],{"type":54,"value":683},{"type":48,"tag":267,"props":1467,"children":1468},{"style":407},[1469],{"type":54,"value":1470}," parseInt",{"type":48,"tag":267,"props":1472,"children":1473},{"style":558},[1474],{"type":54,"value":415},{"type":48,"tag":267,"props":1476,"children":1477},{"style":395},[1478],{"type":54,"value":642},{"type":48,"tag":267,"props":1480,"children":1481},{"style":401},[1482],{"type":54,"value":527},{"type":48,"tag":267,"props":1484,"children":1485},{"style":395},[1486],{"type":54,"value":768},{"type":48,"tag":267,"props":1488,"children":1489},{"style":401},[1490],{"type":54,"value":527},{"type":48,"tag":267,"props":1492,"children":1493},{"style":395},[1494],{"type":54,"value":1237},{"type":48,"tag":267,"props":1496,"children":1497},{"style":401},[1498],{"type":54,"value":1499}," ||",{"type":48,"tag":267,"props":1501,"children":1502},{"style":401},[1503],{"type":54,"value":1040},{"type":48,"tag":267,"props":1505,"children":1506},{"style":423},[1507],{"type":54,"value":1508},"0",{"type":48,"tag":267,"props":1510,"children":1511},{"style":401},[1512],{"type":54,"value":420},{"type":48,"tag":267,"props":1514,"children":1515},{"style":401},[1516],{"type":54,"value":631},{"type":48,"tag":267,"props":1518,"children":1520},{"style":1519},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1521],{"type":54,"value":1522}," 10",{"type":48,"tag":267,"props":1524,"children":1525},{"style":558},[1526],{"type":54,"value":435},{"type":48,"tag":267,"props":1528,"children":1529},{"style":401},[1530],{"type":54,"value":440},{"type":48,"tag":267,"props":1532,"children":1533},{"class":269,"line":288},[1534,1538,1542,1546,1550,1554,1558,1562,1566,1570,1574],{"type":48,"tag":267,"props":1535,"children":1536},{"style":389},[1537],{"type":54,"value":673},{"type":48,"tag":267,"props":1539,"children":1540},{"style":395},[1541],{"type":54,"value":678},{"type":48,"tag":267,"props":1543,"children":1544},{"style":401},[1545],{"type":54,"value":683},{"type":48,"tag":267,"props":1547,"children":1548},{"style":401},[1549],{"type":54,"value":688},{"type":48,"tag":267,"props":1551,"children":1552},{"style":395},[1553],{"type":54,"value":693},{"type":48,"tag":267,"props":1555,"children":1556},{"style":401},[1557],{"type":54,"value":527},{"type":48,"tag":267,"props":1559,"children":1560},{"style":395},[1561],{"type":54,"value":702},{"type":48,"tag":267,"props":1563,"children":1564},{"style":401},[1565],{"type":54,"value":527},{"type":48,"tag":267,"props":1567,"children":1568},{"style":407},[1569],{"type":54,"value":711},{"type":48,"tag":267,"props":1571,"children":1572},{"style":558},[1573],{"type":54,"value":510},{"type":48,"tag":267,"props":1575,"children":1576},{"style":401},[1577],{"type":54,"value":440},{"type":48,"tag":267,"props":1579,"children":1580},{"class":269,"line":298},[1581,1586,1590,1595,1600,1605,1610],{"type":48,"tag":267,"props":1582,"children":1583},{"style":967},[1584],{"type":54,"value":1585},"    if",{"type":48,"tag":267,"props":1587,"children":1588},{"style":558},[1589],{"type":54,"value":636},{"type":48,"tag":267,"props":1591,"children":1592},{"style":395},[1593],{"type":54,"value":1594},"numMedia",{"type":48,"tag":267,"props":1596,"children":1597},{"style":401},[1598],{"type":54,"value":1599}," >",{"type":48,"tag":267,"props":1601,"children":1602},{"style":1519},[1603],{"type":54,"value":1604}," 0",{"type":48,"tag":267,"props":1606,"children":1607},{"style":558},[1608],{"type":54,"value":1609},") ",{"type":48,"tag":267,"props":1611,"children":1612},{"style":401},[1613],{"type":54,"value":1023},{"type":48,"tag":267,"props":1615,"children":1616},{"class":269,"line":307},[1617,1622,1626,1630,1634,1638,1643,1647,1651,1655,1659,1663,1667,1671,1676,1680,1684],{"type":48,"tag":267,"props":1618,"children":1619},{"style":395},[1620],{"type":54,"value":1621},"        twiml",{"type":48,"tag":267,"props":1623,"children":1624},{"style":401},[1625],{"type":54,"value":527},{"type":48,"tag":267,"props":1627,"children":1628},{"style":407},[1629],{"type":54,"value":736},{"type":48,"tag":267,"props":1631,"children":1632},{"style":558},[1633],{"type":54,"value":415},{"type":48,"tag":267,"props":1635,"children":1636},{"style":401},[1637],{"type":54,"value":745},{"type":48,"tag":267,"props":1639,"children":1640},{"style":423},[1641],{"type":54,"value":1642},"Got your ",{"type":48,"tag":267,"props":1644,"children":1645},{"style":401},[1646],{"type":54,"value":755},{"type":48,"tag":267,"props":1648,"children":1649},{"style":395},[1650],{"type":54,"value":642},{"type":48,"tag":267,"props":1652,"children":1653},{"style":401},[1654],{"type":54,"value":527},{"type":48,"tag":267,"props":1656,"children":1657},{"style":395},[1658],{"type":54,"value":768},{"type":48,"tag":267,"props":1660,"children":1661},{"style":401},[1662],{"type":54,"value":527},{"type":48,"tag":267,"props":1664,"children":1665},{"style":395},[1666],{"type":54,"value":1271},{"type":48,"tag":267,"props":1668,"children":1669},{"style":401},[1670],{"type":54,"value":870},{"type":48,"tag":267,"props":1672,"children":1673},{"style":423},[1674],{"type":54,"value":1675}," attachment!",{"type":48,"tag":267,"props":1677,"children":1678},{"style":401},[1679],{"type":54,"value":745},{"type":48,"tag":267,"props":1681,"children":1682},{"style":558},[1683],{"type":54,"value":435},{"type":48,"tag":267,"props":1685,"children":1686},{"style":401},[1687],{"type":54,"value":440},{"type":48,"tag":267,"props":1689,"children":1690},{"class":269,"line":315},[1691,1696,1701],{"type":48,"tag":267,"props":1692,"children":1693},{"style":401},[1694],{"type":54,"value":1695},"    }",{"type":48,"tag":267,"props":1697,"children":1698},{"style":967},[1699],{"type":54,"value":1700}," else",{"type":48,"tag":267,"props":1702,"children":1703},{"style":401},[1704],{"type":54,"value":665},{"type":48,"tag":267,"props":1706,"children":1707},{"class":269,"line":324},[1708,1712,1716,1720,1724,1728,1733,1737,1741],{"type":48,"tag":267,"props":1709,"children":1710},{"style":395},[1711],{"type":54,"value":1621},{"type":48,"tag":267,"props":1713,"children":1714},{"style":401},[1715],{"type":54,"value":527},{"type":48,"tag":267,"props":1717,"children":1718},{"style":407},[1719],{"type":54,"value":736},{"type":48,"tag":267,"props":1721,"children":1722},{"style":558},[1723],{"type":54,"value":415},{"type":48,"tag":267,"props":1725,"children":1726},{"style":401},[1727],{"type":54,"value":420},{"type":48,"tag":267,"props":1729,"children":1730},{"style":423},[1731],{"type":54,"value":1732},"Got your message.",{"type":48,"tag":267,"props":1734,"children":1735},{"style":401},[1736],{"type":54,"value":420},{"type":48,"tag":267,"props":1738,"children":1739},{"style":558},[1740],{"type":54,"value":435},{"type":48,"tag":267,"props":1742,"children":1743},{"style":401},[1744],{"type":54,"value":440},{"type":48,"tag":267,"props":1746,"children":1747},{"class":269,"line":333},[1748],{"type":48,"tag":267,"props":1749,"children":1750},{"style":401},[1751],{"type":54,"value":1752},"    }\n",{"type":48,"tag":267,"props":1754,"children":1755},{"class":269,"line":342},[1756,1760,1764,1768,1772,1776,1780,1784,1788,1792,1796,1800,1804,1808,1812,1816],{"type":48,"tag":267,"props":1757,"children":1758},{"style":395},[1759],{"type":54,"value":797},{"type":48,"tag":267,"props":1761,"children":1762},{"style":401},[1763],{"type":54,"value":527},{"type":48,"tag":267,"props":1765,"children":1766},{"style":407},[1767],{"type":54,"value":806},{"type":48,"tag":267,"props":1769,"children":1770},{"style":558},[1771],{"type":54,"value":415},{"type":48,"tag":267,"props":1773,"children":1774},{"style":401},[1775],{"type":54,"value":420},{"type":48,"tag":267,"props":1777,"children":1778},{"style":423},[1779],{"type":54,"value":819},{"type":48,"tag":267,"props":1781,"children":1782},{"style":401},[1783],{"type":54,"value":420},{"type":48,"tag":267,"props":1785,"children":1786},{"style":558},[1787],{"type":54,"value":435},{"type":48,"tag":267,"props":1789,"children":1790},{"style":401},[1791],{"type":54,"value":527},{"type":48,"tag":267,"props":1793,"children":1794},{"style":407},[1795],{"type":54,"value":836},{"type":48,"tag":267,"props":1797,"children":1798},{"style":558},[1799],{"type":54,"value":415},{"type":48,"tag":267,"props":1801,"children":1802},{"style":395},[1803],{"type":54,"value":702},{"type":48,"tag":267,"props":1805,"children":1806},{"style":401},[1807],{"type":54,"value":527},{"type":48,"tag":267,"props":1809,"children":1810},{"style":407},[1811],{"type":54,"value":853},{"type":48,"tag":267,"props":1813,"children":1814},{"style":558},[1815],{"type":54,"value":858},{"type":48,"tag":267,"props":1817,"children":1818},{"style":401},[1819],{"type":54,"value":440},{"type":48,"tag":267,"props":1821,"children":1822},{"class":269,"line":351},[1823,1827,1831],{"type":48,"tag":267,"props":1824,"children":1825},{"style":401},[1826],{"type":54,"value":870},{"type":48,"tag":267,"props":1828,"children":1829},{"style":395},[1830],{"type":54,"value":435},{"type":48,"tag":267,"props":1832,"children":1833},{"style":401},[1834],{"type":54,"value":440},{"type":48,"tag":889,"props":1836,"children":1838},{"id":1837},"acknowledge-without-replying",[1839],{"type":54,"value":1840},"Acknowledge Without Replying",{"type":48,"tag":57,"props":1842,"children":1843},{},[1844],{"type":48,"tag":177,"props":1845,"children":1846},{},[1847],{"type":54,"value":907},{"type":48,"tag":256,"props":1849,"children":1851},{"className":258,"code":1850,"language":260,"meta":261,"style":261},"return str(MessagingResponse())  # Empty \u003CResponse\u002F>\n",[1852],{"type":48,"tag":63,"props":1853,"children":1854},{"__ignoreMap":261},[1855],{"type":48,"tag":267,"props":1856,"children":1857},{"class":269,"line":270},[1858],{"type":48,"tag":267,"props":1859,"children":1860},{},[1861],{"type":54,"value":1850},{"type":48,"tag":57,"props":1863,"children":1864},{},[1865],{"type":48,"tag":177,"props":1866,"children":1867},{},[1868],{"type":54,"value":954},{"type":48,"tag":256,"props":1870,"children":1872},{"className":377,"code":1871,"language":379,"meta":261,"style":261},"res.type(\"text\u002Fxml\").send(new twilio.twiml.MessagingResponse().toString());\n",[1873],{"type":48,"tag":63,"props":1874,"children":1875},{"__ignoreMap":261},[1876],{"type":48,"tag":267,"props":1877,"children":1878},{"class":269,"line":270},[1879,1884,1888,1892,1896,1900,1904,1908,1912,1916,1920,1924,1929,1933,1937,1941,1945,1949,1953,1957,1961,1965],{"type":48,"tag":267,"props":1880,"children":1881},{"style":395},[1882],{"type":54,"value":1883},"res",{"type":48,"tag":267,"props":1885,"children":1886},{"style":401},[1887],{"type":54,"value":527},{"type":48,"tag":267,"props":1889,"children":1890},{"style":407},[1891],{"type":54,"value":806},{"type":48,"tag":267,"props":1893,"children":1894},{"style":395},[1895],{"type":54,"value":415},{"type":48,"tag":267,"props":1897,"children":1898},{"style":401},[1899],{"type":54,"value":420},{"type":48,"tag":267,"props":1901,"children":1902},{"style":423},[1903],{"type":54,"value":819},{"type":48,"tag":267,"props":1905,"children":1906},{"style":401},[1907],{"type":54,"value":420},{"type":48,"tag":267,"props":1909,"children":1910},{"style":395},[1911],{"type":54,"value":435},{"type":48,"tag":267,"props":1913,"children":1914},{"style":401},[1915],{"type":54,"value":527},{"type":48,"tag":267,"props":1917,"children":1918},{"style":407},[1919],{"type":54,"value":836},{"type":48,"tag":267,"props":1921,"children":1922},{"style":395},[1923],{"type":54,"value":415},{"type":48,"tag":267,"props":1925,"children":1926},{"style":401},[1927],{"type":54,"value":1928},"new",{"type":48,"tag":267,"props":1930,"children":1931},{"style":395},[1932],{"type":54,"value":693},{"type":48,"tag":267,"props":1934,"children":1935},{"style":401},[1936],{"type":54,"value":527},{"type":48,"tag":267,"props":1938,"children":1939},{"style":395},[1940],{"type":54,"value":702},{"type":48,"tag":267,"props":1942,"children":1943},{"style":401},[1944],{"type":54,"value":527},{"type":48,"tag":267,"props":1946,"children":1947},{"style":407},[1948],{"type":54,"value":711},{"type":48,"tag":267,"props":1950,"children":1951},{"style":395},[1952],{"type":54,"value":510},{"type":48,"tag":267,"props":1954,"children":1955},{"style":401},[1956],{"type":54,"value":527},{"type":48,"tag":267,"props":1958,"children":1959},{"style":407},[1960],{"type":54,"value":853},{"type":48,"tag":267,"props":1962,"children":1963},{"style":395},[1964],{"type":54,"value":858},{"type":48,"tag":267,"props":1966,"children":1967},{"style":401},[1968],{"type":54,"value":440},{"type":48,"tag":889,"props":1970,"children":1972},{"id":1971},"status-callbacks-delivery-tracking",[1973],{"type":54,"value":1974},"Status Callbacks (delivery tracking)",{"type":48,"tag":57,"props":1976,"children":1977},{},[1978],{"type":54,"value":1979},"Status callbacks fire for all channels — SMS, MMS, WhatsApp, and RCS.",{"type":48,"tag":57,"props":1981,"children":1982},{},[1983],{"type":48,"tag":177,"props":1984,"children":1985},{},[1986],{"type":54,"value":907},{"type":48,"tag":256,"props":1988,"children":1990},{"className":258,"code":1989,"language":260,"meta":261,"style":261},"message = client.messages.create(\n    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to=\"+15558675310\",\n    body=\"Hello!\",\n    status_callback=\"https:\u002F\u002Fyourapp.com\u002Fstatus\"\n)\n",[1991],{"type":48,"tag":63,"props":1992,"children":1993},{"__ignoreMap":261},[1994,2002,2010,2018,2026,2034],{"type":48,"tag":267,"props":1995,"children":1996},{"class":269,"line":270},[1997],{"type":48,"tag":267,"props":1998,"children":1999},{},[2000],{"type":54,"value":2001},"message = client.messages.create(\n",{"type":48,"tag":267,"props":2003,"children":2004},{"class":269,"line":279},[2005],{"type":48,"tag":267,"props":2006,"children":2007},{},[2008],{"type":54,"value":2009},"    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n",{"type":48,"tag":267,"props":2011,"children":2012},{"class":269,"line":288},[2013],{"type":48,"tag":267,"props":2014,"children":2015},{},[2016],{"type":54,"value":2017},"    to=\"+15558675310\",\n",{"type":48,"tag":267,"props":2019,"children":2020},{"class":269,"line":298},[2021],{"type":48,"tag":267,"props":2022,"children":2023},{},[2024],{"type":54,"value":2025},"    body=\"Hello!\",\n",{"type":48,"tag":267,"props":2027,"children":2028},{"class":269,"line":307},[2029],{"type":48,"tag":267,"props":2030,"children":2031},{},[2032],{"type":54,"value":2033},"    status_callback=\"https:\u002F\u002Fyourapp.com\u002Fstatus\"\n",{"type":48,"tag":267,"props":2035,"children":2036},{"class":269,"line":315},[2037],{"type":48,"tag":267,"props":2038,"children":2039},{},[2040],{"type":54,"value":946},{"type":48,"tag":57,"props":2042,"children":2043},{},[2044],{"type":48,"tag":177,"props":2045,"children":2046},{},[2047],{"type":54,"value":954},{"type":48,"tag":256,"props":2049,"children":2051},{"className":377,"code":2050,"language":379,"meta":261,"style":261},"const message = await client.messages.create({\n    messagingServiceSid: \"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to: \"+15558675310\",\n    body: \"Hello!\",\n    statusCallback: \"https:\u002F\u002Fyourapp.com\u002Fstatus\",\n});\n",[2052],{"type":48,"tag":63,"props":2053,"children":2054},{"__ignoreMap":261},[2055,2106,2135,2164,2193,2222],{"type":48,"tag":267,"props":2056,"children":2057},{"class":269,"line":270},[2058,2062,2067,2071,2076,2080,2084,2089,2093,2098,2102],{"type":48,"tag":267,"props":2059,"children":2060},{"style":389},[2061],{"type":54,"value":392},{"type":48,"tag":267,"props":2063,"children":2064},{"style":395},[2065],{"type":54,"value":2066}," message ",{"type":48,"tag":267,"props":2068,"children":2069},{"style":401},[2070],{"type":54,"value":404},{"type":48,"tag":267,"props":2072,"children":2073},{"style":967},[2074],{"type":54,"value":2075}," await",{"type":48,"tag":267,"props":2077,"children":2078},{"style":395},[2079],{"type":54,"value":975},{"type":48,"tag":267,"props":2081,"children":2082},{"style":401},[2083],{"type":54,"value":527},{"type":48,"tag":267,"props":2085,"children":2086},{"style":395},[2087],{"type":54,"value":2088},"messages",{"type":48,"tag":267,"props":2090,"children":2091},{"style":401},[2092],{"type":54,"value":527},{"type":48,"tag":267,"props":2094,"children":2095},{"style":407},[2096],{"type":54,"value":2097},"create",{"type":48,"tag":267,"props":2099,"children":2100},{"style":395},[2101],{"type":54,"value":415},{"type":48,"tag":267,"props":2103,"children":2104},{"style":401},[2105],{"type":54,"value":1023},{"type":48,"tag":267,"props":2107,"children":2108},{"class":269,"line":279},[2109,2114,2118,2122,2127,2131],{"type":48,"tag":267,"props":2110,"children":2111},{"style":558},[2112],{"type":54,"value":2113},"    messagingServiceSid",{"type":48,"tag":267,"props":2115,"children":2116},{"style":401},[2117],{"type":54,"value":566},{"type":48,"tag":267,"props":2119,"children":2120},{"style":401},[2121],{"type":54,"value":1040},{"type":48,"tag":267,"props":2123,"children":2124},{"style":423},[2125],{"type":54,"value":2126},"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",{"type":48,"tag":267,"props":2128,"children":2129},{"style":401},[2130],{"type":54,"value":420},{"type":48,"tag":267,"props":2132,"children":2133},{"style":401},[2134],{"type":54,"value":1054},{"type":48,"tag":267,"props":2136,"children":2137},{"class":269,"line":288},[2138,2143,2147,2151,2156,2160],{"type":48,"tag":267,"props":2139,"children":2140},{"style":558},[2141],{"type":54,"value":2142},"    to",{"type":48,"tag":267,"props":2144,"children":2145},{"style":401},[2146],{"type":54,"value":566},{"type":48,"tag":267,"props":2148,"children":2149},{"style":401},[2150],{"type":54,"value":1040},{"type":48,"tag":267,"props":2152,"children":2153},{"style":423},[2154],{"type":54,"value":2155},"+15558675310",{"type":48,"tag":267,"props":2157,"children":2158},{"style":401},[2159],{"type":54,"value":420},{"type":48,"tag":267,"props":2161,"children":2162},{"style":401},[2163],{"type":54,"value":1054},{"type":48,"tag":267,"props":2165,"children":2166},{"class":269,"line":298},[2167,2172,2176,2180,2185,2189],{"type":48,"tag":267,"props":2168,"children":2169},{"style":558},[2170],{"type":54,"value":2171},"    body",{"type":48,"tag":267,"props":2173,"children":2174},{"style":401},[2175],{"type":54,"value":566},{"type":48,"tag":267,"props":2177,"children":2178},{"style":401},[2179],{"type":54,"value":1040},{"type":48,"tag":267,"props":2181,"children":2182},{"style":423},[2183],{"type":54,"value":2184},"Hello!",{"type":48,"tag":267,"props":2186,"children":2187},{"style":401},[2188],{"type":54,"value":420},{"type":48,"tag":267,"props":2190,"children":2191},{"style":401},[2192],{"type":54,"value":1054},{"type":48,"tag":267,"props":2194,"children":2195},{"class":269,"line":307},[2196,2201,2205,2209,2214,2218],{"type":48,"tag":267,"props":2197,"children":2198},{"style":558},[2199],{"type":54,"value":2200},"    statusCallback",{"type":48,"tag":267,"props":2202,"children":2203},{"style":401},[2204],{"type":54,"value":566},{"type":48,"tag":267,"props":2206,"children":2207},{"style":401},[2208],{"type":54,"value":1040},{"type":48,"tag":267,"props":2210,"children":2211},{"style":423},[2212],{"type":54,"value":2213},"https:\u002F\u002Fyourapp.com\u002Fstatus",{"type":48,"tag":267,"props":2215,"children":2216},{"style":401},[2217],{"type":54,"value":420},{"type":48,"tag":267,"props":2219,"children":2220},{"style":401},[2221],{"type":54,"value":1054},{"type":48,"tag":267,"props":2223,"children":2224},{"class":269,"line":315},[2225,2229,2233],{"type":48,"tag":267,"props":2226,"children":2227},{"style":401},[2228],{"type":54,"value":870},{"type":48,"tag":267,"props":2230,"children":2231},{"style":395},[2232],{"type":54,"value":435},{"type":48,"tag":267,"props":2234,"children":2235},{"style":401},[2236],{"type":54,"value":440},{"type":48,"tag":57,"props":2238,"children":2239},{},[2240],{"type":48,"tag":177,"props":2241,"children":2242},{},[2243],{"type":54,"value":2244},"Python (Flask) — status callback handler",{"type":48,"tag":256,"props":2246,"children":2248},{"className":258,"code":2247,"language":260,"meta":261,"style":261},"@app.route(\"\u002Fstatus\", methods=[\"POST\"])\ndef message_status():\n    message_sid = request.form.get(\"MessageSid\")\n    status = request.form.get(\"MessageStatus\")\n    error_code = request.form.get(\"ErrorCode\")\n    print(f\"{message_sid}: {status}\")\n    if status == \"failed\" and error_code:\n        print(f\"Error {error_code}: {request.form.get('ErrorMessage')}\")\n    return \"\", 204\n",[2249],{"type":48,"tag":63,"props":2250,"children":2251},{"__ignoreMap":261},[2252,2260,2268,2276,2284,2292,2300,2308,2316],{"type":48,"tag":267,"props":2253,"children":2254},{"class":269,"line":270},[2255],{"type":48,"tag":267,"props":2256,"children":2257},{},[2258],{"type":54,"value":2259},"@app.route(\"\u002Fstatus\", methods=[\"POST\"])\n",{"type":48,"tag":267,"props":2261,"children":2262},{"class":269,"line":279},[2263],{"type":48,"tag":267,"props":2264,"children":2265},{},[2266],{"type":54,"value":2267},"def message_status():\n",{"type":48,"tag":267,"props":2269,"children":2270},{"class":269,"line":288},[2271],{"type":48,"tag":267,"props":2272,"children":2273},{},[2274],{"type":54,"value":2275},"    message_sid = request.form.get(\"MessageSid\")\n",{"type":48,"tag":267,"props":2277,"children":2278},{"class":269,"line":298},[2279],{"type":48,"tag":267,"props":2280,"children":2281},{},[2282],{"type":54,"value":2283},"    status = request.form.get(\"MessageStatus\")\n",{"type":48,"tag":267,"props":2285,"children":2286},{"class":269,"line":307},[2287],{"type":48,"tag":267,"props":2288,"children":2289},{},[2290],{"type":54,"value":2291},"    error_code = request.form.get(\"ErrorCode\")\n",{"type":48,"tag":267,"props":2293,"children":2294},{"class":269,"line":315},[2295],{"type":48,"tag":267,"props":2296,"children":2297},{},[2298],{"type":54,"value":2299},"    print(f\"{message_sid}: {status}\")\n",{"type":48,"tag":267,"props":2301,"children":2302},{"class":269,"line":324},[2303],{"type":48,"tag":267,"props":2304,"children":2305},{},[2306],{"type":54,"value":2307},"    if status == \"failed\" and error_code:\n",{"type":48,"tag":267,"props":2309,"children":2310},{"class":269,"line":333},[2311],{"type":48,"tag":267,"props":2312,"children":2313},{},[2314],{"type":54,"value":2315},"        print(f\"Error {error_code}: {request.form.get('ErrorMessage')}\")\n",{"type":48,"tag":267,"props":2317,"children":2318},{"class":269,"line":342},[2319],{"type":48,"tag":267,"props":2320,"children":2321},{},[2322],{"type":54,"value":2323},"    return \"\", 204\n",{"type":48,"tag":57,"props":2325,"children":2326},{},[2327],{"type":48,"tag":177,"props":2328,"children":2329},{},[2330],{"type":54,"value":2331},"Node.js (Express) — status callback handler",{"type":48,"tag":256,"props":2333,"children":2335},{"className":377,"code":2334,"language":379,"meta":261,"style":261},"app.post(\"\u002Fstatus\", (req, res) => {\n    const { MessageSid, MessageStatus, ErrorCode, ErrorMessage } = req.body;\n    console.log(`${MessageSid}: ${MessageStatus}`);\n    if (MessageStatus === \"failed\" && ErrorCode) {\n        console.log(`Error ${ErrorCode}: ${ErrorMessage}`);\n    }\n    res.sendStatus(204);\n});\n",[2336],{"type":48,"tag":63,"props":2337,"children":2338},{"__ignoreMap":261},[2339,2403,2472,2532,2582,2649,2656,2688],{"type":48,"tag":267,"props":2340,"children":2341},{"class":269,"line":270},[2342,2346,2350,2354,2358,2362,2367,2371,2375,2379,2383,2387,2391,2395,2399],{"type":48,"tag":267,"props":2343,"children":2344},{"style":395},[2345],{"type":54,"value":522},{"type":48,"tag":267,"props":2347,"children":2348},{"style":401},[2349],{"type":54,"value":527},{"type":48,"tag":267,"props":2351,"children":2352},{"style":407},[2353],{"type":54,"value":609},{"type":48,"tag":267,"props":2355,"children":2356},{"style":395},[2357],{"type":54,"value":415},{"type":48,"tag":267,"props":2359,"children":2360},{"style":401},[2361],{"type":54,"value":420},{"type":48,"tag":267,"props":2363,"children":2364},{"style":423},[2365],{"type":54,"value":2366},"\u002Fstatus",{"type":48,"tag":267,"props":2368,"children":2369},{"style":401},[2370],{"type":54,"value":420},{"type":48,"tag":267,"props":2372,"children":2373},{"style":401},[2374],{"type":54,"value":631},{"type":48,"tag":267,"props":2376,"children":2377},{"style":401},[2378],{"type":54,"value":636},{"type":48,"tag":267,"props":2380,"children":2381},{"style":639},[2382],{"type":54,"value":642},{"type":48,"tag":267,"props":2384,"children":2385},{"style":401},[2386],{"type":54,"value":631},{"type":48,"tag":267,"props":2388,"children":2389},{"style":639},[2390],{"type":54,"value":651},{"type":48,"tag":267,"props":2392,"children":2393},{"style":401},[2394],{"type":54,"value":435},{"type":48,"tag":267,"props":2396,"children":2397},{"style":389},[2398],{"type":54,"value":660},{"type":48,"tag":267,"props":2400,"children":2401},{"style":401},[2402],{"type":54,"value":665},{"type":48,"tag":267,"props":2404,"children":2405},{"class":269,"line":279},[2406,2410,2415,2420,2424,2429,2433,2438,2442,2447,2451,2455,2460,2464,2468],{"type":48,"tag":267,"props":2407,"children":2408},{"style":389},[2409],{"type":54,"value":673},{"type":48,"tag":267,"props":2411,"children":2412},{"style":401},[2413],{"type":54,"value":2414}," {",{"type":48,"tag":267,"props":2416,"children":2417},{"style":395},[2418],{"type":54,"value":2419}," MessageSid",{"type":48,"tag":267,"props":2421,"children":2422},{"style":401},[2423],{"type":54,"value":631},{"type":48,"tag":267,"props":2425,"children":2426},{"style":395},[2427],{"type":54,"value":2428}," MessageStatus",{"type":48,"tag":267,"props":2430,"children":2431},{"style":401},[2432],{"type":54,"value":631},{"type":48,"tag":267,"props":2434,"children":2435},{"style":395},[2436],{"type":54,"value":2437}," ErrorCode",{"type":48,"tag":267,"props":2439,"children":2440},{"style":401},[2441],{"type":54,"value":631},{"type":48,"tag":267,"props":2443,"children":2444},{"style":395},[2445],{"type":54,"value":2446}," ErrorMessage",{"type":48,"tag":267,"props":2448,"children":2449},{"style":401},[2450],{"type":54,"value":577},{"type":48,"tag":267,"props":2452,"children":2453},{"style":401},[2454],{"type":54,"value":683},{"type":48,"tag":267,"props":2456,"children":2457},{"style":395},[2458],{"type":54,"value":2459}," req",{"type":48,"tag":267,"props":2461,"children":2462},{"style":401},[2463],{"type":54,"value":527},{"type":48,"tag":267,"props":2465,"children":2466},{"style":395},[2467],{"type":54,"value":768},{"type":48,"tag":267,"props":2469,"children":2470},{"style":401},[2471],{"type":54,"value":440},{"type":48,"tag":267,"props":2473,"children":2474},{"class":269,"line":288},[2475,2480,2484,2489,2493,2498,2502,2506,2511,2515,2520,2524,2528],{"type":48,"tag":267,"props":2476,"children":2477},{"style":395},[2478],{"type":54,"value":2479},"    console",{"type":48,"tag":267,"props":2481,"children":2482},{"style":401},[2483],{"type":54,"value":527},{"type":48,"tag":267,"props":2485,"children":2486},{"style":407},[2487],{"type":54,"value":2488},"log",{"type":48,"tag":267,"props":2490,"children":2491},{"style":558},[2492],{"type":54,"value":415},{"type":48,"tag":267,"props":2494,"children":2495},{"style":401},[2496],{"type":54,"value":2497},"`${",{"type":48,"tag":267,"props":2499,"children":2500},{"style":395},[2501],{"type":54,"value":1163},{"type":48,"tag":267,"props":2503,"children":2504},{"style":401},[2505],{"type":54,"value":870},{"type":48,"tag":267,"props":2507,"children":2508},{"style":423},[2509],{"type":54,"value":2510},": ",{"type":48,"tag":267,"props":2512,"children":2513},{"style":401},[2514],{"type":54,"value":755},{"type":48,"tag":267,"props":2516,"children":2517},{"style":395},[2518],{"type":54,"value":2519},"MessageStatus",{"type":48,"tag":267,"props":2521,"children":2522},{"style":401},[2523],{"type":54,"value":781},{"type":48,"tag":267,"props":2525,"children":2526},{"style":558},[2527],{"type":54,"value":435},{"type":48,"tag":267,"props":2529,"children":2530},{"style":401},[2531],{"type":54,"value":440},{"type":48,"tag":267,"props":2533,"children":2534},{"class":269,"line":298},[2535,2539,2543,2547,2552,2556,2561,2565,2570,2574,2578],{"type":48,"tag":267,"props":2536,"children":2537},{"style":967},[2538],{"type":54,"value":1585},{"type":48,"tag":267,"props":2540,"children":2541},{"style":558},[2542],{"type":54,"value":636},{"type":48,"tag":267,"props":2544,"children":2545},{"style":395},[2546],{"type":54,"value":2519},{"type":48,"tag":267,"props":2548,"children":2549},{"style":401},[2550],{"type":54,"value":2551}," ===",{"type":48,"tag":267,"props":2553,"children":2554},{"style":401},[2555],{"type":54,"value":1040},{"type":48,"tag":267,"props":2557,"children":2558},{"style":423},[2559],{"type":54,"value":2560},"failed",{"type":48,"tag":267,"props":2562,"children":2563},{"style":401},[2564],{"type":54,"value":420},{"type":48,"tag":267,"props":2566,"children":2567},{"style":401},[2568],{"type":54,"value":2569}," &&",{"type":48,"tag":267,"props":2571,"children":2572},{"style":395},[2573],{"type":54,"value":2437},{"type":48,"tag":267,"props":2575,"children":2576},{"style":558},[2577],{"type":54,"value":1609},{"type":48,"tag":267,"props":2579,"children":2580},{"style":401},[2581],{"type":54,"value":1023},{"type":48,"tag":267,"props":2583,"children":2584},{"class":269,"line":307},[2585,2590,2594,2598,2602,2606,2611,2615,2620,2624,2628,2632,2637,2641,2645],{"type":48,"tag":267,"props":2586,"children":2587},{"style":395},[2588],{"type":54,"value":2589},"        console",{"type":48,"tag":267,"props":2591,"children":2592},{"style":401},[2593],{"type":54,"value":527},{"type":48,"tag":267,"props":2595,"children":2596},{"style":407},[2597],{"type":54,"value":2488},{"type":48,"tag":267,"props":2599,"children":2600},{"style":558},[2601],{"type":54,"value":415},{"type":48,"tag":267,"props":2603,"children":2604},{"style":401},[2605],{"type":54,"value":745},{"type":48,"tag":267,"props":2607,"children":2608},{"style":423},[2609],{"type":54,"value":2610},"Error ",{"type":48,"tag":267,"props":2612,"children":2613},{"style":401},[2614],{"type":54,"value":755},{"type":48,"tag":267,"props":2616,"children":2617},{"style":395},[2618],{"type":54,"value":2619},"ErrorCode",{"type":48,"tag":267,"props":2621,"children":2622},{"style":401},[2623],{"type":54,"value":870},{"type":48,"tag":267,"props":2625,"children":2626},{"style":423},[2627],{"type":54,"value":2510},{"type":48,"tag":267,"props":2629,"children":2630},{"style":401},[2631],{"type":54,"value":755},{"type":48,"tag":267,"props":2633,"children":2634},{"style":395},[2635],{"type":54,"value":2636},"ErrorMessage",{"type":48,"tag":267,"props":2638,"children":2639},{"style":401},[2640],{"type":54,"value":781},{"type":48,"tag":267,"props":2642,"children":2643},{"style":558},[2644],{"type":54,"value":435},{"type":48,"tag":267,"props":2646,"children":2647},{"style":401},[2648],{"type":54,"value":440},{"type":48,"tag":267,"props":2650,"children":2651},{"class":269,"line":315},[2652],{"type":48,"tag":267,"props":2653,"children":2654},{"style":401},[2655],{"type":54,"value":1752},{"type":48,"tag":267,"props":2657,"children":2658},{"class":269,"line":324},[2659,2663,2667,2672,2676,2680,2684],{"type":48,"tag":267,"props":2660,"children":2661},{"style":395},[2662],{"type":54,"value":797},{"type":48,"tag":267,"props":2664,"children":2665},{"style":401},[2666],{"type":54,"value":527},{"type":48,"tag":267,"props":2668,"children":2669},{"style":407},[2670],{"type":54,"value":2671},"sendStatus",{"type":48,"tag":267,"props":2673,"children":2674},{"style":558},[2675],{"type":54,"value":415},{"type":48,"tag":267,"props":2677,"children":2678},{"style":1519},[2679],{"type":54,"value":68},{"type":48,"tag":267,"props":2681,"children":2682},{"style":558},[2683],{"type":54,"value":435},{"type":48,"tag":267,"props":2685,"children":2686},{"style":401},[2687],{"type":54,"value":440},{"type":48,"tag":267,"props":2689,"children":2690},{"class":269,"line":333},[2691,2695,2699],{"type":48,"tag":267,"props":2692,"children":2693},{"style":401},[2694],{"type":54,"value":870},{"type":48,"tag":267,"props":2696,"children":2697},{"style":395},[2698],{"type":54,"value":435},{"type":48,"tag":267,"props":2700,"children":2701},{"style":401},[2702],{"type":54,"value":440},{"type":48,"tag":57,"props":2704,"children":2705},{},[2706,2708,2714,2716,2722,2724,2729],{"type":54,"value":2707},"Status flow: ",{"type":48,"tag":63,"props":2709,"children":2711},{"className":2710},[],[2712],{"type":54,"value":2713},"queued → sent → delivered",{"type":54,"value":2715}," (or ",{"type":48,"tag":63,"props":2717,"children":2719},{"className":2718},[],[2720],{"type":54,"value":2721},"undelivered",{"type":54,"value":2723},"\u002F",{"type":48,"tag":63,"props":2725,"children":2727},{"className":2726},[],[2728],{"type":54,"value":2560},{"type":54,"value":435},{"type":48,"tag":889,"props":2731,"children":2733},{"id":2732},"webhook-signature-validation",[2734],{"type":54,"value":2735},"Webhook Signature Validation",{"type":48,"tag":57,"props":2737,"children":2738},{},[2739],{"type":48,"tag":177,"props":2740,"children":2741},{},[2742],{"type":54,"value":254},{"type":48,"tag":256,"props":2744,"children":2746},{"className":258,"code":2745,"language":260,"meta":261,"style":261},"from twilio.request_validator import RequestValidator\n\nvalidator = RequestValidator(os.environ[\"TWILIO_AUTH_TOKEN\"])\n\n@app.route(\"\u002Fincoming\", methods=[\"POST\"])\ndef incoming_message():\n    if not validator.validate(request.url, request.form, request.headers.get(\"X-Twilio-Signature\", \"\")):\n        return \"Forbidden\", 403\n    response = MessagingResponse()\n    response.message(\"Hello!\")\n    return str(response)\n",[2747],{"type":48,"tag":63,"props":2748,"children":2749},{"__ignoreMap":261},[2750,2758,2765,2773,2780,2787,2794,2802,2810,2817,2825],{"type":48,"tag":267,"props":2751,"children":2752},{"class":269,"line":270},[2753],{"type":48,"tag":267,"props":2754,"children":2755},{},[2756],{"type":54,"value":2757},"from twilio.request_validator import RequestValidator\n",{"type":48,"tag":267,"props":2759,"children":2760},{"class":269,"line":279},[2761],{"type":48,"tag":267,"props":2762,"children":2763},{"emptyLinePlaceholder":292},[2764],{"type":54,"value":295},{"type":48,"tag":267,"props":2766,"children":2767},{"class":269,"line":288},[2768],{"type":48,"tag":267,"props":2769,"children":2770},{},[2771],{"type":54,"value":2772},"validator = RequestValidator(os.environ[\"TWILIO_AUTH_TOKEN\"])\n",{"type":48,"tag":267,"props":2774,"children":2775},{"class":269,"line":298},[2776],{"type":48,"tag":267,"props":2777,"children":2778},{"emptyLinePlaceholder":292},[2779],{"type":54,"value":295},{"type":48,"tag":267,"props":2781,"children":2782},{"class":269,"line":307},[2783],{"type":48,"tag":267,"props":2784,"children":2785},{},[2786],{"type":54,"value":321},{"type":48,"tag":267,"props":2788,"children":2789},{"class":269,"line":315},[2790],{"type":48,"tag":267,"props":2791,"children":2792},{},[2793],{"type":54,"value":330},{"type":48,"tag":267,"props":2795,"children":2796},{"class":269,"line":324},[2797],{"type":48,"tag":267,"props":2798,"children":2799},{},[2800],{"type":54,"value":2801},"    if not validator.validate(request.url, request.form, request.headers.get(\"X-Twilio-Signature\", \"\")):\n",{"type":48,"tag":267,"props":2803,"children":2804},{"class":269,"line":333},[2805],{"type":48,"tag":267,"props":2806,"children":2807},{},[2808],{"type":54,"value":2809},"        return \"Forbidden\", 403\n",{"type":48,"tag":267,"props":2811,"children":2812},{"class":269,"line":342},[2813],{"type":48,"tag":267,"props":2814,"children":2815},{},[2816],{"type":54,"value":348},{"type":48,"tag":267,"props":2818,"children":2819},{"class":269,"line":351},[2820],{"type":48,"tag":267,"props":2821,"children":2822},{},[2823],{"type":54,"value":2824},"    response.message(\"Hello!\")\n",{"type":48,"tag":267,"props":2826,"children":2827},{"class":269,"line":360},[2828],{"type":48,"tag":267,"props":2829,"children":2830},{},[2831],{"type":54,"value":366},{"type":48,"tag":57,"props":2833,"children":2834},{},[2835],{"type":48,"tag":177,"props":2836,"children":2837},{},[2838],{"type":54,"value":954},{"type":48,"tag":256,"props":2840,"children":2842},{"className":377,"code":2841,"language":379,"meta":261,"style":261},"const { validateRequest } = require(\"twilio\");\n\napp.post(\"\u002Fincoming\", (req, res) => {\n    const isValid = validateRequest(\n        process.env.TWILIO_AUTH_TOKEN,\n        req.headers[\"x-twilio-signature\"],\n        `https:\u002F\u002F${req.headers.host}${req.path}`,\n        req.body\n    );\n    if (!isValid) return res.status(403).send(\"Forbidden\");\n    const twiml = new twilio.twiml.MessagingResponse();\n    twiml.message(\"Hello!\");\n    res.type(\"text\u002Fxml\").send(twiml.toString());\n});\n",[2843],{"type":48,"tag":63,"props":2844,"children":2845},{"__ignoreMap":261},[2846,2898,2905,2968,2994,3023,3067,3131,3147,3159,3248,3295,3335,3403],{"type":48,"tag":267,"props":2847,"children":2848},{"class":269,"line":270},[2849,2853,2857,2862,2866,2870,2874,2878,2882,2886,2890,2894],{"type":48,"tag":267,"props":2850,"children":2851},{"style":389},[2852],{"type":54,"value":392},{"type":48,"tag":267,"props":2854,"children":2855},{"style":401},[2856],{"type":54,"value":2414},{"type":48,"tag":267,"props":2858,"children":2859},{"style":395},[2860],{"type":54,"value":2861}," validateRequest ",{"type":48,"tag":267,"props":2863,"children":2864},{"style":401},[2865],{"type":54,"value":870},{"type":48,"tag":267,"props":2867,"children":2868},{"style":401},[2869],{"type":54,"value":683},{"type":48,"tag":267,"props":2871,"children":2872},{"style":407},[2873],{"type":54,"value":410},{"type":48,"tag":267,"props":2875,"children":2876},{"style":395},[2877],{"type":54,"value":415},{"type":48,"tag":267,"props":2879,"children":2880},{"style":401},[2881],{"type":54,"value":420},{"type":48,"tag":267,"props":2883,"children":2884},{"style":423},[2885],{"type":54,"value":30},{"type":48,"tag":267,"props":2887,"children":2888},{"style":401},[2889],{"type":54,"value":420},{"type":48,"tag":267,"props":2891,"children":2892},{"style":395},[2893],{"type":54,"value":435},{"type":48,"tag":267,"props":2895,"children":2896},{"style":401},[2897],{"type":54,"value":440},{"type":48,"tag":267,"props":2899,"children":2900},{"class":269,"line":279},[2901],{"type":48,"tag":267,"props":2902,"children":2903},{"emptyLinePlaceholder":292},[2904],{"type":54,"value":295},{"type":48,"tag":267,"props":2906,"children":2907},{"class":269,"line":288},[2908,2912,2916,2920,2924,2928,2932,2936,2940,2944,2948,2952,2956,2960,2964],{"type":48,"tag":267,"props":2909,"children":2910},{"style":395},[2911],{"type":54,"value":522},{"type":48,"tag":267,"props":2913,"children":2914},{"style":401},[2915],{"type":54,"value":527},{"type":48,"tag":267,"props":2917,"children":2918},{"style":407},[2919],{"type":54,"value":609},{"type":48,"tag":267,"props":2921,"children":2922},{"style":395},[2923],{"type":54,"value":415},{"type":48,"tag":267,"props":2925,"children":2926},{"style":401},[2927],{"type":54,"value":420},{"type":48,"tag":267,"props":2929,"children":2930},{"style":423},[2931],{"type":54,"value":622},{"type":48,"tag":267,"props":2933,"children":2934},{"style":401},[2935],{"type":54,"value":420},{"type":48,"tag":267,"props":2937,"children":2938},{"style":401},[2939],{"type":54,"value":631},{"type":48,"tag":267,"props":2941,"children":2942},{"style":401},[2943],{"type":54,"value":636},{"type":48,"tag":267,"props":2945,"children":2946},{"style":639},[2947],{"type":54,"value":642},{"type":48,"tag":267,"props":2949,"children":2950},{"style":401},[2951],{"type":54,"value":631},{"type":48,"tag":267,"props":2953,"children":2954},{"style":639},[2955],{"type":54,"value":651},{"type":48,"tag":267,"props":2957,"children":2958},{"style":401},[2959],{"type":54,"value":435},{"type":48,"tag":267,"props":2961,"children":2962},{"style":389},[2963],{"type":54,"value":660},{"type":48,"tag":267,"props":2965,"children":2966},{"style":401},[2967],{"type":54,"value":665},{"type":48,"tag":267,"props":2969,"children":2970},{"class":269,"line":298},[2971,2975,2980,2984,2989],{"type":48,"tag":267,"props":2972,"children":2973},{"style":389},[2974],{"type":54,"value":673},{"type":48,"tag":267,"props":2976,"children":2977},{"style":395},[2978],{"type":54,"value":2979}," isValid",{"type":48,"tag":267,"props":2981,"children":2982},{"style":401},[2983],{"type":54,"value":683},{"type":48,"tag":267,"props":2985,"children":2986},{"style":407},[2987],{"type":54,"value":2988}," validateRequest",{"type":48,"tag":267,"props":2990,"children":2991},{"style":558},[2992],{"type":54,"value":2993},"(\n",{"type":48,"tag":267,"props":2995,"children":2996},{"class":269,"line":307},[2997,3002,3006,3011,3015,3019],{"type":48,"tag":267,"props":2998,"children":2999},{"style":395},[3000],{"type":54,"value":3001},"        process",{"type":48,"tag":267,"props":3003,"children":3004},{"style":401},[3005],{"type":54,"value":527},{"type":48,"tag":267,"props":3007,"children":3008},{"style":395},[3009],{"type":54,"value":3010},"env",{"type":48,"tag":267,"props":3012,"children":3013},{"style":401},[3014],{"type":54,"value":527},{"type":48,"tag":267,"props":3016,"children":3017},{"style":395},[3018],{"type":54,"value":134},{"type":48,"tag":267,"props":3020,"children":3021},{"style":401},[3022],{"type":54,"value":1054},{"type":48,"tag":267,"props":3024,"children":3025},{"class":269,"line":315},[3026,3031,3035,3040,3045,3049,3054,3058,3063],{"type":48,"tag":267,"props":3027,"children":3028},{"style":395},[3029],{"type":54,"value":3030},"        req",{"type":48,"tag":267,"props":3032,"children":3033},{"style":401},[3034],{"type":54,"value":527},{"type":48,"tag":267,"props":3036,"children":3037},{"style":395},[3038],{"type":54,"value":3039},"headers",{"type":48,"tag":267,"props":3041,"children":3042},{"style":558},[3043],{"type":54,"value":3044},"[",{"type":48,"tag":267,"props":3046,"children":3047},{"style":401},[3048],{"type":54,"value":420},{"type":48,"tag":267,"props":3050,"children":3051},{"style":423},[3052],{"type":54,"value":3053},"x-twilio-signature",{"type":48,"tag":267,"props":3055,"children":3056},{"style":401},[3057],{"type":54,"value":420},{"type":48,"tag":267,"props":3059,"children":3060},{"style":558},[3061],{"type":54,"value":3062},"]",{"type":48,"tag":267,"props":3064,"children":3065},{"style":401},[3066],{"type":54,"value":1054},{"type":48,"tag":267,"props":3068,"children":3069},{"class":269,"line":324},[3070,3075,3080,3084,3088,3092,3096,3100,3105,3110,3114,3118,3123,3127],{"type":48,"tag":267,"props":3071,"children":3072},{"style":401},[3073],{"type":54,"value":3074},"        `",{"type":48,"tag":267,"props":3076,"children":3077},{"style":423},[3078],{"type":54,"value":3079},"https:\u002F\u002F",{"type":48,"tag":267,"props":3081,"children":3082},{"style":401},[3083],{"type":54,"value":755},{"type":48,"tag":267,"props":3085,"children":3086},{"style":395},[3087],{"type":54,"value":642},{"type":48,"tag":267,"props":3089,"children":3090},{"style":401},[3091],{"type":54,"value":527},{"type":48,"tag":267,"props":3093,"children":3094},{"style":395},[3095],{"type":54,"value":3039},{"type":48,"tag":267,"props":3097,"children":3098},{"style":401},[3099],{"type":54,"value":527},{"type":48,"tag":267,"props":3101,"children":3102},{"style":395},[3103],{"type":54,"value":3104},"host",{"type":48,"tag":267,"props":3106,"children":3107},{"style":401},[3108],{"type":54,"value":3109},"}${",{"type":48,"tag":267,"props":3111,"children":3112},{"style":395},[3113],{"type":54,"value":642},{"type":48,"tag":267,"props":3115,"children":3116},{"style":401},[3117],{"type":54,"value":527},{"type":48,"tag":267,"props":3119,"children":3120},{"style":395},[3121],{"type":54,"value":3122},"path",{"type":48,"tag":267,"props":3124,"children":3125},{"style":401},[3126],{"type":54,"value":781},{"type":48,"tag":267,"props":3128,"children":3129},{"style":401},[3130],{"type":54,"value":1054},{"type":48,"tag":267,"props":3132,"children":3133},{"class":269,"line":333},[3134,3138,3142],{"type":48,"tag":267,"props":3135,"children":3136},{"style":395},[3137],{"type":54,"value":3030},{"type":48,"tag":267,"props":3139,"children":3140},{"style":401},[3141],{"type":54,"value":527},{"type":48,"tag":267,"props":3143,"children":3144},{"style":395},[3145],{"type":54,"value":3146},"body\n",{"type":48,"tag":267,"props":3148,"children":3149},{"class":269,"line":342},[3150,3155],{"type":48,"tag":267,"props":3151,"children":3152},{"style":558},[3153],{"type":54,"value":3154},"    )",{"type":48,"tag":267,"props":3156,"children":3157},{"style":401},[3158],{"type":54,"value":440},{"type":48,"tag":267,"props":3160,"children":3161},{"class":269,"line":351},[3162,3166,3170,3175,3180,3184,3189,3193,3197,3202,3206,3211,3215,3219,3223,3227,3231,3236,3240,3244],{"type":48,"tag":267,"props":3163,"children":3164},{"style":967},[3165],{"type":54,"value":1585},{"type":48,"tag":267,"props":3167,"children":3168},{"style":558},[3169],{"type":54,"value":636},{"type":48,"tag":267,"props":3171,"children":3172},{"style":401},[3173],{"type":54,"value":3174},"!",{"type":48,"tag":267,"props":3176,"children":3177},{"style":395},[3178],{"type":54,"value":3179},"isValid",{"type":48,"tag":267,"props":3181,"children":3182},{"style":558},[3183],{"type":54,"value":1609},{"type":48,"tag":267,"props":3185,"children":3186},{"style":967},[3187],{"type":54,"value":3188},"return",{"type":48,"tag":267,"props":3190,"children":3191},{"style":395},[3192],{"type":54,"value":651},{"type":48,"tag":267,"props":3194,"children":3195},{"style":401},[3196],{"type":54,"value":527},{"type":48,"tag":267,"props":3198,"children":3199},{"style":407},[3200],{"type":54,"value":3201},"status",{"type":48,"tag":267,"props":3203,"children":3204},{"style":558},[3205],{"type":54,"value":415},{"type":48,"tag":267,"props":3207,"children":3208},{"style":1519},[3209],{"type":54,"value":3210},"403",{"type":48,"tag":267,"props":3212,"children":3213},{"style":558},[3214],{"type":54,"value":435},{"type":48,"tag":267,"props":3216,"children":3217},{"style":401},[3218],{"type":54,"value":527},{"type":48,"tag":267,"props":3220,"children":3221},{"style":407},[3222],{"type":54,"value":836},{"type":48,"tag":267,"props":3224,"children":3225},{"style":558},[3226],{"type":54,"value":415},{"type":48,"tag":267,"props":3228,"children":3229},{"style":401},[3230],{"type":54,"value":420},{"type":48,"tag":267,"props":3232,"children":3233},{"style":423},[3234],{"type":54,"value":3235},"Forbidden",{"type":48,"tag":267,"props":3237,"children":3238},{"style":401},[3239],{"type":54,"value":420},{"type":48,"tag":267,"props":3241,"children":3242},{"style":558},[3243],{"type":54,"value":435},{"type":48,"tag":267,"props":3245,"children":3246},{"style":401},[3247],{"type":54,"value":440},{"type":48,"tag":267,"props":3249,"children":3250},{"class":269,"line":360},[3251,3255,3259,3263,3267,3271,3275,3279,3283,3287,3291],{"type":48,"tag":267,"props":3252,"children":3253},{"style":389},[3254],{"type":54,"value":673},{"type":48,"tag":267,"props":3256,"children":3257},{"style":395},[3258],{"type":54,"value":678},{"type":48,"tag":267,"props":3260,"children":3261},{"style":401},[3262],{"type":54,"value":683},{"type":48,"tag":267,"props":3264,"children":3265},{"style":401},[3266],{"type":54,"value":688},{"type":48,"tag":267,"props":3268,"children":3269},{"style":395},[3270],{"type":54,"value":693},{"type":48,"tag":267,"props":3272,"children":3273},{"style":401},[3274],{"type":54,"value":527},{"type":48,"tag":267,"props":3276,"children":3277},{"style":395},[3278],{"type":54,"value":702},{"type":48,"tag":267,"props":3280,"children":3281},{"style":401},[3282],{"type":54,"value":527},{"type":48,"tag":267,"props":3284,"children":3285},{"style":407},[3286],{"type":54,"value":711},{"type":48,"tag":267,"props":3288,"children":3289},{"style":558},[3290],{"type":54,"value":510},{"type":48,"tag":267,"props":3292,"children":3293},{"style":401},[3294],{"type":54,"value":440},{"type":48,"tag":267,"props":3296,"children":3298},{"class":269,"line":3297},12,[3299,3303,3307,3311,3315,3319,3323,3327,3331],{"type":48,"tag":267,"props":3300,"children":3301},{"style":395},[3302],{"type":54,"value":727},{"type":48,"tag":267,"props":3304,"children":3305},{"style":401},[3306],{"type":54,"value":527},{"type":48,"tag":267,"props":3308,"children":3309},{"style":407},[3310],{"type":54,"value":736},{"type":48,"tag":267,"props":3312,"children":3313},{"style":558},[3314],{"type":54,"value":415},{"type":48,"tag":267,"props":3316,"children":3317},{"style":401},[3318],{"type":54,"value":420},{"type":48,"tag":267,"props":3320,"children":3321},{"style":423},[3322],{"type":54,"value":2184},{"type":48,"tag":267,"props":3324,"children":3325},{"style":401},[3326],{"type":54,"value":420},{"type":48,"tag":267,"props":3328,"children":3329},{"style":558},[3330],{"type":54,"value":435},{"type":48,"tag":267,"props":3332,"children":3333},{"style":401},[3334],{"type":54,"value":440},{"type":48,"tag":267,"props":3336,"children":3338},{"class":269,"line":3337},13,[3339,3343,3347,3351,3355,3359,3363,3367,3371,3375,3379,3383,3387,3391,3395,3399],{"type":48,"tag":267,"props":3340,"children":3341},{"style":395},[3342],{"type":54,"value":797},{"type":48,"tag":267,"props":3344,"children":3345},{"style":401},[3346],{"type":54,"value":527},{"type":48,"tag":267,"props":3348,"children":3349},{"style":407},[3350],{"type":54,"value":806},{"type":48,"tag":267,"props":3352,"children":3353},{"style":558},[3354],{"type":54,"value":415},{"type":48,"tag":267,"props":3356,"children":3357},{"style":401},[3358],{"type":54,"value":420},{"type":48,"tag":267,"props":3360,"children":3361},{"style":423},[3362],{"type":54,"value":819},{"type":48,"tag":267,"props":3364,"children":3365},{"style":401},[3366],{"type":54,"value":420},{"type":48,"tag":267,"props":3368,"children":3369},{"style":558},[3370],{"type":54,"value":435},{"type":48,"tag":267,"props":3372,"children":3373},{"style":401},[3374],{"type":54,"value":527},{"type":48,"tag":267,"props":3376,"children":3377},{"style":407},[3378],{"type":54,"value":836},{"type":48,"tag":267,"props":3380,"children":3381},{"style":558},[3382],{"type":54,"value":415},{"type":48,"tag":267,"props":3384,"children":3385},{"style":395},[3386],{"type":54,"value":702},{"type":48,"tag":267,"props":3388,"children":3389},{"style":401},[3390],{"type":54,"value":527},{"type":48,"tag":267,"props":3392,"children":3393},{"style":407},[3394],{"type":54,"value":853},{"type":48,"tag":267,"props":3396,"children":3397},{"style":558},[3398],{"type":54,"value":858},{"type":48,"tag":267,"props":3400,"children":3401},{"style":401},[3402],{"type":54,"value":440},{"type":48,"tag":267,"props":3404,"children":3406},{"class":269,"line":3405},14,[3407,3411,3415],{"type":48,"tag":267,"props":3408,"children":3409},{"style":401},[3410],{"type":54,"value":870},{"type":48,"tag":267,"props":3412,"children":3413},{"style":395},[3414],{"type":54,"value":435},{"type":48,"tag":267,"props":3416,"children":3417},{"style":401},[3418],{"type":54,"value":440},{"type":48,"tag":72,"props":3420,"children":3421},{},[],{"type":48,"tag":49,"props":3423,"children":3425},{"id":3424},"cannot",[3426],{"type":54,"value":3427},"CANNOT",{"type":48,"tag":82,"props":3429,"children":3430},{},[3431,3441,3466,3476],{"type":48,"tag":86,"props":3432,"children":3433},{},[3434,3439],{"type":48,"tag":177,"props":3435,"children":3436},{},[3437],{"type":54,"value":3438},"Cannot exceed 15-second webhook response time",{"type":54,"value":3440}," — Twilio retries on timeout",{"type":48,"tag":86,"props":3442,"children":3443},{},[3444,3449,3451,3457,3459,3464],{"type":48,"tag":177,"props":3445,"children":3446},{},[3447],{"type":54,"value":3448},"Cannot return arbitrary content types",{"type":54,"value":3450}," — Use ",{"type":48,"tag":63,"props":3452,"children":3454},{"className":3453},[],[3455],{"type":54,"value":3456},"Content-Type: text\u002Fxml",{"type":54,"value":3458}," with TwiML for replies; ",{"type":48,"tag":63,"props":3460,"children":3462},{"className":3461},[],[3463],{"type":54,"value":68},{"type":54,"value":3465}," for status callbacks",{"type":48,"tag":86,"props":3467,"children":3468},{},[3469,3474],{"type":48,"tag":177,"props":3470,"children":3471},{},[3472],{"type":54,"value":3473},"Cannot use ngrok URLs across restarts",{"type":54,"value":3475}," — URLs change on restart. Use a stable tunnel for persistent testing.",{"type":48,"tag":86,"props":3477,"children":3478},{},[3479,3484,3486,3492],{"type":48,"tag":177,"props":3480,"children":3481},{},[3482],{"type":54,"value":3483},"Cannot guarantee delivery confirmation",{"type":54,"value":3485}," — Status callbacks are best-effort. ",{"type":48,"tag":63,"props":3487,"children":3489},{"className":3488},[],[3490],{"type":54,"value":3491},"delivered",{"type":54,"value":3493}," requires carrier confirmation.",{"type":48,"tag":72,"props":3495,"children":3496},{},[],{"type":48,"tag":49,"props":3498,"children":3500},{"id":3499},"common-errors",[3501],{"type":54,"value":3502},"Common Errors",{"type":48,"tag":1125,"props":3504,"children":3505},{},[3506,3527],{"type":48,"tag":1129,"props":3507,"children":3508},{},[3509],{"type":48,"tag":1133,"props":3510,"children":3511},{},[3512,3517,3522],{"type":48,"tag":1137,"props":3513,"children":3514},{},[3515],{"type":54,"value":3516},"Code",{"type":48,"tag":1137,"props":3518,"children":3519},{},[3520],{"type":54,"value":3521},"Meaning",{"type":48,"tag":1137,"props":3523,"children":3524},{},[3525],{"type":54,"value":3526},"Fix",{"type":48,"tag":1148,"props":3528,"children":3529},{},[3530],{"type":48,"tag":1133,"props":3531,"children":3532},{},[3533,3538,3543],{"type":48,"tag":1155,"props":3534,"children":3535},{},[3536],{"type":54,"value":3537},"11200",{"type":48,"tag":1155,"props":3539,"children":3540},{},[3541],{"type":54,"value":3542},"HTTP retrieval failure — Twilio cannot reach your webhook URL",{"type":48,"tag":1155,"props":3544,"children":3545},{},[3546,3548,3554,3556,3562],{"type":54,"value":3547},"Verify endpoint is reachable (",{"type":48,"tag":63,"props":3549,"children":3551},{"className":3550},[],[3552],{"type":54,"value":3553},"curl -I",{"type":54,"value":3555}," the URL), check DNS, firewall, and SSL certificate validity. See ",{"type":48,"tag":63,"props":3557,"children":3559},{"className":3558},[],[3560],{"type":54,"value":3561},"twilio-debugging-observability",{"type":54,"value":3563}," for deeper webhook troubleshooting.",{"type":48,"tag":72,"props":3565,"children":3566},{},[],{"type":48,"tag":49,"props":3568,"children":3570},{"id":3569},"next-steps",[3571],{"type":54,"value":3572},"Next Steps",{"type":48,"tag":82,"props":3574,"children":3575},{},[3576,3591],{"type":48,"tag":86,"props":3577,"children":3578},{},[3579,3584,3586],{"type":48,"tag":177,"props":3580,"children":3581},{},[3582],{"type":54,"value":3583},"Send outbound messages:",{"type":54,"value":3585}," ",{"type":48,"tag":63,"props":3587,"children":3589},{"className":3588},[],[3590],{"type":54,"value":104},{"type":48,"tag":86,"props":3592,"children":3593},{},[3594,3599,3600],{"type":48,"tag":177,"props":3595,"children":3596},{},[3597],{"type":54,"value":3598},"Manage sender pools:",{"type":54,"value":3585},{"type":48,"tag":63,"props":3601,"children":3603},{"className":3602},[],[3604],{"type":54,"value":3605},"twilio-messaging-services",{"type":48,"tag":3607,"props":3608,"children":3609},"style",{},[3610],{"type":54,"value":3611},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3613,"total":3734},[3614,3632,3648,3660,3680,3702,3722],{"slug":3615,"name":3615,"fn":3616,"description":3617,"org":3618,"tags":3619,"stars":31,"repoUrl":32,"updatedAt":33},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3620,3623,3626,3629],{"name":3621,"slug":3622,"type":15},"Accessibility","accessibility",{"name":3624,"slug":3625,"type":15},"Charts","charts",{"name":3627,"slug":3628,"type":15},"Data Visualization","data-visualization",{"name":3630,"slug":3631,"type":15},"Design","design",{"slug":3633,"name":3633,"fn":3634,"description":3635,"org":3636,"tags":3637,"stars":31,"repoUrl":32,"updatedAt":3647},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3638,3641,3644],{"name":3639,"slug":3640,"type":15},"Agents","agents",{"name":3642,"slug":3643,"type":15},"Browser Automation","browser-automation",{"name":3645,"slug":3646,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":3649,"name":3649,"fn":3650,"description":3651,"org":3652,"tags":3653,"stars":31,"repoUrl":32,"updatedAt":3659},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3654,3655,3658],{"name":3642,"slug":3643,"type":15},{"name":3656,"slug":3657,"type":15},"Local Development","local-development",{"name":3645,"slug":3646,"type":15},"2026-04-06T18:41:17.526867",{"slug":3661,"name":3661,"fn":3662,"description":3663,"org":3664,"tags":3665,"stars":31,"repoUrl":32,"updatedAt":3679},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3666,3667,3670,3673,3676],{"name":3639,"slug":3640,"type":15},{"name":3668,"slug":3669,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":3671,"slug":3672,"type":15},"SDK","sdk",{"name":3674,"slug":3675,"type":15},"Serverless","serverless",{"name":3677,"slug":3678,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":3681,"name":3681,"fn":3682,"description":3683,"org":3684,"tags":3685,"stars":31,"repoUrl":32,"updatedAt":3701},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3686,3689,3692,3695,3698],{"name":3687,"slug":3688,"type":15},"Frontend","frontend",{"name":3690,"slug":3691,"type":15},"React","react",{"name":3693,"slug":3694,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":3696,"slug":3697,"type":15},"UI Components","ui-components",{"name":3699,"slug":3700,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":3703,"name":3703,"fn":3704,"description":3705,"org":3706,"tags":3707,"stars":31,"repoUrl":32,"updatedAt":3721},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3708,3711,3714,3717,3720],{"name":3709,"slug":3710,"type":15},"AI Infrastructure","ai-infrastructure",{"name":3712,"slug":3713,"type":15},"Cost Optimization","cost-optimization",{"name":3715,"slug":3716,"type":15},"LLM","llm",{"name":3718,"slug":3719,"type":15},"Performance","performance",{"name":3699,"slug":3700,"type":15},"2026-04-06T18:40:44.377464",{"slug":3723,"name":3723,"fn":3724,"description":3725,"org":3726,"tags":3727,"stars":31,"repoUrl":32,"updatedAt":3733},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3728,3729,3732],{"name":3712,"slug":3713,"type":15},{"name":3730,"slug":3731,"type":15},"Database","database",{"name":3715,"slug":3716,"type":15},"2026-04-06T18:41:08.513425",600,{"items":3736,"total":3933},[3737,3758,3781,3798,3814,3831,3850,3862,3876,3890,3902,3917],{"slug":3738,"name":3738,"fn":3739,"description":3740,"org":3741,"tags":3742,"stars":3755,"repoUrl":3756,"updatedAt":3757},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3743,3746,3749,3752],{"name":3744,"slug":3745,"type":15},"Documents","documents",{"name":3747,"slug":3748,"type":15},"Healthcare","healthcare",{"name":3750,"slug":3751,"type":15},"Insurance","insurance",{"name":3753,"slug":3754,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":3759,"name":3759,"fn":3760,"description":3761,"org":3762,"tags":3763,"stars":3778,"repoUrl":3779,"updatedAt":3780},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3764,3767,3769,3772,3775],{"name":3765,"slug":3766,"type":15},".NET","dotnet",{"name":3768,"slug":3759,"type":15},"ASP.NET Core",{"name":3770,"slug":3771,"type":15},"Blazor","blazor",{"name":3773,"slug":3774,"type":15},"C#","csharp",{"name":3776,"slug":3777,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":3782,"name":3782,"fn":3783,"description":3784,"org":3785,"tags":3786,"stars":3778,"repoUrl":3779,"updatedAt":3797},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3787,3790,3793,3796],{"name":3788,"slug":3789,"type":15},"Apps SDK","apps-sdk",{"name":3791,"slug":3792,"type":15},"ChatGPT","chatgpt",{"name":3794,"slug":3795,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":3799,"name":3799,"fn":3800,"description":3801,"org":3802,"tags":3803,"stars":3778,"repoUrl":3779,"updatedAt":3813},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3804,3807,3810],{"name":3805,"slug":3806,"type":15},"API Development","api-development",{"name":3808,"slug":3809,"type":15},"CLI","cli",{"name":3811,"slug":3812,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":3815,"name":3815,"fn":3816,"description":3817,"org":3818,"tags":3819,"stars":3778,"repoUrl":3779,"updatedAt":3830},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3820,3823,3826,3827],{"name":3821,"slug":3822,"type":15},"Cloudflare","cloudflare",{"name":3824,"slug":3825,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":3668,"slug":3669,"type":15},{"name":3828,"slug":3829,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":3832,"name":3832,"fn":3833,"description":3834,"org":3835,"tags":3836,"stars":3778,"repoUrl":3779,"updatedAt":3849},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3837,3840,3843,3846],{"name":3838,"slug":3839,"type":15},"Productivity","productivity",{"name":3841,"slug":3842,"type":15},"Project Management","project-management",{"name":3844,"slug":3845,"type":15},"Strategy","strategy",{"name":3847,"slug":3848,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":3851,"name":3851,"fn":3852,"description":3853,"org":3854,"tags":3855,"stars":3778,"repoUrl":3779,"updatedAt":3861},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3856,3857,3859,3860],{"name":3630,"slug":3631,"type":15},{"name":3858,"slug":3851,"type":15},"Figma",{"name":3687,"slug":3688,"type":15},{"name":3794,"slug":3795,"type":15},"2026-04-12T05:06:47.939943",{"slug":3863,"name":3863,"fn":3864,"description":3865,"org":3866,"tags":3867,"stars":3778,"repoUrl":3779,"updatedAt":3875},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3868,3869,3872,3873,3874],{"name":3630,"slug":3631,"type":15},{"name":3870,"slug":3871,"type":15},"Design System","design-system",{"name":3858,"slug":3851,"type":15},{"name":3687,"slug":3688,"type":15},{"name":3696,"slug":3697,"type":15},"2026-05-10T05:59:52.971881",{"slug":3877,"name":3877,"fn":3878,"description":3879,"org":3880,"tags":3881,"stars":3778,"repoUrl":3779,"updatedAt":3889},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3882,3883,3884,3887,3888],{"name":3630,"slug":3631,"type":15},{"name":3870,"slug":3871,"type":15},{"name":3885,"slug":3886,"type":15},"Documentation","documentation",{"name":3858,"slug":3851,"type":15},{"name":3687,"slug":3688,"type":15},"2026-05-16T06:07:47.821474",{"slug":3891,"name":3891,"fn":3892,"description":3893,"org":3894,"tags":3895,"stars":3778,"repoUrl":3779,"updatedAt":3901},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3896,3897,3898,3899,3900],{"name":3630,"slug":3631,"type":15},{"name":3858,"slug":3851,"type":15},{"name":3687,"slug":3688,"type":15},{"name":3696,"slug":3697,"type":15},{"name":3776,"slug":3777,"type":15},"2026-05-16T06:07:40.583615",{"slug":3903,"name":3903,"fn":3904,"description":3905,"org":3906,"tags":3907,"stars":3778,"repoUrl":3779,"updatedAt":3916},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3908,3911,3912,3915],{"name":3909,"slug":3910,"type":15},"Animation","animation",{"name":3811,"slug":3812,"type":15},{"name":3913,"slug":3914,"type":15},"Creative","creative",{"name":3630,"slug":3631,"type":15},"2026-05-02T05:31:48.48485",{"slug":3918,"name":3918,"fn":3919,"description":3920,"org":3921,"tags":3922,"stars":3778,"repoUrl":3779,"updatedAt":3932},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3923,3924,3925,3928,3931],{"name":3913,"slug":3914,"type":15},{"name":3630,"slug":3631,"type":15},{"name":3926,"slug":3927,"type":15},"Image Generation","image-generation",{"name":3929,"slug":3930,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675]