[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-twilio-twilio-voice-twiml":3,"mdc--f6dtdt-key":36,"related-repo-twilio-twilio-voice-twiml":2328,"related-org-twilio-twilio-voice-twiml":2434},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":34,"mdContent":35},"twilio-voice-twiml","build voice call logic with TwiML","Build voice call logic using TwiML (Twilio Markup Language). Covers the core verbs (Say, Play, Gather, Dial, Record, Conference), generating TwiML with Python and Node.js SDKs, and a complete inbound call IVR example. Use this skill to define call behavior for inbound or outbound calls.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"twilio","Twilio","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftwilio.png",[12,16,19,22,25],{"name":13,"slug":14,"type":15},"Python","python","tag",{"name":17,"slug":18,"type":15},"API Development","api-development",{"name":20,"slug":21,"type":15},"Voice","voice",{"name":23,"slug":24,"type":15},"Node.js","nodejs",{"name":9,"slug":8,"type":15},25,"https:\u002F\u002Fgithub.com\u002Ftwilio\u002Fai","2026-07-17T06:04:12.874556",null,7,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":29},[],"https:\u002F\u002Fgithub.com\u002Ftwilio\u002Fai\u002Ftree\u002FHEAD\u002Fskills\u002Ftwilio\u002Ftwilio-voice-twiml","---\nname: twilio-voice-twiml\ndescription: >\n  Build voice call logic using TwiML (Twilio Markup Language). Covers the\n  core verbs (Say, Play, Gather, Dial, Record, Conference), generating TwiML\n  with Python and Node.js SDKs, and a complete inbound call IVR example. Use\n  this skill to define call behavior for inbound or outbound calls.\n---\n\n## Overview\n\nTwiML is XML that Twilio executes during a call. Your server returns a TwiML document in response to a Twilio webhook POST, and Twilio executes it.\n\n```\nCaller → Twilio → POST to your webhook → Your server returns TwiML → Twilio executes it\n```\n\n---\n\n## Prerequisites\n\n- Twilio account with a voice-capable phone number\n  — New to Twilio? See `twilio-account-setup`\n- Webhook endpoint returning TwiML with `Content-Type: text\u002Fxml`\n- SDK (for programmatic generation): `pip install twilio` \u002F `npm install twilio`\n\n---\n\n## Quickstart\n\nA minimal inbound call handler that greets the caller and presents a menu:\n\n**Python (Flask)**\n```python\nfrom flask import Flask, request\nfrom twilio.twiml.voice_response import VoiceResponse\n\napp = Flask(__name__)\n\n@app.route(\"\u002Fvoice\", methods=[\"POST\"])\ndef handle_call():\n    response = VoiceResponse()\n    gather = response.gather(num_digits=1, action=\"\u002Fmenu-choice\")\n    gather.say(\"Welcome to Acme. Press 1 for sales, 2 for support.\")\n    response.redirect(\"\u002Fvoice\")  # Loop if no input\n    return str(response)\n\n@app.route(\"\u002Fmenu-choice\", methods=[\"POST\"])\ndef menu_choice():\n    digit = request.form.get(\"Digits\")\n    response = VoiceResponse()\n    if digit == \"1\":\n        response.dial(\"+15551234567\")\n    elif digit == \"2\":\n        response.say(\"Connecting to support.\")\n        response.dial(\"+15559876543\")\n    else:\n        response.say(\"Invalid option.\")\n        response.redirect(\"\u002Fvoice\")\n    return str(response)\n```\n\n**Node.js (Express)**\n```node\nconst { VoiceResponse } = require(\"twilio\").twiml;\n\napp.post(\"\u002Fvoice\", (req, res) => {\n    const response = new VoiceResponse();\n    const gather = response.gather({ numDigits: 1, action: \"\u002Fmenu-choice\" });\n    gather.say(\"Welcome. Press 1 for sales, 2 for support.\");\n    response.redirect(\"\u002Fvoice\");\n    res.type(\"text\u002Fxml\").send(response.toString());\n});\n\napp.post(\"\u002Fmenu-choice\", (req, res) => {\n    const digit = req.body.Digits;\n    const response = new VoiceResponse();\n    if (digit === \"1\") response.dial(\"+15551234567\");\n    else response.say(\"Invalid option.\").redirect(\"\u002Fvoice\");\n    res.type(\"text\u002Fxml\").send(response.toString());\n});\n```\n\n---\n\n## Core Verbs\n\n### Say — Text-to-speech\n\n**Python**\n```python\nfrom twilio.twiml.voice_response import VoiceResponse\n\nresponse = VoiceResponse()\nresponse.say(\"Your appointment is confirmed.\", voice=\"alice\", language=\"en-US\")\n```\n\n**Node.js**\n```node\nconst { VoiceResponse } = require(\"twilio\").twiml;\nconst response = new VoiceResponse();\nresponse.say({ voice: \"alice\", language: \"en-US\" }, \"Your appointment is confirmed.\");\n```\n\nVoices: `alice` (default), `man`, `woman`, or Polly\u002FGoogle TTS (e.g. `Polly.Joanna`).\n\n### Gather — Collect keypad input or speech\n\n**Python**\n```python\nresponse = VoiceResponse()\ngather = response.gather(num_digits=1, action=\"\u002Fhandle-input\", method=\"POST\")\ngather.say(\"Press 1 for sales, press 2 for support.\")\nresponse.say(\"We did not receive your input.\")  # Fallback if no input\n```\n\n**Node.js**\n```node\nconst gather = response.gather({ numDigits: 1, action: \"\u002Fhandle-input\", method: \"POST\" });\ngather.say(\"Press 1 for sales, press 2 for support.\");\nresponse.say(\"We did not receive your input.\");\n```\n\nTwilio POSTs collected digits to `action` as `Digits` parameter.\n\n### Play — Play an audio file\n\n**Python**\n```python\nresponse = VoiceResponse()\nresponse.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\")\n```\n\n**Node.js**\n```node\nconst response = new VoiceResponse();\nresponse.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\");\n```\n\nSupported formats: MP3, WAV. URL must be publicly accessible.\n\n### Dial — Connect to another number\n\n**Python**\n```python\nfrom twilio.twiml.voice_response import Dial\n\nresponse = VoiceResponse()\ndial = Dial(action=\"\u002Fdial-complete\")\ndial.number(\"+15558675310\")\nresponse.append(dial)\n```\n\n**Node.js**\n```node\nconst dial = response.dial({ action: \"\u002Fdial-complete\" });\ndial.number(\"+15558675310\");\n```\n\n### Record — Capture caller audio\n\n**Python**\n```python\nresponse = VoiceResponse()\nresponse.say(\"Leave a message after the beep.\")\nresponse.record(\n    action=\"\u002Frecording-complete\",\n    max_length=60,\n    transcribe=True,\n    transcribe_callback=\"\u002Ftranscription-ready\"\n)\n```\n\n**Node.js**\n```node\nconst response = new VoiceResponse();\nresponse.say(\"Leave a message after the beep.\");\nresponse.record({\n    action: \"\u002Frecording-complete\",\n    maxLength: 60,\n    transcribe: true,\n    transcribeCallback: \"\u002Ftranscription-ready\",\n});\n```\n\n### Voicemail — Record a message when no one answers\n\nUse `\u003CDial>` with `action` URL + `\u003CRecord>` in the action handler. When the dial times out or the callee is busy, the action URL serves TwiML with `\u003CRecord>`.\n\n**Python**\n```python\n# Primary TwiML — try to connect the call\nresponse = VoiceResponse()\ndial = Dial(action=\"\u002Fvoicemail\", timeout=20)  # 20 seconds before voicemail\ndial.number(\"+15558675310\")\nresponse.append(dial)\n\n# \u002Fvoicemail handler — plays if no answer\ndef voicemail_handler(request):\n    response = VoiceResponse()\n    response.say(\"We missed your call. Please leave a message after the beep.\")\n    response.record(\n        action=\"\u002Frecording-complete\",\n        max_length=120,\n        transcribe=True,\n        transcribe_callback=\"\u002Ftranscription-ready\",\n        play_beep=True\n    )\n    response.say(\"We didn't receive a recording. Goodbye.\")\n    return str(response)\n```\n\n**Node.js**\n```node\n\u002F\u002F Primary TwiML — try to connect the call\nconst response = new VoiceResponse();\nconst dial = response.dial({ action: \"\u002Fvoicemail\", timeout: 20 });\ndial.number(\"+15558675310\");\n\n\u002F\u002F \u002Fvoicemail handler — plays if no answer\napp.post(\"\u002Fvoicemail\", (req, res) => {\n    const response = new VoiceResponse();\n    response.say(\"We missed your call. Please leave a message after the beep.\");\n    response.record({\n        action: \"\u002Frecording-complete\",\n        maxLength: 120,\n        transcribe: true,\n        transcribeCallback: \"\u002Ftranscription-ready\",\n        playBeep: true,\n    });\n    response.say(\"We didn't receive a recording. Goodbye.\");\n    res.type(\"text\u002Fxml\").send(response.toString());\n});\n```\n\n**Important:** `\u003CRecord>` captures the caller only (voicemail-style). It is NOT for recording two-party calls — see `twilio-call-recordings` for that.\n\n### Conference — Multi-party calls\n\n**Python**\n```python\nresponse = VoiceResponse()\ndial = response.dial()\ndial.conference(\n    \"Daily Standup\",\n    start_conference_on_enter=True,\n    end_conference_on_exit=True\n)\n```\n\n**Node.js**\n```node\nconst response = new VoiceResponse();\nconst dial = response.dial();\ndial.conference(\"Daily Standup\", {\n    startConferenceOnEnter: true,\n    endConferenceOnExit: true,\n});\n```\n\n### Pay — PCI-compliant payment collection\n\n> **Critical warnings:**\n> - Pay Connectors are **Console-only** — there is no REST API to create or manage connectors. Set up in Console > Voice > Pay Connectors before coding.\n> - **PCI Mode is IRREVERSIBLE** once enabled on an account. Use a dedicated sub-account for payment calls.\n\n**Python**\n```python\nresponse = VoiceResponse()\nresponse.say(\"We'll now collect your payment.\")\npay = Pay(\n    payment_connector=\"stripe_connector\",  # Name from Console setup\n    charge_amount=\"49.99\",\n    currency=\"usd\",\n    action=\"\u002Fpayment-complete\",\n    status_callback=\"\u002Fpayment-status\"\n)\nresponse.append(pay)\n```\n\n**Node.js**\n```node\nconst response = new VoiceResponse();\nresponse.say(\"We'll now collect your payment.\");\nresponse.pay({\n    paymentConnector: \"stripe_connector\",\n    chargeAmount: \"49.99\",\n    currency: \"usd\",\n    action: \"\u002Fpayment-complete\",\n    statusCallback: \"\u002Fpayment-status\",\n});\n```\n\nSupported processors: Stripe, Braintree, CardConnect. Card data routes directly to the processor — never touches your server.\n\n---\n\n## Production Deployment\n\n### Webhook Hosting\n\nFor production, do NOT use ngrok. Deploy your TwiML server with HTTPS:\n\n- **Requirement**: Public HTTPS URL, responds within 15 seconds, returns `Content-Type: text\u002Fxml`\n- **Options**: Cloud Run, AWS Lambda + API Gateway, Railway, Render — any service with TLS and auto-scaling\n- **Fallback URL**: Configure in Console (Phone Numbers > Active Numbers > select number) for when your primary server is unreachable\n\n### State Between TwiML Requests\n\nEach webhook request is stateless. To maintain conversation state across interactions:\n\n- **URL query params**: Pass state in `action` URLs — `\u002Fnext-step?language=es&dept=sales`\n- **Session store**: Use Redis or a database keyed by `CallSid`\n- **Do NOT use in-memory state** — your server may scale to multiple instances\n\n### Monitoring\n\n- **Status callbacks**: Track call lifecycle events (`statusCallback` on the call or number config)\n- **Voice Insights**: Automatic quality metrics per call (Console > Monitor > Insights)\n- **Debugger**: Console > Monitor > Errors for TwiML parsing failures and webhook timeouts\n- **Fallback URLs**: Always configure a fallback TwiML URL — serves a graceful message if your primary endpoint fails\n\n---\n\n## Webhook Request Parameters\n\n| Parameter | Description |\n|-----------|-------------|\n| `CallSid` | Unique call identifier |\n| `From` | Caller's number |\n| `To` | Called number |\n| `CallStatus` | Current status |\n| `Direction` | `inbound` or `outbound-api` |\n\n---\n\n## CANNOT\n\n- **Cannot return TwiML without correct content type** — Must use `Content-Type: text\u002Fxml`\n- **Cannot exceed 15-second webhook response time** — Twilio times out and falls back\n- **Cannot exceed 4,096 characters in `\u003CSay>` verb** — Split longer text across multiple `\u003CSay>` elements\n- **Cannot create Pay Connectors via API** — Pay Connectors are Console-only (Console > Voice > Pay Connectors). No REST API exists for connector management.\n- **Cannot reverse PCI Mode** — Once enabled on an account, PCI Mode is permanent and account-wide. Use a dedicated sub-account for payment calls.\n- **Cannot use `\u003CRecord>` for two-party call recording** — `\u003CRecord>` captures the caller only (voicemail-style). For dual-channel recording of both parties, use `record=True` on `calls.create()` or the Recordings API.\n\n---\n\n## Next Steps\n\n- **Place outbound calls (AMD, conferencing):** `twilio-voice-outbound-calls`\n- **AI voice agents with real-time speech\u002FLLM:** `twilio-voice-conversation-relay`\n",{"data":37,"body":38},{"name":4,"description":6},{"type":39,"children":40},"root",[41,50,56,69,73,79,125,128,134,139,148,387,395,535,538,544,551,558,595,602,632,669,675,682,720,727,758,779,785,792,814,821,843,848,854,861,914,921,944,950,957,1027,1034,1103,1109,1144,1151,1304,1311,1464,1489,1495,1502,1563,1570,1623,1629,1666,1673,1758,1765,1842,1847,1850,1856,1862,1867,1905,1911,1916,1968,1974,2025,2028,2034,2158,2161,2167,2280,2283,2289,2322],{"type":42,"tag":43,"props":44,"children":46},"element","h2",{"id":45},"overview",[47],{"type":48,"value":49},"text","Overview",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54],{"type":48,"value":55},"TwiML is XML that Twilio executes during a call. Your server returns a TwiML document in response to a Twilio webhook POST, and Twilio executes it.",{"type":42,"tag":57,"props":58,"children":62},"pre",{"className":59,"code":61,"language":48},[60],"language-text","Caller → Twilio → POST to your webhook → Your server returns TwiML → Twilio executes it\n",[63],{"type":42,"tag":64,"props":65,"children":67},"code",{"__ignoreMap":66},"",[68],{"type":48,"value":61},{"type":42,"tag":70,"props":71,"children":72},"hr",{},[],{"type":42,"tag":43,"props":74,"children":76},{"id":75},"prerequisites",[77],{"type":48,"value":78},"Prerequisites",{"type":42,"tag":80,"props":81,"children":82},"ul",{},[83,95,106],{"type":42,"tag":84,"props":85,"children":86},"li",{},[87,89],{"type":48,"value":88},"Twilio account with a voice-capable phone number\n— New to Twilio? See ",{"type":42,"tag":64,"props":90,"children":92},{"className":91},[],[93],{"type":48,"value":94},"twilio-account-setup",{"type":42,"tag":84,"props":96,"children":97},{},[98,100],{"type":48,"value":99},"Webhook endpoint returning TwiML with ",{"type":42,"tag":64,"props":101,"children":103},{"className":102},[],[104],{"type":48,"value":105},"Content-Type: text\u002Fxml",{"type":42,"tag":84,"props":107,"children":108},{},[109,111,117,119],{"type":48,"value":110},"SDK (for programmatic generation): ",{"type":42,"tag":64,"props":112,"children":114},{"className":113},[],[115],{"type":48,"value":116},"pip install twilio",{"type":48,"value":118}," \u002F ",{"type":42,"tag":64,"props":120,"children":122},{"className":121},[],[123],{"type":48,"value":124},"npm install twilio",{"type":42,"tag":70,"props":126,"children":127},{},[],{"type":42,"tag":43,"props":129,"children":131},{"id":130},"quickstart",[132],{"type":48,"value":133},"Quickstart",{"type":42,"tag":51,"props":135,"children":136},{},[137],{"type":48,"value":138},"A minimal inbound call handler that greets the caller and presents a menu:",{"type":42,"tag":51,"props":140,"children":141},{},[142],{"type":42,"tag":143,"props":144,"children":145},"strong",{},[146],{"type":48,"value":147},"Python (Flask)",{"type":42,"tag":57,"props":149,"children":152},{"className":150,"code":151,"language":14,"meta":66,"style":66},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from flask import Flask, request\nfrom twilio.twiml.voice_response import VoiceResponse\n\napp = Flask(__name__)\n\n@app.route(\"\u002Fvoice\", methods=[\"POST\"])\ndef handle_call():\n    response = VoiceResponse()\n    gather = response.gather(num_digits=1, action=\"\u002Fmenu-choice\")\n    gather.say(\"Welcome to Acme. Press 1 for sales, 2 for support.\")\n    response.redirect(\"\u002Fvoice\")  # Loop if no input\n    return str(response)\n\n@app.route(\"\u002Fmenu-choice\", methods=[\"POST\"])\ndef menu_choice():\n    digit = request.form.get(\"Digits\")\n    response = VoiceResponse()\n    if digit == \"1\":\n        response.dial(\"+15551234567\")\n    elif digit == \"2\":\n        response.say(\"Connecting to support.\")\n        response.dial(\"+15559876543\")\n    else:\n        response.say(\"Invalid option.\")\n        response.redirect(\"\u002Fvoice\")\n    return str(response)\n",[153],{"type":42,"tag":64,"props":154,"children":155},{"__ignoreMap":66},[156,167,176,186,195,203,212,220,229,238,247,256,265,273,282,291,300,308,317,326,335,344,353,362,371,379],{"type":42,"tag":157,"props":158,"children":161},"span",{"class":159,"line":160},"line",1,[162],{"type":42,"tag":157,"props":163,"children":164},{},[165],{"type":48,"value":166},"from flask import Flask, request\n",{"type":42,"tag":157,"props":168,"children":170},{"class":159,"line":169},2,[171],{"type":42,"tag":157,"props":172,"children":173},{},[174],{"type":48,"value":175},"from twilio.twiml.voice_response import VoiceResponse\n",{"type":42,"tag":157,"props":177,"children":179},{"class":159,"line":178},3,[180],{"type":42,"tag":157,"props":181,"children":183},{"emptyLinePlaceholder":182},true,[184],{"type":48,"value":185},"\n",{"type":42,"tag":157,"props":187,"children":189},{"class":159,"line":188},4,[190],{"type":42,"tag":157,"props":191,"children":192},{},[193],{"type":48,"value":194},"app = Flask(__name__)\n",{"type":42,"tag":157,"props":196,"children":198},{"class":159,"line":197},5,[199],{"type":42,"tag":157,"props":200,"children":201},{"emptyLinePlaceholder":182},[202],{"type":48,"value":185},{"type":42,"tag":157,"props":204,"children":206},{"class":159,"line":205},6,[207],{"type":42,"tag":157,"props":208,"children":209},{},[210],{"type":48,"value":211},"@app.route(\"\u002Fvoice\", methods=[\"POST\"])\n",{"type":42,"tag":157,"props":213,"children":214},{"class":159,"line":30},[215],{"type":42,"tag":157,"props":216,"children":217},{},[218],{"type":48,"value":219},"def handle_call():\n",{"type":42,"tag":157,"props":221,"children":223},{"class":159,"line":222},8,[224],{"type":42,"tag":157,"props":225,"children":226},{},[227],{"type":48,"value":228},"    response = VoiceResponse()\n",{"type":42,"tag":157,"props":230,"children":232},{"class":159,"line":231},9,[233],{"type":42,"tag":157,"props":234,"children":235},{},[236],{"type":48,"value":237},"    gather = response.gather(num_digits=1, action=\"\u002Fmenu-choice\")\n",{"type":42,"tag":157,"props":239,"children":241},{"class":159,"line":240},10,[242],{"type":42,"tag":157,"props":243,"children":244},{},[245],{"type":48,"value":246},"    gather.say(\"Welcome to Acme. Press 1 for sales, 2 for support.\")\n",{"type":42,"tag":157,"props":248,"children":250},{"class":159,"line":249},11,[251],{"type":42,"tag":157,"props":252,"children":253},{},[254],{"type":48,"value":255},"    response.redirect(\"\u002Fvoice\")  # Loop if no input\n",{"type":42,"tag":157,"props":257,"children":259},{"class":159,"line":258},12,[260],{"type":42,"tag":157,"props":261,"children":262},{},[263],{"type":48,"value":264},"    return str(response)\n",{"type":42,"tag":157,"props":266,"children":268},{"class":159,"line":267},13,[269],{"type":42,"tag":157,"props":270,"children":271},{"emptyLinePlaceholder":182},[272],{"type":48,"value":185},{"type":42,"tag":157,"props":274,"children":276},{"class":159,"line":275},14,[277],{"type":42,"tag":157,"props":278,"children":279},{},[280],{"type":48,"value":281},"@app.route(\"\u002Fmenu-choice\", methods=[\"POST\"])\n",{"type":42,"tag":157,"props":283,"children":285},{"class":159,"line":284},15,[286],{"type":42,"tag":157,"props":287,"children":288},{},[289],{"type":48,"value":290},"def menu_choice():\n",{"type":42,"tag":157,"props":292,"children":294},{"class":159,"line":293},16,[295],{"type":42,"tag":157,"props":296,"children":297},{},[298],{"type":48,"value":299},"    digit = request.form.get(\"Digits\")\n",{"type":42,"tag":157,"props":301,"children":303},{"class":159,"line":302},17,[304],{"type":42,"tag":157,"props":305,"children":306},{},[307],{"type":48,"value":228},{"type":42,"tag":157,"props":309,"children":311},{"class":159,"line":310},18,[312],{"type":42,"tag":157,"props":313,"children":314},{},[315],{"type":48,"value":316},"    if digit == \"1\":\n",{"type":42,"tag":157,"props":318,"children":320},{"class":159,"line":319},19,[321],{"type":42,"tag":157,"props":322,"children":323},{},[324],{"type":48,"value":325},"        response.dial(\"+15551234567\")\n",{"type":42,"tag":157,"props":327,"children":329},{"class":159,"line":328},20,[330],{"type":42,"tag":157,"props":331,"children":332},{},[333],{"type":48,"value":334},"    elif digit == \"2\":\n",{"type":42,"tag":157,"props":336,"children":338},{"class":159,"line":337},21,[339],{"type":42,"tag":157,"props":340,"children":341},{},[342],{"type":48,"value":343},"        response.say(\"Connecting to support.\")\n",{"type":42,"tag":157,"props":345,"children":347},{"class":159,"line":346},22,[348],{"type":42,"tag":157,"props":349,"children":350},{},[351],{"type":48,"value":352},"        response.dial(\"+15559876543\")\n",{"type":42,"tag":157,"props":354,"children":356},{"class":159,"line":355},23,[357],{"type":42,"tag":157,"props":358,"children":359},{},[360],{"type":48,"value":361},"    else:\n",{"type":42,"tag":157,"props":363,"children":365},{"class":159,"line":364},24,[366],{"type":42,"tag":157,"props":367,"children":368},{},[369],{"type":48,"value":370},"        response.say(\"Invalid option.\")\n",{"type":42,"tag":157,"props":372,"children":373},{"class":159,"line":26},[374],{"type":42,"tag":157,"props":375,"children":376},{},[377],{"type":48,"value":378},"        response.redirect(\"\u002Fvoice\")\n",{"type":42,"tag":157,"props":380,"children":382},{"class":159,"line":381},26,[383],{"type":42,"tag":157,"props":384,"children":385},{},[386],{"type":48,"value":264},{"type":42,"tag":51,"props":388,"children":389},{},[390],{"type":42,"tag":143,"props":391,"children":392},{},[393],{"type":48,"value":394},"Node.js (Express)",{"type":42,"tag":57,"props":396,"children":400},{"className":397,"code":398,"language":399,"meta":66,"style":66},"language-node shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const { VoiceResponse } = require(\"twilio\").twiml;\n\napp.post(\"\u002Fvoice\", (req, res) => {\n    const response = new VoiceResponse();\n    const gather = response.gather({ numDigits: 1, action: \"\u002Fmenu-choice\" });\n    gather.say(\"Welcome. Press 1 for sales, 2 for support.\");\n    response.redirect(\"\u002Fvoice\");\n    res.type(\"text\u002Fxml\").send(response.toString());\n});\n\napp.post(\"\u002Fmenu-choice\", (req, res) => {\n    const digit = req.body.Digits;\n    const response = new VoiceResponse();\n    if (digit === \"1\") response.dial(\"+15551234567\");\n    else response.say(\"Invalid option.\").redirect(\"\u002Fvoice\");\n    res.type(\"text\u002Fxml\").send(response.toString());\n});\n","node",[401],{"type":42,"tag":64,"props":402,"children":403},{"__ignoreMap":66},[404,412,419,427,435,443,451,459,467,475,482,490,498,505,513,521,528],{"type":42,"tag":157,"props":405,"children":406},{"class":159,"line":160},[407],{"type":42,"tag":157,"props":408,"children":409},{},[410],{"type":48,"value":411},"const { VoiceResponse } = require(\"twilio\").twiml;\n",{"type":42,"tag":157,"props":413,"children":414},{"class":159,"line":169},[415],{"type":42,"tag":157,"props":416,"children":417},{"emptyLinePlaceholder":182},[418],{"type":48,"value":185},{"type":42,"tag":157,"props":420,"children":421},{"class":159,"line":178},[422],{"type":42,"tag":157,"props":423,"children":424},{},[425],{"type":48,"value":426},"app.post(\"\u002Fvoice\", (req, res) => {\n",{"type":42,"tag":157,"props":428,"children":429},{"class":159,"line":188},[430],{"type":42,"tag":157,"props":431,"children":432},{},[433],{"type":48,"value":434},"    const response = new VoiceResponse();\n",{"type":42,"tag":157,"props":436,"children":437},{"class":159,"line":197},[438],{"type":42,"tag":157,"props":439,"children":440},{},[441],{"type":48,"value":442},"    const gather = response.gather({ numDigits: 1, action: \"\u002Fmenu-choice\" });\n",{"type":42,"tag":157,"props":444,"children":445},{"class":159,"line":205},[446],{"type":42,"tag":157,"props":447,"children":448},{},[449],{"type":48,"value":450},"    gather.say(\"Welcome. Press 1 for sales, 2 for support.\");\n",{"type":42,"tag":157,"props":452,"children":453},{"class":159,"line":30},[454],{"type":42,"tag":157,"props":455,"children":456},{},[457],{"type":48,"value":458},"    response.redirect(\"\u002Fvoice\");\n",{"type":42,"tag":157,"props":460,"children":461},{"class":159,"line":222},[462],{"type":42,"tag":157,"props":463,"children":464},{},[465],{"type":48,"value":466},"    res.type(\"text\u002Fxml\").send(response.toString());\n",{"type":42,"tag":157,"props":468,"children":469},{"class":159,"line":231},[470],{"type":42,"tag":157,"props":471,"children":472},{},[473],{"type":48,"value":474},"});\n",{"type":42,"tag":157,"props":476,"children":477},{"class":159,"line":240},[478],{"type":42,"tag":157,"props":479,"children":480},{"emptyLinePlaceholder":182},[481],{"type":48,"value":185},{"type":42,"tag":157,"props":483,"children":484},{"class":159,"line":249},[485],{"type":42,"tag":157,"props":486,"children":487},{},[488],{"type":48,"value":489},"app.post(\"\u002Fmenu-choice\", (req, res) => {\n",{"type":42,"tag":157,"props":491,"children":492},{"class":159,"line":258},[493],{"type":42,"tag":157,"props":494,"children":495},{},[496],{"type":48,"value":497},"    const digit = req.body.Digits;\n",{"type":42,"tag":157,"props":499,"children":500},{"class":159,"line":267},[501],{"type":42,"tag":157,"props":502,"children":503},{},[504],{"type":48,"value":434},{"type":42,"tag":157,"props":506,"children":507},{"class":159,"line":275},[508],{"type":42,"tag":157,"props":509,"children":510},{},[511],{"type":48,"value":512},"    if (digit === \"1\") response.dial(\"+15551234567\");\n",{"type":42,"tag":157,"props":514,"children":515},{"class":159,"line":284},[516],{"type":42,"tag":157,"props":517,"children":518},{},[519],{"type":48,"value":520},"    else response.say(\"Invalid option.\").redirect(\"\u002Fvoice\");\n",{"type":42,"tag":157,"props":522,"children":523},{"class":159,"line":293},[524],{"type":42,"tag":157,"props":525,"children":526},{},[527],{"type":48,"value":466},{"type":42,"tag":157,"props":529,"children":530},{"class":159,"line":302},[531],{"type":42,"tag":157,"props":532,"children":533},{},[534],{"type":48,"value":474},{"type":42,"tag":70,"props":536,"children":537},{},[],{"type":42,"tag":43,"props":539,"children":541},{"id":540},"core-verbs",[542],{"type":48,"value":543},"Core Verbs",{"type":42,"tag":545,"props":546,"children":548},"h3",{"id":547},"say-text-to-speech",[549],{"type":48,"value":550},"Say — Text-to-speech",{"type":42,"tag":51,"props":552,"children":553},{},[554],{"type":42,"tag":143,"props":555,"children":556},{},[557],{"type":48,"value":13},{"type":42,"tag":57,"props":559,"children":561},{"className":150,"code":560,"language":14,"meta":66,"style":66},"from twilio.twiml.voice_response import VoiceResponse\n\nresponse = VoiceResponse()\nresponse.say(\"Your appointment is confirmed.\", voice=\"alice\", language=\"en-US\")\n",[562],{"type":42,"tag":64,"props":563,"children":564},{"__ignoreMap":66},[565,572,579,587],{"type":42,"tag":157,"props":566,"children":567},{"class":159,"line":160},[568],{"type":42,"tag":157,"props":569,"children":570},{},[571],{"type":48,"value":175},{"type":42,"tag":157,"props":573,"children":574},{"class":159,"line":169},[575],{"type":42,"tag":157,"props":576,"children":577},{"emptyLinePlaceholder":182},[578],{"type":48,"value":185},{"type":42,"tag":157,"props":580,"children":581},{"class":159,"line":178},[582],{"type":42,"tag":157,"props":583,"children":584},{},[585],{"type":48,"value":586},"response = VoiceResponse()\n",{"type":42,"tag":157,"props":588,"children":589},{"class":159,"line":188},[590],{"type":42,"tag":157,"props":591,"children":592},{},[593],{"type":48,"value":594},"response.say(\"Your appointment is confirmed.\", voice=\"alice\", language=\"en-US\")\n",{"type":42,"tag":51,"props":596,"children":597},{},[598],{"type":42,"tag":143,"props":599,"children":600},{},[601],{"type":48,"value":23},{"type":42,"tag":57,"props":603,"children":605},{"className":397,"code":604,"language":399,"meta":66,"style":66},"const { VoiceResponse } = require(\"twilio\").twiml;\nconst response = new VoiceResponse();\nresponse.say({ voice: \"alice\", language: \"en-US\" }, \"Your appointment is confirmed.\");\n",[606],{"type":42,"tag":64,"props":607,"children":608},{"__ignoreMap":66},[609,616,624],{"type":42,"tag":157,"props":610,"children":611},{"class":159,"line":160},[612],{"type":42,"tag":157,"props":613,"children":614},{},[615],{"type":48,"value":411},{"type":42,"tag":157,"props":617,"children":618},{"class":159,"line":169},[619],{"type":42,"tag":157,"props":620,"children":621},{},[622],{"type":48,"value":623},"const response = new VoiceResponse();\n",{"type":42,"tag":157,"props":625,"children":626},{"class":159,"line":178},[627],{"type":42,"tag":157,"props":628,"children":629},{},[630],{"type":48,"value":631},"response.say({ voice: \"alice\", language: \"en-US\" }, \"Your appointment is confirmed.\");\n",{"type":42,"tag":51,"props":633,"children":634},{},[635,637,643,645,651,653,659,661,667],{"type":48,"value":636},"Voices: ",{"type":42,"tag":64,"props":638,"children":640},{"className":639},[],[641],{"type":48,"value":642},"alice",{"type":48,"value":644}," (default), ",{"type":42,"tag":64,"props":646,"children":648},{"className":647},[],[649],{"type":48,"value":650},"man",{"type":48,"value":652},", ",{"type":42,"tag":64,"props":654,"children":656},{"className":655},[],[657],{"type":48,"value":658},"woman",{"type":48,"value":660},", or Polly\u002FGoogle TTS (e.g. ",{"type":42,"tag":64,"props":662,"children":664},{"className":663},[],[665],{"type":48,"value":666},"Polly.Joanna",{"type":48,"value":668},").",{"type":42,"tag":545,"props":670,"children":672},{"id":671},"gather-collect-keypad-input-or-speech",[673],{"type":48,"value":674},"Gather — Collect keypad input or speech",{"type":42,"tag":51,"props":676,"children":677},{},[678],{"type":42,"tag":143,"props":679,"children":680},{},[681],{"type":48,"value":13},{"type":42,"tag":57,"props":683,"children":685},{"className":150,"code":684,"language":14,"meta":66,"style":66},"response = VoiceResponse()\ngather = response.gather(num_digits=1, action=\"\u002Fhandle-input\", method=\"POST\")\ngather.say(\"Press 1 for sales, press 2 for support.\")\nresponse.say(\"We did not receive your input.\")  # Fallback if no input\n",[686],{"type":42,"tag":64,"props":687,"children":688},{"__ignoreMap":66},[689,696,704,712],{"type":42,"tag":157,"props":690,"children":691},{"class":159,"line":160},[692],{"type":42,"tag":157,"props":693,"children":694},{},[695],{"type":48,"value":586},{"type":42,"tag":157,"props":697,"children":698},{"class":159,"line":169},[699],{"type":42,"tag":157,"props":700,"children":701},{},[702],{"type":48,"value":703},"gather = response.gather(num_digits=1, action=\"\u002Fhandle-input\", method=\"POST\")\n",{"type":42,"tag":157,"props":705,"children":706},{"class":159,"line":178},[707],{"type":42,"tag":157,"props":708,"children":709},{},[710],{"type":48,"value":711},"gather.say(\"Press 1 for sales, press 2 for support.\")\n",{"type":42,"tag":157,"props":713,"children":714},{"class":159,"line":188},[715],{"type":42,"tag":157,"props":716,"children":717},{},[718],{"type":48,"value":719},"response.say(\"We did not receive your input.\")  # Fallback if no input\n",{"type":42,"tag":51,"props":721,"children":722},{},[723],{"type":42,"tag":143,"props":724,"children":725},{},[726],{"type":48,"value":23},{"type":42,"tag":57,"props":728,"children":730},{"className":397,"code":729,"language":399,"meta":66,"style":66},"const gather = response.gather({ numDigits: 1, action: \"\u002Fhandle-input\", method: \"POST\" });\ngather.say(\"Press 1 for sales, press 2 for support.\");\nresponse.say(\"We did not receive your input.\");\n",[731],{"type":42,"tag":64,"props":732,"children":733},{"__ignoreMap":66},[734,742,750],{"type":42,"tag":157,"props":735,"children":736},{"class":159,"line":160},[737],{"type":42,"tag":157,"props":738,"children":739},{},[740],{"type":48,"value":741},"const gather = response.gather({ numDigits: 1, action: \"\u002Fhandle-input\", method: \"POST\" });\n",{"type":42,"tag":157,"props":743,"children":744},{"class":159,"line":169},[745],{"type":42,"tag":157,"props":746,"children":747},{},[748],{"type":48,"value":749},"gather.say(\"Press 1 for sales, press 2 for support.\");\n",{"type":42,"tag":157,"props":751,"children":752},{"class":159,"line":178},[753],{"type":42,"tag":157,"props":754,"children":755},{},[756],{"type":48,"value":757},"response.say(\"We did not receive your input.\");\n",{"type":42,"tag":51,"props":759,"children":760},{},[761,763,769,771,777],{"type":48,"value":762},"Twilio POSTs collected digits to ",{"type":42,"tag":64,"props":764,"children":766},{"className":765},[],[767],{"type":48,"value":768},"action",{"type":48,"value":770}," as ",{"type":42,"tag":64,"props":772,"children":774},{"className":773},[],[775],{"type":48,"value":776},"Digits",{"type":48,"value":778}," parameter.",{"type":42,"tag":545,"props":780,"children":782},{"id":781},"play-play-an-audio-file",[783],{"type":48,"value":784},"Play — Play an audio file",{"type":42,"tag":51,"props":786,"children":787},{},[788],{"type":42,"tag":143,"props":789,"children":790},{},[791],{"type":48,"value":13},{"type":42,"tag":57,"props":793,"children":795},{"className":150,"code":794,"language":14,"meta":66,"style":66},"response = VoiceResponse()\nresponse.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\")\n",[796],{"type":42,"tag":64,"props":797,"children":798},{"__ignoreMap":66},[799,806],{"type":42,"tag":157,"props":800,"children":801},{"class":159,"line":160},[802],{"type":42,"tag":157,"props":803,"children":804},{},[805],{"type":48,"value":586},{"type":42,"tag":157,"props":807,"children":808},{"class":159,"line":169},[809],{"type":42,"tag":157,"props":810,"children":811},{},[812],{"type":48,"value":813},"response.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\")\n",{"type":42,"tag":51,"props":815,"children":816},{},[817],{"type":42,"tag":143,"props":818,"children":819},{},[820],{"type":48,"value":23},{"type":42,"tag":57,"props":822,"children":824},{"className":397,"code":823,"language":399,"meta":66,"style":66},"const response = new VoiceResponse();\nresponse.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\");\n",[825],{"type":42,"tag":64,"props":826,"children":827},{"__ignoreMap":66},[828,835],{"type":42,"tag":157,"props":829,"children":830},{"class":159,"line":160},[831],{"type":42,"tag":157,"props":832,"children":833},{},[834],{"type":48,"value":623},{"type":42,"tag":157,"props":836,"children":837},{"class":159,"line":169},[838],{"type":42,"tag":157,"props":839,"children":840},{},[841],{"type":48,"value":842},"response.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\");\n",{"type":42,"tag":51,"props":844,"children":845},{},[846],{"type":48,"value":847},"Supported formats: MP3, WAV. URL must be publicly accessible.",{"type":42,"tag":545,"props":849,"children":851},{"id":850},"dial-connect-to-another-number",[852],{"type":48,"value":853},"Dial — Connect to another number",{"type":42,"tag":51,"props":855,"children":856},{},[857],{"type":42,"tag":143,"props":858,"children":859},{},[860],{"type":48,"value":13},{"type":42,"tag":57,"props":862,"children":864},{"className":150,"code":863,"language":14,"meta":66,"style":66},"from twilio.twiml.voice_response import Dial\n\nresponse = VoiceResponse()\ndial = Dial(action=\"\u002Fdial-complete\")\ndial.number(\"+15558675310\")\nresponse.append(dial)\n",[865],{"type":42,"tag":64,"props":866,"children":867},{"__ignoreMap":66},[868,876,883,890,898,906],{"type":42,"tag":157,"props":869,"children":870},{"class":159,"line":160},[871],{"type":42,"tag":157,"props":872,"children":873},{},[874],{"type":48,"value":875},"from twilio.twiml.voice_response import Dial\n",{"type":42,"tag":157,"props":877,"children":878},{"class":159,"line":169},[879],{"type":42,"tag":157,"props":880,"children":881},{"emptyLinePlaceholder":182},[882],{"type":48,"value":185},{"type":42,"tag":157,"props":884,"children":885},{"class":159,"line":178},[886],{"type":42,"tag":157,"props":887,"children":888},{},[889],{"type":48,"value":586},{"type":42,"tag":157,"props":891,"children":892},{"class":159,"line":188},[893],{"type":42,"tag":157,"props":894,"children":895},{},[896],{"type":48,"value":897},"dial = Dial(action=\"\u002Fdial-complete\")\n",{"type":42,"tag":157,"props":899,"children":900},{"class":159,"line":197},[901],{"type":42,"tag":157,"props":902,"children":903},{},[904],{"type":48,"value":905},"dial.number(\"+15558675310\")\n",{"type":42,"tag":157,"props":907,"children":908},{"class":159,"line":205},[909],{"type":42,"tag":157,"props":910,"children":911},{},[912],{"type":48,"value":913},"response.append(dial)\n",{"type":42,"tag":51,"props":915,"children":916},{},[917],{"type":42,"tag":143,"props":918,"children":919},{},[920],{"type":48,"value":23},{"type":42,"tag":57,"props":922,"children":924},{"className":397,"code":923,"language":399,"meta":66,"style":66},"const dial = response.dial({ action: \"\u002Fdial-complete\" });\ndial.number(\"+15558675310\");\n",[925],{"type":42,"tag":64,"props":926,"children":927},{"__ignoreMap":66},[928,936],{"type":42,"tag":157,"props":929,"children":930},{"class":159,"line":160},[931],{"type":42,"tag":157,"props":932,"children":933},{},[934],{"type":48,"value":935},"const dial = response.dial({ action: \"\u002Fdial-complete\" });\n",{"type":42,"tag":157,"props":937,"children":938},{"class":159,"line":169},[939],{"type":42,"tag":157,"props":940,"children":941},{},[942],{"type":48,"value":943},"dial.number(\"+15558675310\");\n",{"type":42,"tag":545,"props":945,"children":947},{"id":946},"record-capture-caller-audio",[948],{"type":48,"value":949},"Record — Capture caller audio",{"type":42,"tag":51,"props":951,"children":952},{},[953],{"type":42,"tag":143,"props":954,"children":955},{},[956],{"type":48,"value":13},{"type":42,"tag":57,"props":958,"children":960},{"className":150,"code":959,"language":14,"meta":66,"style":66},"response = VoiceResponse()\nresponse.say(\"Leave a message after the beep.\")\nresponse.record(\n    action=\"\u002Frecording-complete\",\n    max_length=60,\n    transcribe=True,\n    transcribe_callback=\"\u002Ftranscription-ready\"\n)\n",[961],{"type":42,"tag":64,"props":962,"children":963},{"__ignoreMap":66},[964,971,979,987,995,1003,1011,1019],{"type":42,"tag":157,"props":965,"children":966},{"class":159,"line":160},[967],{"type":42,"tag":157,"props":968,"children":969},{},[970],{"type":48,"value":586},{"type":42,"tag":157,"props":972,"children":973},{"class":159,"line":169},[974],{"type":42,"tag":157,"props":975,"children":976},{},[977],{"type":48,"value":978},"response.say(\"Leave a message after the beep.\")\n",{"type":42,"tag":157,"props":980,"children":981},{"class":159,"line":178},[982],{"type":42,"tag":157,"props":983,"children":984},{},[985],{"type":48,"value":986},"response.record(\n",{"type":42,"tag":157,"props":988,"children":989},{"class":159,"line":188},[990],{"type":42,"tag":157,"props":991,"children":992},{},[993],{"type":48,"value":994},"    action=\"\u002Frecording-complete\",\n",{"type":42,"tag":157,"props":996,"children":997},{"class":159,"line":197},[998],{"type":42,"tag":157,"props":999,"children":1000},{},[1001],{"type":48,"value":1002},"    max_length=60,\n",{"type":42,"tag":157,"props":1004,"children":1005},{"class":159,"line":205},[1006],{"type":42,"tag":157,"props":1007,"children":1008},{},[1009],{"type":48,"value":1010},"    transcribe=True,\n",{"type":42,"tag":157,"props":1012,"children":1013},{"class":159,"line":30},[1014],{"type":42,"tag":157,"props":1015,"children":1016},{},[1017],{"type":48,"value":1018},"    transcribe_callback=\"\u002Ftranscription-ready\"\n",{"type":42,"tag":157,"props":1020,"children":1021},{"class":159,"line":222},[1022],{"type":42,"tag":157,"props":1023,"children":1024},{},[1025],{"type":48,"value":1026},")\n",{"type":42,"tag":51,"props":1028,"children":1029},{},[1030],{"type":42,"tag":143,"props":1031,"children":1032},{},[1033],{"type":48,"value":23},{"type":42,"tag":57,"props":1035,"children":1037},{"className":397,"code":1036,"language":399,"meta":66,"style":66},"const response = new VoiceResponse();\nresponse.say(\"Leave a message after the beep.\");\nresponse.record({\n    action: \"\u002Frecording-complete\",\n    maxLength: 60,\n    transcribe: true,\n    transcribeCallback: \"\u002Ftranscription-ready\",\n});\n",[1038],{"type":42,"tag":64,"props":1039,"children":1040},{"__ignoreMap":66},[1041,1048,1056,1064,1072,1080,1088,1096],{"type":42,"tag":157,"props":1042,"children":1043},{"class":159,"line":160},[1044],{"type":42,"tag":157,"props":1045,"children":1046},{},[1047],{"type":48,"value":623},{"type":42,"tag":157,"props":1049,"children":1050},{"class":159,"line":169},[1051],{"type":42,"tag":157,"props":1052,"children":1053},{},[1054],{"type":48,"value":1055},"response.say(\"Leave a message after the beep.\");\n",{"type":42,"tag":157,"props":1057,"children":1058},{"class":159,"line":178},[1059],{"type":42,"tag":157,"props":1060,"children":1061},{},[1062],{"type":48,"value":1063},"response.record({\n",{"type":42,"tag":157,"props":1065,"children":1066},{"class":159,"line":188},[1067],{"type":42,"tag":157,"props":1068,"children":1069},{},[1070],{"type":48,"value":1071},"    action: \"\u002Frecording-complete\",\n",{"type":42,"tag":157,"props":1073,"children":1074},{"class":159,"line":197},[1075],{"type":42,"tag":157,"props":1076,"children":1077},{},[1078],{"type":48,"value":1079},"    maxLength: 60,\n",{"type":42,"tag":157,"props":1081,"children":1082},{"class":159,"line":205},[1083],{"type":42,"tag":157,"props":1084,"children":1085},{},[1086],{"type":48,"value":1087},"    transcribe: true,\n",{"type":42,"tag":157,"props":1089,"children":1090},{"class":159,"line":30},[1091],{"type":42,"tag":157,"props":1092,"children":1093},{},[1094],{"type":48,"value":1095},"    transcribeCallback: \"\u002Ftranscription-ready\",\n",{"type":42,"tag":157,"props":1097,"children":1098},{"class":159,"line":222},[1099],{"type":42,"tag":157,"props":1100,"children":1101},{},[1102],{"type":48,"value":474},{"type":42,"tag":545,"props":1104,"children":1106},{"id":1105},"voicemail-record-a-message-when-no-one-answers",[1107],{"type":48,"value":1108},"Voicemail — Record a message when no one answers",{"type":42,"tag":51,"props":1110,"children":1111},{},[1112,1114,1120,1122,1127,1129,1135,1137,1142],{"type":48,"value":1113},"Use ",{"type":42,"tag":64,"props":1115,"children":1117},{"className":1116},[],[1118],{"type":48,"value":1119},"\u003CDial>",{"type":48,"value":1121}," with ",{"type":42,"tag":64,"props":1123,"children":1125},{"className":1124},[],[1126],{"type":48,"value":768},{"type":48,"value":1128}," URL + ",{"type":42,"tag":64,"props":1130,"children":1132},{"className":1131},[],[1133],{"type":48,"value":1134},"\u003CRecord>",{"type":48,"value":1136}," in the action handler. When the dial times out or the callee is busy, the action URL serves TwiML with ",{"type":42,"tag":64,"props":1138,"children":1140},{"className":1139},[],[1141],{"type":48,"value":1134},{"type":48,"value":1143},".",{"type":42,"tag":51,"props":1145,"children":1146},{},[1147],{"type":42,"tag":143,"props":1148,"children":1149},{},[1150],{"type":48,"value":13},{"type":42,"tag":57,"props":1152,"children":1154},{"className":150,"code":1153,"language":14,"meta":66,"style":66},"# Primary TwiML — try to connect the call\nresponse = VoiceResponse()\ndial = Dial(action=\"\u002Fvoicemail\", timeout=20)  # 20 seconds before voicemail\ndial.number(\"+15558675310\")\nresponse.append(dial)\n\n# \u002Fvoicemail handler — plays if no answer\ndef voicemail_handler(request):\n    response = VoiceResponse()\n    response.say(\"We missed your call. Please leave a message after the beep.\")\n    response.record(\n        action=\"\u002Frecording-complete\",\n        max_length=120,\n        transcribe=True,\n        transcribe_callback=\"\u002Ftranscription-ready\",\n        play_beep=True\n    )\n    response.say(\"We didn't receive a recording. Goodbye.\")\n    return str(response)\n",[1155],{"type":42,"tag":64,"props":1156,"children":1157},{"__ignoreMap":66},[1158,1166,1173,1181,1188,1195,1202,1210,1218,1225,1233,1241,1249,1257,1265,1273,1281,1289,1297],{"type":42,"tag":157,"props":1159,"children":1160},{"class":159,"line":160},[1161],{"type":42,"tag":157,"props":1162,"children":1163},{},[1164],{"type":48,"value":1165},"# Primary TwiML — try to connect the call\n",{"type":42,"tag":157,"props":1167,"children":1168},{"class":159,"line":169},[1169],{"type":42,"tag":157,"props":1170,"children":1171},{},[1172],{"type":48,"value":586},{"type":42,"tag":157,"props":1174,"children":1175},{"class":159,"line":178},[1176],{"type":42,"tag":157,"props":1177,"children":1178},{},[1179],{"type":48,"value":1180},"dial = Dial(action=\"\u002Fvoicemail\", timeout=20)  # 20 seconds before voicemail\n",{"type":42,"tag":157,"props":1182,"children":1183},{"class":159,"line":188},[1184],{"type":42,"tag":157,"props":1185,"children":1186},{},[1187],{"type":48,"value":905},{"type":42,"tag":157,"props":1189,"children":1190},{"class":159,"line":197},[1191],{"type":42,"tag":157,"props":1192,"children":1193},{},[1194],{"type":48,"value":913},{"type":42,"tag":157,"props":1196,"children":1197},{"class":159,"line":205},[1198],{"type":42,"tag":157,"props":1199,"children":1200},{"emptyLinePlaceholder":182},[1201],{"type":48,"value":185},{"type":42,"tag":157,"props":1203,"children":1204},{"class":159,"line":30},[1205],{"type":42,"tag":157,"props":1206,"children":1207},{},[1208],{"type":48,"value":1209},"# \u002Fvoicemail handler — plays if no answer\n",{"type":42,"tag":157,"props":1211,"children":1212},{"class":159,"line":222},[1213],{"type":42,"tag":157,"props":1214,"children":1215},{},[1216],{"type":48,"value":1217},"def voicemail_handler(request):\n",{"type":42,"tag":157,"props":1219,"children":1220},{"class":159,"line":231},[1221],{"type":42,"tag":157,"props":1222,"children":1223},{},[1224],{"type":48,"value":228},{"type":42,"tag":157,"props":1226,"children":1227},{"class":159,"line":240},[1228],{"type":42,"tag":157,"props":1229,"children":1230},{},[1231],{"type":48,"value":1232},"    response.say(\"We missed your call. Please leave a message after the beep.\")\n",{"type":42,"tag":157,"props":1234,"children":1235},{"class":159,"line":249},[1236],{"type":42,"tag":157,"props":1237,"children":1238},{},[1239],{"type":48,"value":1240},"    response.record(\n",{"type":42,"tag":157,"props":1242,"children":1243},{"class":159,"line":258},[1244],{"type":42,"tag":157,"props":1245,"children":1246},{},[1247],{"type":48,"value":1248},"        action=\"\u002Frecording-complete\",\n",{"type":42,"tag":157,"props":1250,"children":1251},{"class":159,"line":267},[1252],{"type":42,"tag":157,"props":1253,"children":1254},{},[1255],{"type":48,"value":1256},"        max_length=120,\n",{"type":42,"tag":157,"props":1258,"children":1259},{"class":159,"line":275},[1260],{"type":42,"tag":157,"props":1261,"children":1262},{},[1263],{"type":48,"value":1264},"        transcribe=True,\n",{"type":42,"tag":157,"props":1266,"children":1267},{"class":159,"line":284},[1268],{"type":42,"tag":157,"props":1269,"children":1270},{},[1271],{"type":48,"value":1272},"        transcribe_callback=\"\u002Ftranscription-ready\",\n",{"type":42,"tag":157,"props":1274,"children":1275},{"class":159,"line":293},[1276],{"type":42,"tag":157,"props":1277,"children":1278},{},[1279],{"type":48,"value":1280},"        play_beep=True\n",{"type":42,"tag":157,"props":1282,"children":1283},{"class":159,"line":302},[1284],{"type":42,"tag":157,"props":1285,"children":1286},{},[1287],{"type":48,"value":1288},"    )\n",{"type":42,"tag":157,"props":1290,"children":1291},{"class":159,"line":310},[1292],{"type":42,"tag":157,"props":1293,"children":1294},{},[1295],{"type":48,"value":1296},"    response.say(\"We didn't receive a recording. Goodbye.\")\n",{"type":42,"tag":157,"props":1298,"children":1299},{"class":159,"line":319},[1300],{"type":42,"tag":157,"props":1301,"children":1302},{},[1303],{"type":48,"value":264},{"type":42,"tag":51,"props":1305,"children":1306},{},[1307],{"type":42,"tag":143,"props":1308,"children":1309},{},[1310],{"type":48,"value":23},{"type":42,"tag":57,"props":1312,"children":1314},{"className":397,"code":1313,"language":399,"meta":66,"style":66},"\u002F\u002F Primary TwiML — try to connect the call\nconst response = new VoiceResponse();\nconst dial = response.dial({ action: \"\u002Fvoicemail\", timeout: 20 });\ndial.number(\"+15558675310\");\n\n\u002F\u002F \u002Fvoicemail handler — plays if no answer\napp.post(\"\u002Fvoicemail\", (req, res) => {\n    const response = new VoiceResponse();\n    response.say(\"We missed your call. Please leave a message after the beep.\");\n    response.record({\n        action: \"\u002Frecording-complete\",\n        maxLength: 120,\n        transcribe: true,\n        transcribeCallback: \"\u002Ftranscription-ready\",\n        playBeep: true,\n    });\n    response.say(\"We didn't receive a recording. Goodbye.\");\n    res.type(\"text\u002Fxml\").send(response.toString());\n});\n",[1315],{"type":42,"tag":64,"props":1316,"children":1317},{"__ignoreMap":66},[1318,1326,1333,1341,1348,1355,1363,1371,1378,1386,1394,1402,1410,1418,1426,1434,1442,1450,1457],{"type":42,"tag":157,"props":1319,"children":1320},{"class":159,"line":160},[1321],{"type":42,"tag":157,"props":1322,"children":1323},{},[1324],{"type":48,"value":1325},"\u002F\u002F Primary TwiML — try to connect the call\n",{"type":42,"tag":157,"props":1327,"children":1328},{"class":159,"line":169},[1329],{"type":42,"tag":157,"props":1330,"children":1331},{},[1332],{"type":48,"value":623},{"type":42,"tag":157,"props":1334,"children":1335},{"class":159,"line":178},[1336],{"type":42,"tag":157,"props":1337,"children":1338},{},[1339],{"type":48,"value":1340},"const dial = response.dial({ action: \"\u002Fvoicemail\", timeout: 20 });\n",{"type":42,"tag":157,"props":1342,"children":1343},{"class":159,"line":188},[1344],{"type":42,"tag":157,"props":1345,"children":1346},{},[1347],{"type":48,"value":943},{"type":42,"tag":157,"props":1349,"children":1350},{"class":159,"line":197},[1351],{"type":42,"tag":157,"props":1352,"children":1353},{"emptyLinePlaceholder":182},[1354],{"type":48,"value":185},{"type":42,"tag":157,"props":1356,"children":1357},{"class":159,"line":205},[1358],{"type":42,"tag":157,"props":1359,"children":1360},{},[1361],{"type":48,"value":1362},"\u002F\u002F \u002Fvoicemail handler — plays if no answer\n",{"type":42,"tag":157,"props":1364,"children":1365},{"class":159,"line":30},[1366],{"type":42,"tag":157,"props":1367,"children":1368},{},[1369],{"type":48,"value":1370},"app.post(\"\u002Fvoicemail\", (req, res) => {\n",{"type":42,"tag":157,"props":1372,"children":1373},{"class":159,"line":222},[1374],{"type":42,"tag":157,"props":1375,"children":1376},{},[1377],{"type":48,"value":434},{"type":42,"tag":157,"props":1379,"children":1380},{"class":159,"line":231},[1381],{"type":42,"tag":157,"props":1382,"children":1383},{},[1384],{"type":48,"value":1385},"    response.say(\"We missed your call. Please leave a message after the beep.\");\n",{"type":42,"tag":157,"props":1387,"children":1388},{"class":159,"line":240},[1389],{"type":42,"tag":157,"props":1390,"children":1391},{},[1392],{"type":48,"value":1393},"    response.record({\n",{"type":42,"tag":157,"props":1395,"children":1396},{"class":159,"line":249},[1397],{"type":42,"tag":157,"props":1398,"children":1399},{},[1400],{"type":48,"value":1401},"        action: \"\u002Frecording-complete\",\n",{"type":42,"tag":157,"props":1403,"children":1404},{"class":159,"line":258},[1405],{"type":42,"tag":157,"props":1406,"children":1407},{},[1408],{"type":48,"value":1409},"        maxLength: 120,\n",{"type":42,"tag":157,"props":1411,"children":1412},{"class":159,"line":267},[1413],{"type":42,"tag":157,"props":1414,"children":1415},{},[1416],{"type":48,"value":1417},"        transcribe: true,\n",{"type":42,"tag":157,"props":1419,"children":1420},{"class":159,"line":275},[1421],{"type":42,"tag":157,"props":1422,"children":1423},{},[1424],{"type":48,"value":1425},"        transcribeCallback: \"\u002Ftranscription-ready\",\n",{"type":42,"tag":157,"props":1427,"children":1428},{"class":159,"line":284},[1429],{"type":42,"tag":157,"props":1430,"children":1431},{},[1432],{"type":48,"value":1433},"        playBeep: true,\n",{"type":42,"tag":157,"props":1435,"children":1436},{"class":159,"line":293},[1437],{"type":42,"tag":157,"props":1438,"children":1439},{},[1440],{"type":48,"value":1441},"    });\n",{"type":42,"tag":157,"props":1443,"children":1444},{"class":159,"line":302},[1445],{"type":42,"tag":157,"props":1446,"children":1447},{},[1448],{"type":48,"value":1449},"    response.say(\"We didn't receive a recording. Goodbye.\");\n",{"type":42,"tag":157,"props":1451,"children":1452},{"class":159,"line":310},[1453],{"type":42,"tag":157,"props":1454,"children":1455},{},[1456],{"type":48,"value":466},{"type":42,"tag":157,"props":1458,"children":1459},{"class":159,"line":319},[1460],{"type":42,"tag":157,"props":1461,"children":1462},{},[1463],{"type":48,"value":474},{"type":42,"tag":51,"props":1465,"children":1466},{},[1467,1472,1474,1479,1481,1487],{"type":42,"tag":143,"props":1468,"children":1469},{},[1470],{"type":48,"value":1471},"Important:",{"type":48,"value":1473}," ",{"type":42,"tag":64,"props":1475,"children":1477},{"className":1476},[],[1478],{"type":48,"value":1134},{"type":48,"value":1480}," captures the caller only (voicemail-style). It is NOT for recording two-party calls — see ",{"type":42,"tag":64,"props":1482,"children":1484},{"className":1483},[],[1485],{"type":48,"value":1486},"twilio-call-recordings",{"type":48,"value":1488}," for that.",{"type":42,"tag":545,"props":1490,"children":1492},{"id":1491},"conference-multi-party-calls",[1493],{"type":48,"value":1494},"Conference — Multi-party calls",{"type":42,"tag":51,"props":1496,"children":1497},{},[1498],{"type":42,"tag":143,"props":1499,"children":1500},{},[1501],{"type":48,"value":13},{"type":42,"tag":57,"props":1503,"children":1505},{"className":150,"code":1504,"language":14,"meta":66,"style":66},"response = VoiceResponse()\ndial = response.dial()\ndial.conference(\n    \"Daily Standup\",\n    start_conference_on_enter=True,\n    end_conference_on_exit=True\n)\n",[1506],{"type":42,"tag":64,"props":1507,"children":1508},{"__ignoreMap":66},[1509,1516,1524,1532,1540,1548,1556],{"type":42,"tag":157,"props":1510,"children":1511},{"class":159,"line":160},[1512],{"type":42,"tag":157,"props":1513,"children":1514},{},[1515],{"type":48,"value":586},{"type":42,"tag":157,"props":1517,"children":1518},{"class":159,"line":169},[1519],{"type":42,"tag":157,"props":1520,"children":1521},{},[1522],{"type":48,"value":1523},"dial = response.dial()\n",{"type":42,"tag":157,"props":1525,"children":1526},{"class":159,"line":178},[1527],{"type":42,"tag":157,"props":1528,"children":1529},{},[1530],{"type":48,"value":1531},"dial.conference(\n",{"type":42,"tag":157,"props":1533,"children":1534},{"class":159,"line":188},[1535],{"type":42,"tag":157,"props":1536,"children":1537},{},[1538],{"type":48,"value":1539},"    \"Daily Standup\",\n",{"type":42,"tag":157,"props":1541,"children":1542},{"class":159,"line":197},[1543],{"type":42,"tag":157,"props":1544,"children":1545},{},[1546],{"type":48,"value":1547},"    start_conference_on_enter=True,\n",{"type":42,"tag":157,"props":1549,"children":1550},{"class":159,"line":205},[1551],{"type":42,"tag":157,"props":1552,"children":1553},{},[1554],{"type":48,"value":1555},"    end_conference_on_exit=True\n",{"type":42,"tag":157,"props":1557,"children":1558},{"class":159,"line":30},[1559],{"type":42,"tag":157,"props":1560,"children":1561},{},[1562],{"type":48,"value":1026},{"type":42,"tag":51,"props":1564,"children":1565},{},[1566],{"type":42,"tag":143,"props":1567,"children":1568},{},[1569],{"type":48,"value":23},{"type":42,"tag":57,"props":1571,"children":1573},{"className":397,"code":1572,"language":399,"meta":66,"style":66},"const response = new VoiceResponse();\nconst dial = response.dial();\ndial.conference(\"Daily Standup\", {\n    startConferenceOnEnter: true,\n    endConferenceOnExit: true,\n});\n",[1574],{"type":42,"tag":64,"props":1575,"children":1576},{"__ignoreMap":66},[1577,1584,1592,1600,1608,1616],{"type":42,"tag":157,"props":1578,"children":1579},{"class":159,"line":160},[1580],{"type":42,"tag":157,"props":1581,"children":1582},{},[1583],{"type":48,"value":623},{"type":42,"tag":157,"props":1585,"children":1586},{"class":159,"line":169},[1587],{"type":42,"tag":157,"props":1588,"children":1589},{},[1590],{"type":48,"value":1591},"const dial = response.dial();\n",{"type":42,"tag":157,"props":1593,"children":1594},{"class":159,"line":178},[1595],{"type":42,"tag":157,"props":1596,"children":1597},{},[1598],{"type":48,"value":1599},"dial.conference(\"Daily Standup\", {\n",{"type":42,"tag":157,"props":1601,"children":1602},{"class":159,"line":188},[1603],{"type":42,"tag":157,"props":1604,"children":1605},{},[1606],{"type":48,"value":1607},"    startConferenceOnEnter: true,\n",{"type":42,"tag":157,"props":1609,"children":1610},{"class":159,"line":197},[1611],{"type":42,"tag":157,"props":1612,"children":1613},{},[1614],{"type":48,"value":1615},"    endConferenceOnExit: true,\n",{"type":42,"tag":157,"props":1617,"children":1618},{"class":159,"line":205},[1619],{"type":42,"tag":157,"props":1620,"children":1621},{},[1622],{"type":48,"value":474},{"type":42,"tag":545,"props":1624,"children":1626},{"id":1625},"pay-pci-compliant-payment-collection",[1627],{"type":48,"value":1628},"Pay — PCI-compliant payment collection",{"type":42,"tag":1630,"props":1631,"children":1632},"blockquote",{},[1633,1641],{"type":42,"tag":51,"props":1634,"children":1635},{},[1636],{"type":42,"tag":143,"props":1637,"children":1638},{},[1639],{"type":48,"value":1640},"Critical warnings:",{"type":42,"tag":80,"props":1642,"children":1643},{},[1644,1656],{"type":42,"tag":84,"props":1645,"children":1646},{},[1647,1649,1654],{"type":48,"value":1648},"Pay Connectors are ",{"type":42,"tag":143,"props":1650,"children":1651},{},[1652],{"type":48,"value":1653},"Console-only",{"type":48,"value":1655}," — there is no REST API to create or manage connectors. Set up in Console > Voice > Pay Connectors before coding.",{"type":42,"tag":84,"props":1657,"children":1658},{},[1659,1664],{"type":42,"tag":143,"props":1660,"children":1661},{},[1662],{"type":48,"value":1663},"PCI Mode is IRREVERSIBLE",{"type":48,"value":1665}," once enabled on an account. Use a dedicated sub-account for payment calls.",{"type":42,"tag":51,"props":1667,"children":1668},{},[1669],{"type":42,"tag":143,"props":1670,"children":1671},{},[1672],{"type":48,"value":13},{"type":42,"tag":57,"props":1674,"children":1676},{"className":150,"code":1675,"language":14,"meta":66,"style":66},"response = VoiceResponse()\nresponse.say(\"We'll now collect your payment.\")\npay = Pay(\n    payment_connector=\"stripe_connector\",  # Name from Console setup\n    charge_amount=\"49.99\",\n    currency=\"usd\",\n    action=\"\u002Fpayment-complete\",\n    status_callback=\"\u002Fpayment-status\"\n)\nresponse.append(pay)\n",[1677],{"type":42,"tag":64,"props":1678,"children":1679},{"__ignoreMap":66},[1680,1687,1695,1703,1711,1719,1727,1735,1743,1750],{"type":42,"tag":157,"props":1681,"children":1682},{"class":159,"line":160},[1683],{"type":42,"tag":157,"props":1684,"children":1685},{},[1686],{"type":48,"value":586},{"type":42,"tag":157,"props":1688,"children":1689},{"class":159,"line":169},[1690],{"type":42,"tag":157,"props":1691,"children":1692},{},[1693],{"type":48,"value":1694},"response.say(\"We'll now collect your payment.\")\n",{"type":42,"tag":157,"props":1696,"children":1697},{"class":159,"line":178},[1698],{"type":42,"tag":157,"props":1699,"children":1700},{},[1701],{"type":48,"value":1702},"pay = Pay(\n",{"type":42,"tag":157,"props":1704,"children":1705},{"class":159,"line":188},[1706],{"type":42,"tag":157,"props":1707,"children":1708},{},[1709],{"type":48,"value":1710},"    payment_connector=\"stripe_connector\",  # Name from Console setup\n",{"type":42,"tag":157,"props":1712,"children":1713},{"class":159,"line":197},[1714],{"type":42,"tag":157,"props":1715,"children":1716},{},[1717],{"type":48,"value":1718},"    charge_amount=\"49.99\",\n",{"type":42,"tag":157,"props":1720,"children":1721},{"class":159,"line":205},[1722],{"type":42,"tag":157,"props":1723,"children":1724},{},[1725],{"type":48,"value":1726},"    currency=\"usd\",\n",{"type":42,"tag":157,"props":1728,"children":1729},{"class":159,"line":30},[1730],{"type":42,"tag":157,"props":1731,"children":1732},{},[1733],{"type":48,"value":1734},"    action=\"\u002Fpayment-complete\",\n",{"type":42,"tag":157,"props":1736,"children":1737},{"class":159,"line":222},[1738],{"type":42,"tag":157,"props":1739,"children":1740},{},[1741],{"type":48,"value":1742},"    status_callback=\"\u002Fpayment-status\"\n",{"type":42,"tag":157,"props":1744,"children":1745},{"class":159,"line":231},[1746],{"type":42,"tag":157,"props":1747,"children":1748},{},[1749],{"type":48,"value":1026},{"type":42,"tag":157,"props":1751,"children":1752},{"class":159,"line":240},[1753],{"type":42,"tag":157,"props":1754,"children":1755},{},[1756],{"type":48,"value":1757},"response.append(pay)\n",{"type":42,"tag":51,"props":1759,"children":1760},{},[1761],{"type":42,"tag":143,"props":1762,"children":1763},{},[1764],{"type":48,"value":23},{"type":42,"tag":57,"props":1766,"children":1768},{"className":397,"code":1767,"language":399,"meta":66,"style":66},"const response = new VoiceResponse();\nresponse.say(\"We'll now collect your payment.\");\nresponse.pay({\n    paymentConnector: \"stripe_connector\",\n    chargeAmount: \"49.99\",\n    currency: \"usd\",\n    action: \"\u002Fpayment-complete\",\n    statusCallback: \"\u002Fpayment-status\",\n});\n",[1769],{"type":42,"tag":64,"props":1770,"children":1771},{"__ignoreMap":66},[1772,1779,1787,1795,1803,1811,1819,1827,1835],{"type":42,"tag":157,"props":1773,"children":1774},{"class":159,"line":160},[1775],{"type":42,"tag":157,"props":1776,"children":1777},{},[1778],{"type":48,"value":623},{"type":42,"tag":157,"props":1780,"children":1781},{"class":159,"line":169},[1782],{"type":42,"tag":157,"props":1783,"children":1784},{},[1785],{"type":48,"value":1786},"response.say(\"We'll now collect your payment.\");\n",{"type":42,"tag":157,"props":1788,"children":1789},{"class":159,"line":178},[1790],{"type":42,"tag":157,"props":1791,"children":1792},{},[1793],{"type":48,"value":1794},"response.pay({\n",{"type":42,"tag":157,"props":1796,"children":1797},{"class":159,"line":188},[1798],{"type":42,"tag":157,"props":1799,"children":1800},{},[1801],{"type":48,"value":1802},"    paymentConnector: \"stripe_connector\",\n",{"type":42,"tag":157,"props":1804,"children":1805},{"class":159,"line":197},[1806],{"type":42,"tag":157,"props":1807,"children":1808},{},[1809],{"type":48,"value":1810},"    chargeAmount: \"49.99\",\n",{"type":42,"tag":157,"props":1812,"children":1813},{"class":159,"line":205},[1814],{"type":42,"tag":157,"props":1815,"children":1816},{},[1817],{"type":48,"value":1818},"    currency: \"usd\",\n",{"type":42,"tag":157,"props":1820,"children":1821},{"class":159,"line":30},[1822],{"type":42,"tag":157,"props":1823,"children":1824},{},[1825],{"type":48,"value":1826},"    action: \"\u002Fpayment-complete\",\n",{"type":42,"tag":157,"props":1828,"children":1829},{"class":159,"line":222},[1830],{"type":42,"tag":157,"props":1831,"children":1832},{},[1833],{"type":48,"value":1834},"    statusCallback: \"\u002Fpayment-status\",\n",{"type":42,"tag":157,"props":1836,"children":1837},{"class":159,"line":231},[1838],{"type":42,"tag":157,"props":1839,"children":1840},{},[1841],{"type":48,"value":474},{"type":42,"tag":51,"props":1843,"children":1844},{},[1845],{"type":48,"value":1846},"Supported processors: Stripe, Braintree, CardConnect. Card data routes directly to the processor — never touches your server.",{"type":42,"tag":70,"props":1848,"children":1849},{},[],{"type":42,"tag":43,"props":1851,"children":1853},{"id":1852},"production-deployment",[1854],{"type":48,"value":1855},"Production Deployment",{"type":42,"tag":545,"props":1857,"children":1859},{"id":1858},"webhook-hosting",[1860],{"type":48,"value":1861},"Webhook Hosting",{"type":42,"tag":51,"props":1863,"children":1864},{},[1865],{"type":48,"value":1866},"For production, do NOT use ngrok. Deploy your TwiML server with HTTPS:",{"type":42,"tag":80,"props":1868,"children":1869},{},[1870,1885,1895],{"type":42,"tag":84,"props":1871,"children":1872},{},[1873,1878,1880],{"type":42,"tag":143,"props":1874,"children":1875},{},[1876],{"type":48,"value":1877},"Requirement",{"type":48,"value":1879},": Public HTTPS URL, responds within 15 seconds, returns ",{"type":42,"tag":64,"props":1881,"children":1883},{"className":1882},[],[1884],{"type":48,"value":105},{"type":42,"tag":84,"props":1886,"children":1887},{},[1888,1893],{"type":42,"tag":143,"props":1889,"children":1890},{},[1891],{"type":48,"value":1892},"Options",{"type":48,"value":1894},": Cloud Run, AWS Lambda + API Gateway, Railway, Render — any service with TLS and auto-scaling",{"type":42,"tag":84,"props":1896,"children":1897},{},[1898,1903],{"type":42,"tag":143,"props":1899,"children":1900},{},[1901],{"type":48,"value":1902},"Fallback URL",{"type":48,"value":1904},": Configure in Console (Phone Numbers > Active Numbers > select number) for when your primary server is unreachable",{"type":42,"tag":545,"props":1906,"children":1908},{"id":1907},"state-between-twiml-requests",[1909],{"type":48,"value":1910},"State Between TwiML Requests",{"type":42,"tag":51,"props":1912,"children":1913},{},[1914],{"type":48,"value":1915},"Each webhook request is stateless. To maintain conversation state across interactions:",{"type":42,"tag":80,"props":1917,"children":1918},{},[1919,1942,1958],{"type":42,"tag":84,"props":1920,"children":1921},{},[1922,1927,1929,1934,1936],{"type":42,"tag":143,"props":1923,"children":1924},{},[1925],{"type":48,"value":1926},"URL query params",{"type":48,"value":1928},": Pass state in ",{"type":42,"tag":64,"props":1930,"children":1932},{"className":1931},[],[1933],{"type":48,"value":768},{"type":48,"value":1935}," URLs — ",{"type":42,"tag":64,"props":1937,"children":1939},{"className":1938},[],[1940],{"type":48,"value":1941},"\u002Fnext-step?language=es&dept=sales",{"type":42,"tag":84,"props":1943,"children":1944},{},[1945,1950,1952],{"type":42,"tag":143,"props":1946,"children":1947},{},[1948],{"type":48,"value":1949},"Session store",{"type":48,"value":1951},": Use Redis or a database keyed by ",{"type":42,"tag":64,"props":1953,"children":1955},{"className":1954},[],[1956],{"type":48,"value":1957},"CallSid",{"type":42,"tag":84,"props":1959,"children":1960},{},[1961,1966],{"type":42,"tag":143,"props":1962,"children":1963},{},[1964],{"type":48,"value":1965},"Do NOT use in-memory state",{"type":48,"value":1967}," — your server may scale to multiple instances",{"type":42,"tag":545,"props":1969,"children":1971},{"id":1970},"monitoring",[1972],{"type":48,"value":1973},"Monitoring",{"type":42,"tag":80,"props":1975,"children":1976},{},[1977,1995,2005,2015],{"type":42,"tag":84,"props":1978,"children":1979},{},[1980,1985,1987,1993],{"type":42,"tag":143,"props":1981,"children":1982},{},[1983],{"type":48,"value":1984},"Status callbacks",{"type":48,"value":1986},": Track call lifecycle events (",{"type":42,"tag":64,"props":1988,"children":1990},{"className":1989},[],[1991],{"type":48,"value":1992},"statusCallback",{"type":48,"value":1994}," on the call or number config)",{"type":42,"tag":84,"props":1996,"children":1997},{},[1998,2003],{"type":42,"tag":143,"props":1999,"children":2000},{},[2001],{"type":48,"value":2002},"Voice Insights",{"type":48,"value":2004},": Automatic quality metrics per call (Console > Monitor > Insights)",{"type":42,"tag":84,"props":2006,"children":2007},{},[2008,2013],{"type":42,"tag":143,"props":2009,"children":2010},{},[2011],{"type":48,"value":2012},"Debugger",{"type":48,"value":2014},": Console > Monitor > Errors for TwiML parsing failures and webhook timeouts",{"type":42,"tag":84,"props":2016,"children":2017},{},[2018,2023],{"type":42,"tag":143,"props":2019,"children":2020},{},[2021],{"type":48,"value":2022},"Fallback URLs",{"type":48,"value":2024},": Always configure a fallback TwiML URL — serves a graceful message if your primary endpoint fails",{"type":42,"tag":70,"props":2026,"children":2027},{},[],{"type":42,"tag":43,"props":2029,"children":2031},{"id":2030},"webhook-request-parameters",[2032],{"type":48,"value":2033},"Webhook Request Parameters",{"type":42,"tag":2035,"props":2036,"children":2037},"table",{},[2038,2057],{"type":42,"tag":2039,"props":2040,"children":2041},"thead",{},[2042],{"type":42,"tag":2043,"props":2044,"children":2045},"tr",{},[2046,2052],{"type":42,"tag":2047,"props":2048,"children":2049},"th",{},[2050],{"type":48,"value":2051},"Parameter",{"type":42,"tag":2047,"props":2053,"children":2054},{},[2055],{"type":48,"value":2056},"Description",{"type":42,"tag":2058,"props":2059,"children":2060},"tbody",{},[2061,2078,2095,2112,2129],{"type":42,"tag":2043,"props":2062,"children":2063},{},[2064,2073],{"type":42,"tag":2065,"props":2066,"children":2067},"td",{},[2068],{"type":42,"tag":64,"props":2069,"children":2071},{"className":2070},[],[2072],{"type":48,"value":1957},{"type":42,"tag":2065,"props":2074,"children":2075},{},[2076],{"type":48,"value":2077},"Unique call identifier",{"type":42,"tag":2043,"props":2079,"children":2080},{},[2081,2090],{"type":42,"tag":2065,"props":2082,"children":2083},{},[2084],{"type":42,"tag":64,"props":2085,"children":2087},{"className":2086},[],[2088],{"type":48,"value":2089},"From",{"type":42,"tag":2065,"props":2091,"children":2092},{},[2093],{"type":48,"value":2094},"Caller's number",{"type":42,"tag":2043,"props":2096,"children":2097},{},[2098,2107],{"type":42,"tag":2065,"props":2099,"children":2100},{},[2101],{"type":42,"tag":64,"props":2102,"children":2104},{"className":2103},[],[2105],{"type":48,"value":2106},"To",{"type":42,"tag":2065,"props":2108,"children":2109},{},[2110],{"type":48,"value":2111},"Called number",{"type":42,"tag":2043,"props":2113,"children":2114},{},[2115,2124],{"type":42,"tag":2065,"props":2116,"children":2117},{},[2118],{"type":42,"tag":64,"props":2119,"children":2121},{"className":2120},[],[2122],{"type":48,"value":2123},"CallStatus",{"type":42,"tag":2065,"props":2125,"children":2126},{},[2127],{"type":48,"value":2128},"Current status",{"type":42,"tag":2043,"props":2130,"children":2131},{},[2132,2141],{"type":42,"tag":2065,"props":2133,"children":2134},{},[2135],{"type":42,"tag":64,"props":2136,"children":2138},{"className":2137},[],[2139],{"type":48,"value":2140},"Direction",{"type":42,"tag":2065,"props":2142,"children":2143},{},[2144,2150,2152],{"type":42,"tag":64,"props":2145,"children":2147},{"className":2146},[],[2148],{"type":48,"value":2149},"inbound",{"type":48,"value":2151}," or ",{"type":42,"tag":64,"props":2153,"children":2155},{"className":2154},[],[2156],{"type":48,"value":2157},"outbound-api",{"type":42,"tag":70,"props":2159,"children":2160},{},[],{"type":42,"tag":43,"props":2162,"children":2164},{"id":2163},"cannot",[2165],{"type":48,"value":2166},"CANNOT",{"type":42,"tag":80,"props":2168,"children":2169},{},[2170,2185,2195,2220,2230,2240],{"type":42,"tag":84,"props":2171,"children":2172},{},[2173,2178,2180],{"type":42,"tag":143,"props":2174,"children":2175},{},[2176],{"type":48,"value":2177},"Cannot return TwiML without correct content type",{"type":48,"value":2179}," — Must use ",{"type":42,"tag":64,"props":2181,"children":2183},{"className":2182},[],[2184],{"type":48,"value":105},{"type":42,"tag":84,"props":2186,"children":2187},{},[2188,2193],{"type":42,"tag":143,"props":2189,"children":2190},{},[2191],{"type":48,"value":2192},"Cannot exceed 15-second webhook response time",{"type":48,"value":2194}," — Twilio times out and falls back",{"type":42,"tag":84,"props":2196,"children":2197},{},[2198,2211,2213,2218],{"type":42,"tag":143,"props":2199,"children":2200},{},[2201,2203,2209],{"type":48,"value":2202},"Cannot exceed 4,096 characters in ",{"type":42,"tag":64,"props":2204,"children":2206},{"className":2205},[],[2207],{"type":48,"value":2208},"\u003CSay>",{"type":48,"value":2210}," verb",{"type":48,"value":2212}," — Split longer text across multiple ",{"type":42,"tag":64,"props":2214,"children":2216},{"className":2215},[],[2217],{"type":48,"value":2208},{"type":48,"value":2219}," elements",{"type":42,"tag":84,"props":2221,"children":2222},{},[2223,2228],{"type":42,"tag":143,"props":2224,"children":2225},{},[2226],{"type":48,"value":2227},"Cannot create Pay Connectors via API",{"type":48,"value":2229}," — Pay Connectors are Console-only (Console > Voice > Pay Connectors). No REST API exists for connector management.",{"type":42,"tag":84,"props":2231,"children":2232},{},[2233,2238],{"type":42,"tag":143,"props":2234,"children":2235},{},[2236],{"type":48,"value":2237},"Cannot reverse PCI Mode",{"type":48,"value":2239}," — Once enabled on an account, PCI Mode is permanent and account-wide. Use a dedicated sub-account for payment calls.",{"type":42,"tag":84,"props":2241,"children":2242},{},[2243,2255,2257,2262,2264,2270,2272,2278],{"type":42,"tag":143,"props":2244,"children":2245},{},[2246,2248,2253],{"type":48,"value":2247},"Cannot use ",{"type":42,"tag":64,"props":2249,"children":2251},{"className":2250},[],[2252],{"type":48,"value":1134},{"type":48,"value":2254}," for two-party call recording",{"type":48,"value":2256}," — ",{"type":42,"tag":64,"props":2258,"children":2260},{"className":2259},[],[2261],{"type":48,"value":1134},{"type":48,"value":2263}," captures the caller only (voicemail-style). For dual-channel recording of both parties, use ",{"type":42,"tag":64,"props":2265,"children":2267},{"className":2266},[],[2268],{"type":48,"value":2269},"record=True",{"type":48,"value":2271}," on ",{"type":42,"tag":64,"props":2273,"children":2275},{"className":2274},[],[2276],{"type":48,"value":2277},"calls.create()",{"type":48,"value":2279}," or the Recordings API.",{"type":42,"tag":70,"props":2281,"children":2282},{},[],{"type":42,"tag":43,"props":2284,"children":2286},{"id":2285},"next-steps",[2287],{"type":48,"value":2288},"Next Steps",{"type":42,"tag":80,"props":2290,"children":2291},{},[2292,2307],{"type":42,"tag":84,"props":2293,"children":2294},{},[2295,2300,2301],{"type":42,"tag":143,"props":2296,"children":2297},{},[2298],{"type":48,"value":2299},"Place outbound calls (AMD, conferencing):",{"type":48,"value":1473},{"type":42,"tag":64,"props":2302,"children":2304},{"className":2303},[],[2305],{"type":48,"value":2306},"twilio-voice-outbound-calls",{"type":42,"tag":84,"props":2308,"children":2309},{},[2310,2315,2316],{"type":42,"tag":143,"props":2311,"children":2312},{},[2313],{"type":48,"value":2314},"AI voice agents with real-time speech\u002FLLM:",{"type":48,"value":1473},{"type":42,"tag":64,"props":2317,"children":2319},{"className":2318},[],[2320],{"type":48,"value":2321},"twilio-voice-conversation-relay",{"type":42,"tag":2323,"props":2324,"children":2325},"style",{},[2326],{"type":48,"value":2327},"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":2329,"total":2433},[2330,2343,2363,2374,2386,2400,2417],{"slug":94,"name":94,"fn":2331,"description":2332,"org":2333,"tags":2334,"stars":26,"repoUrl":27,"updatedAt":2342},"configure Twilio accounts and credentials","Create and configure a Twilio account from scratch. Covers free trial signup, trial limitations, getting credentials (Account SID and Auth Token), buying a phone number, verifying recipient numbers for trial use, SDK installation, first API call, subaccount management (creation, inheritance, credential isolation, limits), and enabling specific products (AI Assistants, Conversations, Verify, ConversationRelay, WhatsApp). Use this skill before any other Twilio skill if you do not yet have a Twilio account or need to enable a product. For Organization-level governance (SSO, SCIM, multi-team), see `twilio-organizations-setup`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2335,2336,2339],{"name":17,"slug":18,"type":15},{"name":2337,"slug":2338,"type":15},"Communications","communications",{"name":2340,"slug":2341,"type":15},"SMS","sms","2026-08-01T05:43:28.968968",{"slug":2344,"name":2344,"fn":2345,"description":2346,"org":2347,"tags":2348,"stars":26,"repoUrl":27,"updatedAt":2362},"twilio-agent-augmentation-architect","augment human agents with AI intelligence","Planning skill for augmenting human agents with real-time AI intelligence. Qualifies the developer's use case across coaching, compliance, QA, and routing to recommend the right Conversation Intelligence + Conversation Memory + TaskRouter architecture. Handles both \"I want to add AI coaching to my call center\" and \"configure Conversation Intelligence operators for script adherence.\"\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2349,2352,2355,2358,2361],{"name":2350,"slug":2351,"type":15},"Agents","agents",{"name":2353,"slug":2354,"type":15},"AI","ai",{"name":2356,"slug":2357,"type":15},"Coaching","coaching",{"name":2359,"slug":2360,"type":15},"QA","qa",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:58.250609",{"slug":2364,"name":2364,"fn":2365,"description":2366,"org":2367,"tags":2368,"stars":26,"repoUrl":27,"updatedAt":2373},"twilio-agent-connect","connect AI agents to Twilio channels","Connect third-party AI agents (OpenAI, Bedrock, LangChain, Microsoft Foundry) to Twilio's communication channels using the Twilio Agent Connect SDK. Covers identity resolution, memory and context management via Conversation Memory, conversation orchestration via Conversation Orchestrator, multi-channel handling (Voice, SMS, RCS, WhatsApp, Chat), and AI-to-human escalation. Use this skill when integrating an existing LLM agent with Twilio services.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2369,2370,2371,2372],{"name":2350,"slug":2351,"type":15},{"name":17,"slug":18,"type":15},{"name":2337,"slug":2338,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:06:05.217098",{"slug":2375,"name":2375,"fn":2376,"description":2377,"org":2378,"tags":2379,"stars":26,"repoUrl":27,"updatedAt":2385},"twilio-ai-agent-architect","plan Twilio conversational AI agents","Planning skill for AI-powered conversational agents. Qualifies the developer's use case across outcome sophistication, entry point, and customer profile to recommend the right Twilio Conversations architecture and implementation skills. Handles both high-level requests (\"build me a voice AI assistant\") and specific ones (\"integrate ConversationRelay with my OpenAI backend\").\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2380,2381,2384],{"name":2350,"slug":2351,"type":15},{"name":2382,"slug":2383,"type":15},"Architecture","architecture",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:48.883723",{"slug":1486,"name":1486,"fn":2387,"description":2388,"org":2389,"tags":2390,"stars":26,"repoUrl":27,"updatedAt":2399},"record and manage Twilio voice calls","Record Twilio voice calls correctly. Covers the critical distinction between Record verb (voicemail) and Dial record (call recording), dual-channel for QA, mid-call pause for PCI, Conference recording, and the ConversationRelay workaround. Use this skill whenever you need to capture call audio for compliance, QA, or analytics.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2391,2394,2397,2398],{"name":2392,"slug":2393,"type":15},"Audio","audio",{"name":2395,"slug":2396,"type":15},"Compliance","compliance",{"name":2359,"slug":2360,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.268412",{"slug":2401,"name":2401,"fn":2402,"description":2403,"org":2404,"tags":2405,"stars":26,"repoUrl":27,"updatedAt":2416},"twilio-cli-reference","manage Twilio resources via CLI","Twilio CLI reference for managing Twilio resources from the terminal. Covers installation, credential profiles, phone number provisioning, sending SMS and email, webhook configuration, local development with a tunneling service, debugging with watch and logs, serverless deployment, and plugin ecosystem. Use when the developer asks to \"just do it\", \"set this up\", \"run a command\", mentions \"CLI\", \"command line\", or \"terminal\", or when an AI agent can execute a task directly instead of writing application code.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2406,2409,2412,2415],{"name":2407,"slug":2408,"type":15},"CLI","cli",{"name":2410,"slug":2411,"type":15},"Local Development","local-development",{"name":2413,"slug":2414,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:54.925664",{"slug":2418,"name":2418,"fn":2419,"description":2420,"org":2421,"tags":2422,"stars":26,"repoUrl":27,"updatedAt":2432},"twilio-compliance-onboarding","manage Twilio messaging and voice compliance","Registrations required BEFORE Twilio traffic works. Covers messaging programs (A2P 10DLC, toll-free verification, WhatsApp WABA, RCS, short code, alphanumeric sender) and voice trust programs (STIR\u002FSHAKEN, Voice Integrity, Branded Calling, CNAM). Each number\u002Fsender type has its own program — registration blocks traffic until complete.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2423,2424,2427,2428,2429],{"name":2395,"slug":2396,"type":15},{"name":2425,"slug":2426,"type":15},"Messaging","messaging",{"name":2340,"slug":2341,"type":15},{"name":9,"slug":8,"type":15},{"name":2430,"slug":2431,"type":15},"WhatsApp","whatsapp","2026-07-17T06:05:47.897229",57,{"items":2435,"total":2433},[2436,2442,2450,2457,2463,2470,2477,2485,2501,2514,2530,2546],{"slug":94,"name":94,"fn":2331,"description":2332,"org":2437,"tags":2438,"stars":26,"repoUrl":27,"updatedAt":2342},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2439,2440,2441],{"name":17,"slug":18,"type":15},{"name":2337,"slug":2338,"type":15},{"name":2340,"slug":2341,"type":15},{"slug":2344,"name":2344,"fn":2345,"description":2346,"org":2443,"tags":2444,"stars":26,"repoUrl":27,"updatedAt":2362},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2445,2446,2447,2448,2449],{"name":2350,"slug":2351,"type":15},{"name":2353,"slug":2354,"type":15},{"name":2356,"slug":2357,"type":15},{"name":2359,"slug":2360,"type":15},{"name":9,"slug":8,"type":15},{"slug":2364,"name":2364,"fn":2365,"description":2366,"org":2451,"tags":2452,"stars":26,"repoUrl":27,"updatedAt":2373},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2453,2454,2455,2456],{"name":2350,"slug":2351,"type":15},{"name":17,"slug":18,"type":15},{"name":2337,"slug":2338,"type":15},{"name":9,"slug":8,"type":15},{"slug":2375,"name":2375,"fn":2376,"description":2377,"org":2458,"tags":2459,"stars":26,"repoUrl":27,"updatedAt":2385},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2460,2461,2462],{"name":2350,"slug":2351,"type":15},{"name":2382,"slug":2383,"type":15},{"name":9,"slug":8,"type":15},{"slug":1486,"name":1486,"fn":2387,"description":2388,"org":2464,"tags":2465,"stars":26,"repoUrl":27,"updatedAt":2399},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2466,2467,2468,2469],{"name":2392,"slug":2393,"type":15},{"name":2395,"slug":2396,"type":15},{"name":2359,"slug":2360,"type":15},{"name":9,"slug":8,"type":15},{"slug":2401,"name":2401,"fn":2402,"description":2403,"org":2471,"tags":2472,"stars":26,"repoUrl":27,"updatedAt":2416},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2473,2474,2475,2476],{"name":2407,"slug":2408,"type":15},{"name":2410,"slug":2411,"type":15},{"name":2413,"slug":2414,"type":15},{"name":9,"slug":8,"type":15},{"slug":2418,"name":2418,"fn":2419,"description":2420,"org":2478,"tags":2479,"stars":26,"repoUrl":27,"updatedAt":2432},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2480,2481,2482,2483,2484],{"name":2395,"slug":2396,"type":15},{"name":2425,"slug":2426,"type":15},{"name":2340,"slug":2341,"type":15},{"name":9,"slug":8,"type":15},{"name":2430,"slug":2431,"type":15},{"slug":2486,"name":2486,"fn":2487,"description":2488,"org":2489,"tags":2490,"stars":26,"repoUrl":27,"updatedAt":2500},"twilio-compliance-traffic","ensure compliance for Twilio messaging traffic","Rules you must follow for Twilio messaging and voice traffic. Covers TCPA (consent tiers, quiet hours, DNC), GDPR (EU consent, right to deletion), PCI DSS (payment recording, Pay verb), HIPAA (BAA, PHI), FDCPA (debt collection limits), CAN-SPAM, WhatsApp policies, SHAKEN\u002FSTIR, and consent management patterns. Use this skill proactively when developers have working traffic to ensure they follow the rules.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2491,2492,2493,2496,2499],{"name":2395,"slug":2396,"type":15},{"name":2425,"slug":2426,"type":15},{"name":2494,"slug":2495,"type":15},"Regulatory Compliance","regulatory-compliance",{"name":2497,"slug":2498,"type":15},"Security","security",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.952779",{"slug":2502,"name":2502,"fn":2503,"description":2504,"org":2505,"tags":2506,"stars":26,"repoUrl":27,"updatedAt":2513},"twilio-conference-calls","build multi-party calls with Twilio Conference","Build multi-party calls using Twilio Conference. Covers warm transfer, cold transfer, coaching (whisper), hold vs mute, participant modes, and supervisor barge. Use this skill for any contact center, support line, or scenario requiring transfers, holds, or multi-party calls.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2507,2508,2509,2512],{"name":2392,"slug":2393,"type":15},{"name":2337,"slug":2338,"type":15},{"name":2510,"slug":2511,"type":15},"Meetings","meetings",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.603708",{"slug":2515,"name":2515,"fn":2516,"description":2517,"org":2518,"tags":2519,"stars":26,"repoUrl":27,"updatedAt":2529},"twilio-content-template-builder","create and send message templates with Twilio","Create, manage, and send message templates using Twilio's Content API. Covers template creation for WhatsApp, SMS, RCS, and MMS; variable usage; WhatsApp Meta approval; and sending templates via ContentSid. Use this skill when building structured messages that require pre-approval or consistent formatting across channels.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2520,2523,2524,2525,2528],{"name":2521,"slug":2522,"type":15},"Email","email",{"name":2425,"slug":2426,"type":15},{"name":2340,"slug":2341,"type":15},{"name":2526,"slug":2527,"type":15},"Templates","templates",{"name":9,"slug":8,"type":15},"2026-07-17T06:04:26.637309",{"slug":2531,"name":2531,"fn":2532,"description":2533,"org":2534,"tags":2535,"stars":26,"repoUrl":27,"updatedAt":2545},"twilio-conversation-intelligence","build conversation intelligence pipelines","Twilio Conversation Intelligence development guide. Use when building real-time or post-call conversation analysis, language operator pipelines, sentiment analysis, agent assist, cross-channel analytics, or querying aggregated conversation insights (sentiment trends, escalation rates, dashboards).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2536,2537,2540,2541,2544],{"name":2350,"slug":2351,"type":15},{"name":2538,"slug":2539,"type":15},"Analytics","analytics",{"name":1973,"slug":1970,"type":15},{"name":2542,"slug":2543,"type":15},"NLP","nlp",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:52.545387",{"slug":2547,"name":2547,"fn":2548,"description":2549,"org":2550,"tags":2551,"stars":26,"repoUrl":27,"updatedAt":2557},"twilio-conversation-memory","manage conversation memory with Twilio","Store and retrieve conversation context using Twilio Conversation Memory. Covers Memory Store provisioning, profile management, traits, observations, conversation summaries, and semantic Recall. Use this skill to give AI agents or human agents persistent memory of conversations across sessions and channels.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2552,2553,2556],{"name":2350,"slug":2351,"type":15},{"name":2554,"slug":2555,"type":15},"Memory","memory",{"name":9,"slug":8,"type":15},"2026-07-17T06:04:19.526724"]