[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-twilio-voice-twiml":3,"mdc--f6dtdt-key":36,"related-repo-openai-twilio-voice-twiml":2330,"related-org-openai-twilio-voice-twiml":2453},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"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},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Python","python","tag",{"name":17,"slug":18,"type":15},"Node.js","nodejs",{"name":20,"slug":21,"type":15},"Communications","communications",{"name":23,"slug":24,"type":15},"Twilio","twilio",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-06-30T19:00:57.102",null,465,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Ftwilio-developer-kit\u002Fskills\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,389,397,537,540,546,553,560,597,604,634,671,677,684,722,729,760,781,787,794,816,823,845,850,856,863,916,923,946,952,959,1029,1036,1105,1111,1146,1153,1306,1313,1466,1491,1497,1504,1565,1572,1625,1631,1668,1675,1760,1767,1844,1849,1852,1858,1864,1869,1907,1913,1918,1970,1976,2027,2030,2036,2160,2163,2169,2282,2285,2291,2324],{"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,221,230,239,248,257,266,274,283,292,301,309,318,327,336,345,354,363,372,381],{"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":215},{"class":159,"line":214},7,[216],{"type":42,"tag":157,"props":217,"children":218},{},[219],{"type":48,"value":220},"def handle_call():\n",{"type":42,"tag":157,"props":222,"children":224},{"class":159,"line":223},8,[225],{"type":42,"tag":157,"props":226,"children":227},{},[228],{"type":48,"value":229},"    response = VoiceResponse()\n",{"type":42,"tag":157,"props":231,"children":233},{"class":159,"line":232},9,[234],{"type":42,"tag":157,"props":235,"children":236},{},[237],{"type":48,"value":238},"    gather = response.gather(num_digits=1, action=\"\u002Fmenu-choice\")\n",{"type":42,"tag":157,"props":240,"children":242},{"class":159,"line":241},10,[243],{"type":42,"tag":157,"props":244,"children":245},{},[246],{"type":48,"value":247},"    gather.say(\"Welcome to Acme. Press 1 for sales, 2 for support.\")\n",{"type":42,"tag":157,"props":249,"children":251},{"class":159,"line":250},11,[252],{"type":42,"tag":157,"props":253,"children":254},{},[255],{"type":48,"value":256},"    response.redirect(\"\u002Fvoice\")  # Loop if no input\n",{"type":42,"tag":157,"props":258,"children":260},{"class":159,"line":259},12,[261],{"type":42,"tag":157,"props":262,"children":263},{},[264],{"type":48,"value":265},"    return str(response)\n",{"type":42,"tag":157,"props":267,"children":269},{"class":159,"line":268},13,[270],{"type":42,"tag":157,"props":271,"children":272},{"emptyLinePlaceholder":182},[273],{"type":48,"value":185},{"type":42,"tag":157,"props":275,"children":277},{"class":159,"line":276},14,[278],{"type":42,"tag":157,"props":279,"children":280},{},[281],{"type":48,"value":282},"@app.route(\"\u002Fmenu-choice\", methods=[\"POST\"])\n",{"type":42,"tag":157,"props":284,"children":286},{"class":159,"line":285},15,[287],{"type":42,"tag":157,"props":288,"children":289},{},[290],{"type":48,"value":291},"def menu_choice():\n",{"type":42,"tag":157,"props":293,"children":295},{"class":159,"line":294},16,[296],{"type":42,"tag":157,"props":297,"children":298},{},[299],{"type":48,"value":300},"    digit = request.form.get(\"Digits\")\n",{"type":42,"tag":157,"props":302,"children":304},{"class":159,"line":303},17,[305],{"type":42,"tag":157,"props":306,"children":307},{},[308],{"type":48,"value":229},{"type":42,"tag":157,"props":310,"children":312},{"class":159,"line":311},18,[313],{"type":42,"tag":157,"props":314,"children":315},{},[316],{"type":48,"value":317},"    if digit == \"1\":\n",{"type":42,"tag":157,"props":319,"children":321},{"class":159,"line":320},19,[322],{"type":42,"tag":157,"props":323,"children":324},{},[325],{"type":48,"value":326},"        response.dial(\"+15551234567\")\n",{"type":42,"tag":157,"props":328,"children":330},{"class":159,"line":329},20,[331],{"type":42,"tag":157,"props":332,"children":333},{},[334],{"type":48,"value":335},"    elif digit == \"2\":\n",{"type":42,"tag":157,"props":337,"children":339},{"class":159,"line":338},21,[340],{"type":42,"tag":157,"props":341,"children":342},{},[343],{"type":48,"value":344},"        response.say(\"Connecting to support.\")\n",{"type":42,"tag":157,"props":346,"children":348},{"class":159,"line":347},22,[349],{"type":42,"tag":157,"props":350,"children":351},{},[352],{"type":48,"value":353},"        response.dial(\"+15559876543\")\n",{"type":42,"tag":157,"props":355,"children":357},{"class":159,"line":356},23,[358],{"type":42,"tag":157,"props":359,"children":360},{},[361],{"type":48,"value":362},"    else:\n",{"type":42,"tag":157,"props":364,"children":366},{"class":159,"line":365},24,[367],{"type":42,"tag":157,"props":368,"children":369},{},[370],{"type":48,"value":371},"        response.say(\"Invalid option.\")\n",{"type":42,"tag":157,"props":373,"children":375},{"class":159,"line":374},25,[376],{"type":42,"tag":157,"props":377,"children":378},{},[379],{"type":48,"value":380},"        response.redirect(\"\u002Fvoice\")\n",{"type":42,"tag":157,"props":382,"children":384},{"class":159,"line":383},26,[385],{"type":42,"tag":157,"props":386,"children":387},{},[388],{"type":48,"value":265},{"type":42,"tag":51,"props":390,"children":391},{},[392],{"type":42,"tag":143,"props":393,"children":394},{},[395],{"type":48,"value":396},"Node.js (Express)",{"type":42,"tag":57,"props":398,"children":402},{"className":399,"code":400,"language":401,"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",[403],{"type":42,"tag":64,"props":404,"children":405},{"__ignoreMap":66},[406,414,421,429,437,445,453,461,469,477,484,492,500,507,515,523,530],{"type":42,"tag":157,"props":407,"children":408},{"class":159,"line":160},[409],{"type":42,"tag":157,"props":410,"children":411},{},[412],{"type":48,"value":413},"const { VoiceResponse } = require(\"twilio\").twiml;\n",{"type":42,"tag":157,"props":415,"children":416},{"class":159,"line":169},[417],{"type":42,"tag":157,"props":418,"children":419},{"emptyLinePlaceholder":182},[420],{"type":48,"value":185},{"type":42,"tag":157,"props":422,"children":423},{"class":159,"line":178},[424],{"type":42,"tag":157,"props":425,"children":426},{},[427],{"type":48,"value":428},"app.post(\"\u002Fvoice\", (req, res) => {\n",{"type":42,"tag":157,"props":430,"children":431},{"class":159,"line":188},[432],{"type":42,"tag":157,"props":433,"children":434},{},[435],{"type":48,"value":436},"    const response = new VoiceResponse();\n",{"type":42,"tag":157,"props":438,"children":439},{"class":159,"line":197},[440],{"type":42,"tag":157,"props":441,"children":442},{},[443],{"type":48,"value":444},"    const gather = response.gather({ numDigits: 1, action: \"\u002Fmenu-choice\" });\n",{"type":42,"tag":157,"props":446,"children":447},{"class":159,"line":205},[448],{"type":42,"tag":157,"props":449,"children":450},{},[451],{"type":48,"value":452},"    gather.say(\"Welcome. Press 1 for sales, 2 for support.\");\n",{"type":42,"tag":157,"props":454,"children":455},{"class":159,"line":214},[456],{"type":42,"tag":157,"props":457,"children":458},{},[459],{"type":48,"value":460},"    response.redirect(\"\u002Fvoice\");\n",{"type":42,"tag":157,"props":462,"children":463},{"class":159,"line":223},[464],{"type":42,"tag":157,"props":465,"children":466},{},[467],{"type":48,"value":468},"    res.type(\"text\u002Fxml\").send(response.toString());\n",{"type":42,"tag":157,"props":470,"children":471},{"class":159,"line":232},[472],{"type":42,"tag":157,"props":473,"children":474},{},[475],{"type":48,"value":476},"});\n",{"type":42,"tag":157,"props":478,"children":479},{"class":159,"line":241},[480],{"type":42,"tag":157,"props":481,"children":482},{"emptyLinePlaceholder":182},[483],{"type":48,"value":185},{"type":42,"tag":157,"props":485,"children":486},{"class":159,"line":250},[487],{"type":42,"tag":157,"props":488,"children":489},{},[490],{"type":48,"value":491},"app.post(\"\u002Fmenu-choice\", (req, res) => {\n",{"type":42,"tag":157,"props":493,"children":494},{"class":159,"line":259},[495],{"type":42,"tag":157,"props":496,"children":497},{},[498],{"type":48,"value":499},"    const digit = req.body.Digits;\n",{"type":42,"tag":157,"props":501,"children":502},{"class":159,"line":268},[503],{"type":42,"tag":157,"props":504,"children":505},{},[506],{"type":48,"value":436},{"type":42,"tag":157,"props":508,"children":509},{"class":159,"line":276},[510],{"type":42,"tag":157,"props":511,"children":512},{},[513],{"type":48,"value":514},"    if (digit === \"1\") response.dial(\"+15551234567\");\n",{"type":42,"tag":157,"props":516,"children":517},{"class":159,"line":285},[518],{"type":42,"tag":157,"props":519,"children":520},{},[521],{"type":48,"value":522},"    else response.say(\"Invalid option.\").redirect(\"\u002Fvoice\");\n",{"type":42,"tag":157,"props":524,"children":525},{"class":159,"line":294},[526],{"type":42,"tag":157,"props":527,"children":528},{},[529],{"type":48,"value":468},{"type":42,"tag":157,"props":531,"children":532},{"class":159,"line":303},[533],{"type":42,"tag":157,"props":534,"children":535},{},[536],{"type":48,"value":476},{"type":42,"tag":70,"props":538,"children":539},{},[],{"type":42,"tag":43,"props":541,"children":543},{"id":542},"core-verbs",[544],{"type":48,"value":545},"Core Verbs",{"type":42,"tag":547,"props":548,"children":550},"h3",{"id":549},"say-text-to-speech",[551],{"type":48,"value":552},"Say — Text-to-speech",{"type":42,"tag":51,"props":554,"children":555},{},[556],{"type":42,"tag":143,"props":557,"children":558},{},[559],{"type":48,"value":13},{"type":42,"tag":57,"props":561,"children":563},{"className":150,"code":562,"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",[564],{"type":42,"tag":64,"props":565,"children":566},{"__ignoreMap":66},[567,574,581,589],{"type":42,"tag":157,"props":568,"children":569},{"class":159,"line":160},[570],{"type":42,"tag":157,"props":571,"children":572},{},[573],{"type":48,"value":175},{"type":42,"tag":157,"props":575,"children":576},{"class":159,"line":169},[577],{"type":42,"tag":157,"props":578,"children":579},{"emptyLinePlaceholder":182},[580],{"type":48,"value":185},{"type":42,"tag":157,"props":582,"children":583},{"class":159,"line":178},[584],{"type":42,"tag":157,"props":585,"children":586},{},[587],{"type":48,"value":588},"response = VoiceResponse()\n",{"type":42,"tag":157,"props":590,"children":591},{"class":159,"line":188},[592],{"type":42,"tag":157,"props":593,"children":594},{},[595],{"type":48,"value":596},"response.say(\"Your appointment is confirmed.\", voice=\"alice\", language=\"en-US\")\n",{"type":42,"tag":51,"props":598,"children":599},{},[600],{"type":42,"tag":143,"props":601,"children":602},{},[603],{"type":48,"value":17},{"type":42,"tag":57,"props":605,"children":607},{"className":399,"code":606,"language":401,"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",[608],{"type":42,"tag":64,"props":609,"children":610},{"__ignoreMap":66},[611,618,626],{"type":42,"tag":157,"props":612,"children":613},{"class":159,"line":160},[614],{"type":42,"tag":157,"props":615,"children":616},{},[617],{"type":48,"value":413},{"type":42,"tag":157,"props":619,"children":620},{"class":159,"line":169},[621],{"type":42,"tag":157,"props":622,"children":623},{},[624],{"type":48,"value":625},"const response = new VoiceResponse();\n",{"type":42,"tag":157,"props":627,"children":628},{"class":159,"line":178},[629],{"type":42,"tag":157,"props":630,"children":631},{},[632],{"type":48,"value":633},"response.say({ voice: \"alice\", language: \"en-US\" }, \"Your appointment is confirmed.\");\n",{"type":42,"tag":51,"props":635,"children":636},{},[637,639,645,647,653,655,661,663,669],{"type":48,"value":638},"Voices: ",{"type":42,"tag":64,"props":640,"children":642},{"className":641},[],[643],{"type":48,"value":644},"alice",{"type":48,"value":646}," (default), ",{"type":42,"tag":64,"props":648,"children":650},{"className":649},[],[651],{"type":48,"value":652},"man",{"type":48,"value":654},", ",{"type":42,"tag":64,"props":656,"children":658},{"className":657},[],[659],{"type":48,"value":660},"woman",{"type":48,"value":662},", or Polly\u002FGoogle TTS (e.g. ",{"type":42,"tag":64,"props":664,"children":666},{"className":665},[],[667],{"type":48,"value":668},"Polly.Joanna",{"type":48,"value":670},").",{"type":42,"tag":547,"props":672,"children":674},{"id":673},"gather-collect-keypad-input-or-speech",[675],{"type":48,"value":676},"Gather — Collect keypad input or speech",{"type":42,"tag":51,"props":678,"children":679},{},[680],{"type":42,"tag":143,"props":681,"children":682},{},[683],{"type":48,"value":13},{"type":42,"tag":57,"props":685,"children":687},{"className":150,"code":686,"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",[688],{"type":42,"tag":64,"props":689,"children":690},{"__ignoreMap":66},[691,698,706,714],{"type":42,"tag":157,"props":692,"children":693},{"class":159,"line":160},[694],{"type":42,"tag":157,"props":695,"children":696},{},[697],{"type":48,"value":588},{"type":42,"tag":157,"props":699,"children":700},{"class":159,"line":169},[701],{"type":42,"tag":157,"props":702,"children":703},{},[704],{"type":48,"value":705},"gather = response.gather(num_digits=1, action=\"\u002Fhandle-input\", method=\"POST\")\n",{"type":42,"tag":157,"props":707,"children":708},{"class":159,"line":178},[709],{"type":42,"tag":157,"props":710,"children":711},{},[712],{"type":48,"value":713},"gather.say(\"Press 1 for sales, press 2 for support.\")\n",{"type":42,"tag":157,"props":715,"children":716},{"class":159,"line":188},[717],{"type":42,"tag":157,"props":718,"children":719},{},[720],{"type":48,"value":721},"response.say(\"We did not receive your input.\")  # Fallback if no input\n",{"type":42,"tag":51,"props":723,"children":724},{},[725],{"type":42,"tag":143,"props":726,"children":727},{},[728],{"type":48,"value":17},{"type":42,"tag":57,"props":730,"children":732},{"className":399,"code":731,"language":401,"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",[733],{"type":42,"tag":64,"props":734,"children":735},{"__ignoreMap":66},[736,744,752],{"type":42,"tag":157,"props":737,"children":738},{"class":159,"line":160},[739],{"type":42,"tag":157,"props":740,"children":741},{},[742],{"type":48,"value":743},"const gather = response.gather({ numDigits: 1, action: \"\u002Fhandle-input\", method: \"POST\" });\n",{"type":42,"tag":157,"props":745,"children":746},{"class":159,"line":169},[747],{"type":42,"tag":157,"props":748,"children":749},{},[750],{"type":48,"value":751},"gather.say(\"Press 1 for sales, press 2 for support.\");\n",{"type":42,"tag":157,"props":753,"children":754},{"class":159,"line":178},[755],{"type":42,"tag":157,"props":756,"children":757},{},[758],{"type":48,"value":759},"response.say(\"We did not receive your input.\");\n",{"type":42,"tag":51,"props":761,"children":762},{},[763,765,771,773,779],{"type":48,"value":764},"Twilio POSTs collected digits to ",{"type":42,"tag":64,"props":766,"children":768},{"className":767},[],[769],{"type":48,"value":770},"action",{"type":48,"value":772}," as ",{"type":42,"tag":64,"props":774,"children":776},{"className":775},[],[777],{"type":48,"value":778},"Digits",{"type":48,"value":780}," parameter.",{"type":42,"tag":547,"props":782,"children":784},{"id":783},"play-play-an-audio-file",[785],{"type":48,"value":786},"Play — Play an audio file",{"type":42,"tag":51,"props":788,"children":789},{},[790],{"type":42,"tag":143,"props":791,"children":792},{},[793],{"type":48,"value":13},{"type":42,"tag":57,"props":795,"children":797},{"className":150,"code":796,"language":14,"meta":66,"style":66},"response = VoiceResponse()\nresponse.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\")\n",[798],{"type":42,"tag":64,"props":799,"children":800},{"__ignoreMap":66},[801,808],{"type":42,"tag":157,"props":802,"children":803},{"class":159,"line":160},[804],{"type":42,"tag":157,"props":805,"children":806},{},[807],{"type":48,"value":588},{"type":42,"tag":157,"props":809,"children":810},{"class":159,"line":169},[811],{"type":42,"tag":157,"props":812,"children":813},{},[814],{"type":48,"value":815},"response.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\")\n",{"type":42,"tag":51,"props":817,"children":818},{},[819],{"type":42,"tag":143,"props":820,"children":821},{},[822],{"type":48,"value":17},{"type":42,"tag":57,"props":824,"children":826},{"className":399,"code":825,"language":401,"meta":66,"style":66},"const response = new VoiceResponse();\nresponse.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\");\n",[827],{"type":42,"tag":64,"props":828,"children":829},{"__ignoreMap":66},[830,837],{"type":42,"tag":157,"props":831,"children":832},{"class":159,"line":160},[833],{"type":42,"tag":157,"props":834,"children":835},{},[836],{"type":48,"value":625},{"type":42,"tag":157,"props":838,"children":839},{"class":159,"line":169},[840],{"type":42,"tag":157,"props":841,"children":842},{},[843],{"type":48,"value":844},"response.play(\"https:\u002F\u002Fexample.com\u002Faudio\u002Fgreeting.mp3\");\n",{"type":42,"tag":51,"props":846,"children":847},{},[848],{"type":48,"value":849},"Supported formats: MP3, WAV. URL must be publicly accessible.",{"type":42,"tag":547,"props":851,"children":853},{"id":852},"dial-connect-to-another-number",[854],{"type":48,"value":855},"Dial — Connect to another number",{"type":42,"tag":51,"props":857,"children":858},{},[859],{"type":42,"tag":143,"props":860,"children":861},{},[862],{"type":48,"value":13},{"type":42,"tag":57,"props":864,"children":866},{"className":150,"code":865,"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",[867],{"type":42,"tag":64,"props":868,"children":869},{"__ignoreMap":66},[870,878,885,892,900,908],{"type":42,"tag":157,"props":871,"children":872},{"class":159,"line":160},[873],{"type":42,"tag":157,"props":874,"children":875},{},[876],{"type":48,"value":877},"from twilio.twiml.voice_response import Dial\n",{"type":42,"tag":157,"props":879,"children":880},{"class":159,"line":169},[881],{"type":42,"tag":157,"props":882,"children":883},{"emptyLinePlaceholder":182},[884],{"type":48,"value":185},{"type":42,"tag":157,"props":886,"children":887},{"class":159,"line":178},[888],{"type":42,"tag":157,"props":889,"children":890},{},[891],{"type":48,"value":588},{"type":42,"tag":157,"props":893,"children":894},{"class":159,"line":188},[895],{"type":42,"tag":157,"props":896,"children":897},{},[898],{"type":48,"value":899},"dial = Dial(action=\"\u002Fdial-complete\")\n",{"type":42,"tag":157,"props":901,"children":902},{"class":159,"line":197},[903],{"type":42,"tag":157,"props":904,"children":905},{},[906],{"type":48,"value":907},"dial.number(\"+15558675310\")\n",{"type":42,"tag":157,"props":909,"children":910},{"class":159,"line":205},[911],{"type":42,"tag":157,"props":912,"children":913},{},[914],{"type":48,"value":915},"response.append(dial)\n",{"type":42,"tag":51,"props":917,"children":918},{},[919],{"type":42,"tag":143,"props":920,"children":921},{},[922],{"type":48,"value":17},{"type":42,"tag":57,"props":924,"children":926},{"className":399,"code":925,"language":401,"meta":66,"style":66},"const dial = response.dial({ action: \"\u002Fdial-complete\" });\ndial.number(\"+15558675310\");\n",[927],{"type":42,"tag":64,"props":928,"children":929},{"__ignoreMap":66},[930,938],{"type":42,"tag":157,"props":931,"children":932},{"class":159,"line":160},[933],{"type":42,"tag":157,"props":934,"children":935},{},[936],{"type":48,"value":937},"const dial = response.dial({ action: \"\u002Fdial-complete\" });\n",{"type":42,"tag":157,"props":939,"children":940},{"class":159,"line":169},[941],{"type":42,"tag":157,"props":942,"children":943},{},[944],{"type":48,"value":945},"dial.number(\"+15558675310\");\n",{"type":42,"tag":547,"props":947,"children":949},{"id":948},"record-capture-caller-audio",[950],{"type":48,"value":951},"Record — Capture caller audio",{"type":42,"tag":51,"props":953,"children":954},{},[955],{"type":42,"tag":143,"props":956,"children":957},{},[958],{"type":48,"value":13},{"type":42,"tag":57,"props":960,"children":962},{"className":150,"code":961,"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",[963],{"type":42,"tag":64,"props":964,"children":965},{"__ignoreMap":66},[966,973,981,989,997,1005,1013,1021],{"type":42,"tag":157,"props":967,"children":968},{"class":159,"line":160},[969],{"type":42,"tag":157,"props":970,"children":971},{},[972],{"type":48,"value":588},{"type":42,"tag":157,"props":974,"children":975},{"class":159,"line":169},[976],{"type":42,"tag":157,"props":977,"children":978},{},[979],{"type":48,"value":980},"response.say(\"Leave a message after the beep.\")\n",{"type":42,"tag":157,"props":982,"children":983},{"class":159,"line":178},[984],{"type":42,"tag":157,"props":985,"children":986},{},[987],{"type":48,"value":988},"response.record(\n",{"type":42,"tag":157,"props":990,"children":991},{"class":159,"line":188},[992],{"type":42,"tag":157,"props":993,"children":994},{},[995],{"type":48,"value":996},"    action=\"\u002Frecording-complete\",\n",{"type":42,"tag":157,"props":998,"children":999},{"class":159,"line":197},[1000],{"type":42,"tag":157,"props":1001,"children":1002},{},[1003],{"type":48,"value":1004},"    max_length=60,\n",{"type":42,"tag":157,"props":1006,"children":1007},{"class":159,"line":205},[1008],{"type":42,"tag":157,"props":1009,"children":1010},{},[1011],{"type":48,"value":1012},"    transcribe=True,\n",{"type":42,"tag":157,"props":1014,"children":1015},{"class":159,"line":214},[1016],{"type":42,"tag":157,"props":1017,"children":1018},{},[1019],{"type":48,"value":1020},"    transcribe_callback=\"\u002Ftranscription-ready\"\n",{"type":42,"tag":157,"props":1022,"children":1023},{"class":159,"line":223},[1024],{"type":42,"tag":157,"props":1025,"children":1026},{},[1027],{"type":48,"value":1028},")\n",{"type":42,"tag":51,"props":1030,"children":1031},{},[1032],{"type":42,"tag":143,"props":1033,"children":1034},{},[1035],{"type":48,"value":17},{"type":42,"tag":57,"props":1037,"children":1039},{"className":399,"code":1038,"language":401,"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",[1040],{"type":42,"tag":64,"props":1041,"children":1042},{"__ignoreMap":66},[1043,1050,1058,1066,1074,1082,1090,1098],{"type":42,"tag":157,"props":1044,"children":1045},{"class":159,"line":160},[1046],{"type":42,"tag":157,"props":1047,"children":1048},{},[1049],{"type":48,"value":625},{"type":42,"tag":157,"props":1051,"children":1052},{"class":159,"line":169},[1053],{"type":42,"tag":157,"props":1054,"children":1055},{},[1056],{"type":48,"value":1057},"response.say(\"Leave a message after the beep.\");\n",{"type":42,"tag":157,"props":1059,"children":1060},{"class":159,"line":178},[1061],{"type":42,"tag":157,"props":1062,"children":1063},{},[1064],{"type":48,"value":1065},"response.record({\n",{"type":42,"tag":157,"props":1067,"children":1068},{"class":159,"line":188},[1069],{"type":42,"tag":157,"props":1070,"children":1071},{},[1072],{"type":48,"value":1073},"    action: \"\u002Frecording-complete\",\n",{"type":42,"tag":157,"props":1075,"children":1076},{"class":159,"line":197},[1077],{"type":42,"tag":157,"props":1078,"children":1079},{},[1080],{"type":48,"value":1081},"    maxLength: 60,\n",{"type":42,"tag":157,"props":1083,"children":1084},{"class":159,"line":205},[1085],{"type":42,"tag":157,"props":1086,"children":1087},{},[1088],{"type":48,"value":1089},"    transcribe: true,\n",{"type":42,"tag":157,"props":1091,"children":1092},{"class":159,"line":214},[1093],{"type":42,"tag":157,"props":1094,"children":1095},{},[1096],{"type":48,"value":1097},"    transcribeCallback: \"\u002Ftranscription-ready\",\n",{"type":42,"tag":157,"props":1099,"children":1100},{"class":159,"line":223},[1101],{"type":42,"tag":157,"props":1102,"children":1103},{},[1104],{"type":48,"value":476},{"type":42,"tag":547,"props":1106,"children":1108},{"id":1107},"voicemail-record-a-message-when-no-one-answers",[1109],{"type":48,"value":1110},"Voicemail — Record a message when no one answers",{"type":42,"tag":51,"props":1112,"children":1113},{},[1114,1116,1122,1124,1129,1131,1137,1139,1144],{"type":48,"value":1115},"Use ",{"type":42,"tag":64,"props":1117,"children":1119},{"className":1118},[],[1120],{"type":48,"value":1121},"\u003CDial>",{"type":48,"value":1123}," with ",{"type":42,"tag":64,"props":1125,"children":1127},{"className":1126},[],[1128],{"type":48,"value":770},{"type":48,"value":1130}," URL + ",{"type":42,"tag":64,"props":1132,"children":1134},{"className":1133},[],[1135],{"type":48,"value":1136},"\u003CRecord>",{"type":48,"value":1138}," 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":1140,"children":1142},{"className":1141},[],[1143],{"type":48,"value":1136},{"type":48,"value":1145},".",{"type":42,"tag":51,"props":1147,"children":1148},{},[1149],{"type":42,"tag":143,"props":1150,"children":1151},{},[1152],{"type":48,"value":13},{"type":42,"tag":57,"props":1154,"children":1156},{"className":150,"code":1155,"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",[1157],{"type":42,"tag":64,"props":1158,"children":1159},{"__ignoreMap":66},[1160,1168,1175,1183,1190,1197,1204,1212,1220,1227,1235,1243,1251,1259,1267,1275,1283,1291,1299],{"type":42,"tag":157,"props":1161,"children":1162},{"class":159,"line":160},[1163],{"type":42,"tag":157,"props":1164,"children":1165},{},[1166],{"type":48,"value":1167},"# Primary TwiML — try to connect the call\n",{"type":42,"tag":157,"props":1169,"children":1170},{"class":159,"line":169},[1171],{"type":42,"tag":157,"props":1172,"children":1173},{},[1174],{"type":48,"value":588},{"type":42,"tag":157,"props":1176,"children":1177},{"class":159,"line":178},[1178],{"type":42,"tag":157,"props":1179,"children":1180},{},[1181],{"type":48,"value":1182},"dial = Dial(action=\"\u002Fvoicemail\", timeout=20)  # 20 seconds before voicemail\n",{"type":42,"tag":157,"props":1184,"children":1185},{"class":159,"line":188},[1186],{"type":42,"tag":157,"props":1187,"children":1188},{},[1189],{"type":48,"value":907},{"type":42,"tag":157,"props":1191,"children":1192},{"class":159,"line":197},[1193],{"type":42,"tag":157,"props":1194,"children":1195},{},[1196],{"type":48,"value":915},{"type":42,"tag":157,"props":1198,"children":1199},{"class":159,"line":205},[1200],{"type":42,"tag":157,"props":1201,"children":1202},{"emptyLinePlaceholder":182},[1203],{"type":48,"value":185},{"type":42,"tag":157,"props":1205,"children":1206},{"class":159,"line":214},[1207],{"type":42,"tag":157,"props":1208,"children":1209},{},[1210],{"type":48,"value":1211},"# \u002Fvoicemail handler — plays if no answer\n",{"type":42,"tag":157,"props":1213,"children":1214},{"class":159,"line":223},[1215],{"type":42,"tag":157,"props":1216,"children":1217},{},[1218],{"type":48,"value":1219},"def voicemail_handler(request):\n",{"type":42,"tag":157,"props":1221,"children":1222},{"class":159,"line":232},[1223],{"type":42,"tag":157,"props":1224,"children":1225},{},[1226],{"type":48,"value":229},{"type":42,"tag":157,"props":1228,"children":1229},{"class":159,"line":241},[1230],{"type":42,"tag":157,"props":1231,"children":1232},{},[1233],{"type":48,"value":1234},"    response.say(\"We missed your call. Please leave a message after the beep.\")\n",{"type":42,"tag":157,"props":1236,"children":1237},{"class":159,"line":250},[1238],{"type":42,"tag":157,"props":1239,"children":1240},{},[1241],{"type":48,"value":1242},"    response.record(\n",{"type":42,"tag":157,"props":1244,"children":1245},{"class":159,"line":259},[1246],{"type":42,"tag":157,"props":1247,"children":1248},{},[1249],{"type":48,"value":1250},"        action=\"\u002Frecording-complete\",\n",{"type":42,"tag":157,"props":1252,"children":1253},{"class":159,"line":268},[1254],{"type":42,"tag":157,"props":1255,"children":1256},{},[1257],{"type":48,"value":1258},"        max_length=120,\n",{"type":42,"tag":157,"props":1260,"children":1261},{"class":159,"line":276},[1262],{"type":42,"tag":157,"props":1263,"children":1264},{},[1265],{"type":48,"value":1266},"        transcribe=True,\n",{"type":42,"tag":157,"props":1268,"children":1269},{"class":159,"line":285},[1270],{"type":42,"tag":157,"props":1271,"children":1272},{},[1273],{"type":48,"value":1274},"        transcribe_callback=\"\u002Ftranscription-ready\",\n",{"type":42,"tag":157,"props":1276,"children":1277},{"class":159,"line":294},[1278],{"type":42,"tag":157,"props":1279,"children":1280},{},[1281],{"type":48,"value":1282},"        play_beep=True\n",{"type":42,"tag":157,"props":1284,"children":1285},{"class":159,"line":303},[1286],{"type":42,"tag":157,"props":1287,"children":1288},{},[1289],{"type":48,"value":1290},"    )\n",{"type":42,"tag":157,"props":1292,"children":1293},{"class":159,"line":311},[1294],{"type":42,"tag":157,"props":1295,"children":1296},{},[1297],{"type":48,"value":1298},"    response.say(\"We didn't receive a recording. Goodbye.\")\n",{"type":42,"tag":157,"props":1300,"children":1301},{"class":159,"line":320},[1302],{"type":42,"tag":157,"props":1303,"children":1304},{},[1305],{"type":48,"value":265},{"type":42,"tag":51,"props":1307,"children":1308},{},[1309],{"type":42,"tag":143,"props":1310,"children":1311},{},[1312],{"type":48,"value":17},{"type":42,"tag":57,"props":1314,"children":1316},{"className":399,"code":1315,"language":401,"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",[1317],{"type":42,"tag":64,"props":1318,"children":1319},{"__ignoreMap":66},[1320,1328,1335,1343,1350,1357,1365,1373,1380,1388,1396,1404,1412,1420,1428,1436,1444,1452,1459],{"type":42,"tag":157,"props":1321,"children":1322},{"class":159,"line":160},[1323],{"type":42,"tag":157,"props":1324,"children":1325},{},[1326],{"type":48,"value":1327},"\u002F\u002F Primary TwiML — try to connect the call\n",{"type":42,"tag":157,"props":1329,"children":1330},{"class":159,"line":169},[1331],{"type":42,"tag":157,"props":1332,"children":1333},{},[1334],{"type":48,"value":625},{"type":42,"tag":157,"props":1336,"children":1337},{"class":159,"line":178},[1338],{"type":42,"tag":157,"props":1339,"children":1340},{},[1341],{"type":48,"value":1342},"const dial = response.dial({ action: \"\u002Fvoicemail\", timeout: 20 });\n",{"type":42,"tag":157,"props":1344,"children":1345},{"class":159,"line":188},[1346],{"type":42,"tag":157,"props":1347,"children":1348},{},[1349],{"type":48,"value":945},{"type":42,"tag":157,"props":1351,"children":1352},{"class":159,"line":197},[1353],{"type":42,"tag":157,"props":1354,"children":1355},{"emptyLinePlaceholder":182},[1356],{"type":48,"value":185},{"type":42,"tag":157,"props":1358,"children":1359},{"class":159,"line":205},[1360],{"type":42,"tag":157,"props":1361,"children":1362},{},[1363],{"type":48,"value":1364},"\u002F\u002F \u002Fvoicemail handler — plays if no answer\n",{"type":42,"tag":157,"props":1366,"children":1367},{"class":159,"line":214},[1368],{"type":42,"tag":157,"props":1369,"children":1370},{},[1371],{"type":48,"value":1372},"app.post(\"\u002Fvoicemail\", (req, res) => {\n",{"type":42,"tag":157,"props":1374,"children":1375},{"class":159,"line":223},[1376],{"type":42,"tag":157,"props":1377,"children":1378},{},[1379],{"type":48,"value":436},{"type":42,"tag":157,"props":1381,"children":1382},{"class":159,"line":232},[1383],{"type":42,"tag":157,"props":1384,"children":1385},{},[1386],{"type":48,"value":1387},"    response.say(\"We missed your call. Please leave a message after the beep.\");\n",{"type":42,"tag":157,"props":1389,"children":1390},{"class":159,"line":241},[1391],{"type":42,"tag":157,"props":1392,"children":1393},{},[1394],{"type":48,"value":1395},"    response.record({\n",{"type":42,"tag":157,"props":1397,"children":1398},{"class":159,"line":250},[1399],{"type":42,"tag":157,"props":1400,"children":1401},{},[1402],{"type":48,"value":1403},"        action: \"\u002Frecording-complete\",\n",{"type":42,"tag":157,"props":1405,"children":1406},{"class":159,"line":259},[1407],{"type":42,"tag":157,"props":1408,"children":1409},{},[1410],{"type":48,"value":1411},"        maxLength: 120,\n",{"type":42,"tag":157,"props":1413,"children":1414},{"class":159,"line":268},[1415],{"type":42,"tag":157,"props":1416,"children":1417},{},[1418],{"type":48,"value":1419},"        transcribe: true,\n",{"type":42,"tag":157,"props":1421,"children":1422},{"class":159,"line":276},[1423],{"type":42,"tag":157,"props":1424,"children":1425},{},[1426],{"type":48,"value":1427},"        transcribeCallback: \"\u002Ftranscription-ready\",\n",{"type":42,"tag":157,"props":1429,"children":1430},{"class":159,"line":285},[1431],{"type":42,"tag":157,"props":1432,"children":1433},{},[1434],{"type":48,"value":1435},"        playBeep: true,\n",{"type":42,"tag":157,"props":1437,"children":1438},{"class":159,"line":294},[1439],{"type":42,"tag":157,"props":1440,"children":1441},{},[1442],{"type":48,"value":1443},"    });\n",{"type":42,"tag":157,"props":1445,"children":1446},{"class":159,"line":303},[1447],{"type":42,"tag":157,"props":1448,"children":1449},{},[1450],{"type":48,"value":1451},"    response.say(\"We didn't receive a recording. Goodbye.\");\n",{"type":42,"tag":157,"props":1453,"children":1454},{"class":159,"line":311},[1455],{"type":42,"tag":157,"props":1456,"children":1457},{},[1458],{"type":48,"value":468},{"type":42,"tag":157,"props":1460,"children":1461},{"class":159,"line":320},[1462],{"type":42,"tag":157,"props":1463,"children":1464},{},[1465],{"type":48,"value":476},{"type":42,"tag":51,"props":1467,"children":1468},{},[1469,1474,1476,1481,1483,1489],{"type":42,"tag":143,"props":1470,"children":1471},{},[1472],{"type":48,"value":1473},"Important:",{"type":48,"value":1475}," ",{"type":42,"tag":64,"props":1477,"children":1479},{"className":1478},[],[1480],{"type":48,"value":1136},{"type":48,"value":1482}," captures the caller only (voicemail-style). It is NOT for recording two-party calls — see ",{"type":42,"tag":64,"props":1484,"children":1486},{"className":1485},[],[1487],{"type":48,"value":1488},"twilio-call-recordings",{"type":48,"value":1490}," for that.",{"type":42,"tag":547,"props":1492,"children":1494},{"id":1493},"conference-multi-party-calls",[1495],{"type":48,"value":1496},"Conference — Multi-party calls",{"type":42,"tag":51,"props":1498,"children":1499},{},[1500],{"type":42,"tag":143,"props":1501,"children":1502},{},[1503],{"type":48,"value":13},{"type":42,"tag":57,"props":1505,"children":1507},{"className":150,"code":1506,"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",[1508],{"type":42,"tag":64,"props":1509,"children":1510},{"__ignoreMap":66},[1511,1518,1526,1534,1542,1550,1558],{"type":42,"tag":157,"props":1512,"children":1513},{"class":159,"line":160},[1514],{"type":42,"tag":157,"props":1515,"children":1516},{},[1517],{"type":48,"value":588},{"type":42,"tag":157,"props":1519,"children":1520},{"class":159,"line":169},[1521],{"type":42,"tag":157,"props":1522,"children":1523},{},[1524],{"type":48,"value":1525},"dial = response.dial()\n",{"type":42,"tag":157,"props":1527,"children":1528},{"class":159,"line":178},[1529],{"type":42,"tag":157,"props":1530,"children":1531},{},[1532],{"type":48,"value":1533},"dial.conference(\n",{"type":42,"tag":157,"props":1535,"children":1536},{"class":159,"line":188},[1537],{"type":42,"tag":157,"props":1538,"children":1539},{},[1540],{"type":48,"value":1541},"    \"Daily Standup\",\n",{"type":42,"tag":157,"props":1543,"children":1544},{"class":159,"line":197},[1545],{"type":42,"tag":157,"props":1546,"children":1547},{},[1548],{"type":48,"value":1549},"    start_conference_on_enter=True,\n",{"type":42,"tag":157,"props":1551,"children":1552},{"class":159,"line":205},[1553],{"type":42,"tag":157,"props":1554,"children":1555},{},[1556],{"type":48,"value":1557},"    end_conference_on_exit=True\n",{"type":42,"tag":157,"props":1559,"children":1560},{"class":159,"line":214},[1561],{"type":42,"tag":157,"props":1562,"children":1563},{},[1564],{"type":48,"value":1028},{"type":42,"tag":51,"props":1566,"children":1567},{},[1568],{"type":42,"tag":143,"props":1569,"children":1570},{},[1571],{"type":48,"value":17},{"type":42,"tag":57,"props":1573,"children":1575},{"className":399,"code":1574,"language":401,"meta":66,"style":66},"const response = new VoiceResponse();\nconst dial = response.dial();\ndial.conference(\"Daily Standup\", {\n    startConferenceOnEnter: true,\n    endConferenceOnExit: true,\n});\n",[1576],{"type":42,"tag":64,"props":1577,"children":1578},{"__ignoreMap":66},[1579,1586,1594,1602,1610,1618],{"type":42,"tag":157,"props":1580,"children":1581},{"class":159,"line":160},[1582],{"type":42,"tag":157,"props":1583,"children":1584},{},[1585],{"type":48,"value":625},{"type":42,"tag":157,"props":1587,"children":1588},{"class":159,"line":169},[1589],{"type":42,"tag":157,"props":1590,"children":1591},{},[1592],{"type":48,"value":1593},"const dial = response.dial();\n",{"type":42,"tag":157,"props":1595,"children":1596},{"class":159,"line":178},[1597],{"type":42,"tag":157,"props":1598,"children":1599},{},[1600],{"type":48,"value":1601},"dial.conference(\"Daily Standup\", {\n",{"type":42,"tag":157,"props":1603,"children":1604},{"class":159,"line":188},[1605],{"type":42,"tag":157,"props":1606,"children":1607},{},[1608],{"type":48,"value":1609},"    startConferenceOnEnter: true,\n",{"type":42,"tag":157,"props":1611,"children":1612},{"class":159,"line":197},[1613],{"type":42,"tag":157,"props":1614,"children":1615},{},[1616],{"type":48,"value":1617},"    endConferenceOnExit: true,\n",{"type":42,"tag":157,"props":1619,"children":1620},{"class":159,"line":205},[1621],{"type":42,"tag":157,"props":1622,"children":1623},{},[1624],{"type":48,"value":476},{"type":42,"tag":547,"props":1626,"children":1628},{"id":1627},"pay-pci-compliant-payment-collection",[1629],{"type":48,"value":1630},"Pay — PCI-compliant payment collection",{"type":42,"tag":1632,"props":1633,"children":1634},"blockquote",{},[1635,1643],{"type":42,"tag":51,"props":1636,"children":1637},{},[1638],{"type":42,"tag":143,"props":1639,"children":1640},{},[1641],{"type":48,"value":1642},"Critical warnings:",{"type":42,"tag":80,"props":1644,"children":1645},{},[1646,1658],{"type":42,"tag":84,"props":1647,"children":1648},{},[1649,1651,1656],{"type":48,"value":1650},"Pay Connectors are ",{"type":42,"tag":143,"props":1652,"children":1653},{},[1654],{"type":48,"value":1655},"Console-only",{"type":48,"value":1657}," — there is no REST API to create or manage connectors. Set up in Console > Voice > Pay Connectors before coding.",{"type":42,"tag":84,"props":1659,"children":1660},{},[1661,1666],{"type":42,"tag":143,"props":1662,"children":1663},{},[1664],{"type":48,"value":1665},"PCI Mode is IRREVERSIBLE",{"type":48,"value":1667}," once enabled on an account. Use a dedicated sub-account for payment calls.",{"type":42,"tag":51,"props":1669,"children":1670},{},[1671],{"type":42,"tag":143,"props":1672,"children":1673},{},[1674],{"type":48,"value":13},{"type":42,"tag":57,"props":1676,"children":1678},{"className":150,"code":1677,"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",[1679],{"type":42,"tag":64,"props":1680,"children":1681},{"__ignoreMap":66},[1682,1689,1697,1705,1713,1721,1729,1737,1745,1752],{"type":42,"tag":157,"props":1683,"children":1684},{"class":159,"line":160},[1685],{"type":42,"tag":157,"props":1686,"children":1687},{},[1688],{"type":48,"value":588},{"type":42,"tag":157,"props":1690,"children":1691},{"class":159,"line":169},[1692],{"type":42,"tag":157,"props":1693,"children":1694},{},[1695],{"type":48,"value":1696},"response.say(\"We'll now collect your payment.\")\n",{"type":42,"tag":157,"props":1698,"children":1699},{"class":159,"line":178},[1700],{"type":42,"tag":157,"props":1701,"children":1702},{},[1703],{"type":48,"value":1704},"pay = Pay(\n",{"type":42,"tag":157,"props":1706,"children":1707},{"class":159,"line":188},[1708],{"type":42,"tag":157,"props":1709,"children":1710},{},[1711],{"type":48,"value":1712},"    payment_connector=\"stripe_connector\",  # Name from Console setup\n",{"type":42,"tag":157,"props":1714,"children":1715},{"class":159,"line":197},[1716],{"type":42,"tag":157,"props":1717,"children":1718},{},[1719],{"type":48,"value":1720},"    charge_amount=\"49.99\",\n",{"type":42,"tag":157,"props":1722,"children":1723},{"class":159,"line":205},[1724],{"type":42,"tag":157,"props":1725,"children":1726},{},[1727],{"type":48,"value":1728},"    currency=\"usd\",\n",{"type":42,"tag":157,"props":1730,"children":1731},{"class":159,"line":214},[1732],{"type":42,"tag":157,"props":1733,"children":1734},{},[1735],{"type":48,"value":1736},"    action=\"\u002Fpayment-complete\",\n",{"type":42,"tag":157,"props":1738,"children":1739},{"class":159,"line":223},[1740],{"type":42,"tag":157,"props":1741,"children":1742},{},[1743],{"type":48,"value":1744},"    status_callback=\"\u002Fpayment-status\"\n",{"type":42,"tag":157,"props":1746,"children":1747},{"class":159,"line":232},[1748],{"type":42,"tag":157,"props":1749,"children":1750},{},[1751],{"type":48,"value":1028},{"type":42,"tag":157,"props":1753,"children":1754},{"class":159,"line":241},[1755],{"type":42,"tag":157,"props":1756,"children":1757},{},[1758],{"type":48,"value":1759},"response.append(pay)\n",{"type":42,"tag":51,"props":1761,"children":1762},{},[1763],{"type":42,"tag":143,"props":1764,"children":1765},{},[1766],{"type":48,"value":17},{"type":42,"tag":57,"props":1768,"children":1770},{"className":399,"code":1769,"language":401,"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",[1771],{"type":42,"tag":64,"props":1772,"children":1773},{"__ignoreMap":66},[1774,1781,1789,1797,1805,1813,1821,1829,1837],{"type":42,"tag":157,"props":1775,"children":1776},{"class":159,"line":160},[1777],{"type":42,"tag":157,"props":1778,"children":1779},{},[1780],{"type":48,"value":625},{"type":42,"tag":157,"props":1782,"children":1783},{"class":159,"line":169},[1784],{"type":42,"tag":157,"props":1785,"children":1786},{},[1787],{"type":48,"value":1788},"response.say(\"We'll now collect your payment.\");\n",{"type":42,"tag":157,"props":1790,"children":1791},{"class":159,"line":178},[1792],{"type":42,"tag":157,"props":1793,"children":1794},{},[1795],{"type":48,"value":1796},"response.pay({\n",{"type":42,"tag":157,"props":1798,"children":1799},{"class":159,"line":188},[1800],{"type":42,"tag":157,"props":1801,"children":1802},{},[1803],{"type":48,"value":1804},"    paymentConnector: \"stripe_connector\",\n",{"type":42,"tag":157,"props":1806,"children":1807},{"class":159,"line":197},[1808],{"type":42,"tag":157,"props":1809,"children":1810},{},[1811],{"type":48,"value":1812},"    chargeAmount: \"49.99\",\n",{"type":42,"tag":157,"props":1814,"children":1815},{"class":159,"line":205},[1816],{"type":42,"tag":157,"props":1817,"children":1818},{},[1819],{"type":48,"value":1820},"    currency: \"usd\",\n",{"type":42,"tag":157,"props":1822,"children":1823},{"class":159,"line":214},[1824],{"type":42,"tag":157,"props":1825,"children":1826},{},[1827],{"type":48,"value":1828},"    action: \"\u002Fpayment-complete\",\n",{"type":42,"tag":157,"props":1830,"children":1831},{"class":159,"line":223},[1832],{"type":42,"tag":157,"props":1833,"children":1834},{},[1835],{"type":48,"value":1836},"    statusCallback: \"\u002Fpayment-status\",\n",{"type":42,"tag":157,"props":1838,"children":1839},{"class":159,"line":232},[1840],{"type":42,"tag":157,"props":1841,"children":1842},{},[1843],{"type":48,"value":476},{"type":42,"tag":51,"props":1845,"children":1846},{},[1847],{"type":48,"value":1848},"Supported processors: Stripe, Braintree, CardConnect. Card data routes directly to the processor — never touches your server.",{"type":42,"tag":70,"props":1850,"children":1851},{},[],{"type":42,"tag":43,"props":1853,"children":1855},{"id":1854},"production-deployment",[1856],{"type":48,"value":1857},"Production Deployment",{"type":42,"tag":547,"props":1859,"children":1861},{"id":1860},"webhook-hosting",[1862],{"type":48,"value":1863},"Webhook Hosting",{"type":42,"tag":51,"props":1865,"children":1866},{},[1867],{"type":48,"value":1868},"For production, do NOT use ngrok. Deploy your TwiML server with HTTPS:",{"type":42,"tag":80,"props":1870,"children":1871},{},[1872,1887,1897],{"type":42,"tag":84,"props":1873,"children":1874},{},[1875,1880,1882],{"type":42,"tag":143,"props":1876,"children":1877},{},[1878],{"type":48,"value":1879},"Requirement",{"type":48,"value":1881},": Public HTTPS URL, responds within 15 seconds, returns ",{"type":42,"tag":64,"props":1883,"children":1885},{"className":1884},[],[1886],{"type":48,"value":105},{"type":42,"tag":84,"props":1888,"children":1889},{},[1890,1895],{"type":42,"tag":143,"props":1891,"children":1892},{},[1893],{"type":48,"value":1894},"Options",{"type":48,"value":1896},": Cloud Run, AWS Lambda + API Gateway, Railway, Render — any service with TLS and auto-scaling",{"type":42,"tag":84,"props":1898,"children":1899},{},[1900,1905],{"type":42,"tag":143,"props":1901,"children":1902},{},[1903],{"type":48,"value":1904},"Fallback URL",{"type":48,"value":1906},": Configure in Console (Phone Numbers > Active Numbers > select number) for when your primary server is unreachable",{"type":42,"tag":547,"props":1908,"children":1910},{"id":1909},"state-between-twiml-requests",[1911],{"type":48,"value":1912},"State Between TwiML Requests",{"type":42,"tag":51,"props":1914,"children":1915},{},[1916],{"type":48,"value":1917},"Each webhook request is stateless. To maintain conversation state across interactions:",{"type":42,"tag":80,"props":1919,"children":1920},{},[1921,1944,1960],{"type":42,"tag":84,"props":1922,"children":1923},{},[1924,1929,1931,1936,1938],{"type":42,"tag":143,"props":1925,"children":1926},{},[1927],{"type":48,"value":1928},"URL query params",{"type":48,"value":1930},": Pass state in ",{"type":42,"tag":64,"props":1932,"children":1934},{"className":1933},[],[1935],{"type":48,"value":770},{"type":48,"value":1937}," URLs — ",{"type":42,"tag":64,"props":1939,"children":1941},{"className":1940},[],[1942],{"type":48,"value":1943},"\u002Fnext-step?language=es&dept=sales",{"type":42,"tag":84,"props":1945,"children":1946},{},[1947,1952,1954],{"type":42,"tag":143,"props":1948,"children":1949},{},[1950],{"type":48,"value":1951},"Session store",{"type":48,"value":1953},": Use Redis or a database keyed by ",{"type":42,"tag":64,"props":1955,"children":1957},{"className":1956},[],[1958],{"type":48,"value":1959},"CallSid",{"type":42,"tag":84,"props":1961,"children":1962},{},[1963,1968],{"type":42,"tag":143,"props":1964,"children":1965},{},[1966],{"type":48,"value":1967},"Do NOT use in-memory state",{"type":48,"value":1969}," — your server may scale to multiple instances",{"type":42,"tag":547,"props":1971,"children":1973},{"id":1972},"monitoring",[1974],{"type":48,"value":1975},"Monitoring",{"type":42,"tag":80,"props":1977,"children":1978},{},[1979,1997,2007,2017],{"type":42,"tag":84,"props":1980,"children":1981},{},[1982,1987,1989,1995],{"type":42,"tag":143,"props":1983,"children":1984},{},[1985],{"type":48,"value":1986},"Status callbacks",{"type":48,"value":1988},": Track call lifecycle events (",{"type":42,"tag":64,"props":1990,"children":1992},{"className":1991},[],[1993],{"type":48,"value":1994},"statusCallback",{"type":48,"value":1996}," on the call or number config)",{"type":42,"tag":84,"props":1998,"children":1999},{},[2000,2005],{"type":42,"tag":143,"props":2001,"children":2002},{},[2003],{"type":48,"value":2004},"Voice Insights",{"type":48,"value":2006},": Automatic quality metrics per call (Console > Monitor > Insights)",{"type":42,"tag":84,"props":2008,"children":2009},{},[2010,2015],{"type":42,"tag":143,"props":2011,"children":2012},{},[2013],{"type":48,"value":2014},"Debugger",{"type":48,"value":2016},": Console > Monitor > Errors for TwiML parsing failures and webhook timeouts",{"type":42,"tag":84,"props":2018,"children":2019},{},[2020,2025],{"type":42,"tag":143,"props":2021,"children":2022},{},[2023],{"type":48,"value":2024},"Fallback URLs",{"type":48,"value":2026},": Always configure a fallback TwiML URL — serves a graceful message if your primary endpoint fails",{"type":42,"tag":70,"props":2028,"children":2029},{},[],{"type":42,"tag":43,"props":2031,"children":2033},{"id":2032},"webhook-request-parameters",[2034],{"type":48,"value":2035},"Webhook Request Parameters",{"type":42,"tag":2037,"props":2038,"children":2039},"table",{},[2040,2059],{"type":42,"tag":2041,"props":2042,"children":2043},"thead",{},[2044],{"type":42,"tag":2045,"props":2046,"children":2047},"tr",{},[2048,2054],{"type":42,"tag":2049,"props":2050,"children":2051},"th",{},[2052],{"type":48,"value":2053},"Parameter",{"type":42,"tag":2049,"props":2055,"children":2056},{},[2057],{"type":48,"value":2058},"Description",{"type":42,"tag":2060,"props":2061,"children":2062},"tbody",{},[2063,2080,2097,2114,2131],{"type":42,"tag":2045,"props":2064,"children":2065},{},[2066,2075],{"type":42,"tag":2067,"props":2068,"children":2069},"td",{},[2070],{"type":42,"tag":64,"props":2071,"children":2073},{"className":2072},[],[2074],{"type":48,"value":1959},{"type":42,"tag":2067,"props":2076,"children":2077},{},[2078],{"type":48,"value":2079},"Unique call identifier",{"type":42,"tag":2045,"props":2081,"children":2082},{},[2083,2092],{"type":42,"tag":2067,"props":2084,"children":2085},{},[2086],{"type":42,"tag":64,"props":2087,"children":2089},{"className":2088},[],[2090],{"type":48,"value":2091},"From",{"type":42,"tag":2067,"props":2093,"children":2094},{},[2095],{"type":48,"value":2096},"Caller's number",{"type":42,"tag":2045,"props":2098,"children":2099},{},[2100,2109],{"type":42,"tag":2067,"props":2101,"children":2102},{},[2103],{"type":42,"tag":64,"props":2104,"children":2106},{"className":2105},[],[2107],{"type":48,"value":2108},"To",{"type":42,"tag":2067,"props":2110,"children":2111},{},[2112],{"type":48,"value":2113},"Called number",{"type":42,"tag":2045,"props":2115,"children":2116},{},[2117,2126],{"type":42,"tag":2067,"props":2118,"children":2119},{},[2120],{"type":42,"tag":64,"props":2121,"children":2123},{"className":2122},[],[2124],{"type":48,"value":2125},"CallStatus",{"type":42,"tag":2067,"props":2127,"children":2128},{},[2129],{"type":48,"value":2130},"Current status",{"type":42,"tag":2045,"props":2132,"children":2133},{},[2134,2143],{"type":42,"tag":2067,"props":2135,"children":2136},{},[2137],{"type":42,"tag":64,"props":2138,"children":2140},{"className":2139},[],[2141],{"type":48,"value":2142},"Direction",{"type":42,"tag":2067,"props":2144,"children":2145},{},[2146,2152,2154],{"type":42,"tag":64,"props":2147,"children":2149},{"className":2148},[],[2150],{"type":48,"value":2151},"inbound",{"type":48,"value":2153}," or ",{"type":42,"tag":64,"props":2155,"children":2157},{"className":2156},[],[2158],{"type":48,"value":2159},"outbound-api",{"type":42,"tag":70,"props":2161,"children":2162},{},[],{"type":42,"tag":43,"props":2164,"children":2166},{"id":2165},"cannot",[2167],{"type":48,"value":2168},"CANNOT",{"type":42,"tag":80,"props":2170,"children":2171},{},[2172,2187,2197,2222,2232,2242],{"type":42,"tag":84,"props":2173,"children":2174},{},[2175,2180,2182],{"type":42,"tag":143,"props":2176,"children":2177},{},[2178],{"type":48,"value":2179},"Cannot return TwiML without correct content type",{"type":48,"value":2181}," — Must use ",{"type":42,"tag":64,"props":2183,"children":2185},{"className":2184},[],[2186],{"type":48,"value":105},{"type":42,"tag":84,"props":2188,"children":2189},{},[2190,2195],{"type":42,"tag":143,"props":2191,"children":2192},{},[2193],{"type":48,"value":2194},"Cannot exceed 15-second webhook response time",{"type":48,"value":2196}," — Twilio times out and falls back",{"type":42,"tag":84,"props":2198,"children":2199},{},[2200,2213,2215,2220],{"type":42,"tag":143,"props":2201,"children":2202},{},[2203,2205,2211],{"type":48,"value":2204},"Cannot exceed 4,096 characters in ",{"type":42,"tag":64,"props":2206,"children":2208},{"className":2207},[],[2209],{"type":48,"value":2210},"\u003CSay>",{"type":48,"value":2212}," verb",{"type":48,"value":2214}," — Split longer text across multiple ",{"type":42,"tag":64,"props":2216,"children":2218},{"className":2217},[],[2219],{"type":48,"value":2210},{"type":48,"value":2221}," elements",{"type":42,"tag":84,"props":2223,"children":2224},{},[2225,2230],{"type":42,"tag":143,"props":2226,"children":2227},{},[2228],{"type":48,"value":2229},"Cannot create Pay Connectors via API",{"type":48,"value":2231}," — Pay Connectors are Console-only (Console > Voice > Pay Connectors). No REST API exists for connector management.",{"type":42,"tag":84,"props":2233,"children":2234},{},[2235,2240],{"type":42,"tag":143,"props":2236,"children":2237},{},[2238],{"type":48,"value":2239},"Cannot reverse PCI Mode",{"type":48,"value":2241}," — 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":2243,"children":2244},{},[2245,2257,2259,2264,2266,2272,2274,2280],{"type":42,"tag":143,"props":2246,"children":2247},{},[2248,2250,2255],{"type":48,"value":2249},"Cannot use ",{"type":42,"tag":64,"props":2251,"children":2253},{"className":2252},[],[2254],{"type":48,"value":1136},{"type":48,"value":2256}," for two-party call recording",{"type":48,"value":2258}," — ",{"type":42,"tag":64,"props":2260,"children":2262},{"className":2261},[],[2263],{"type":48,"value":1136},{"type":48,"value":2265}," captures the caller only (voicemail-style). For dual-channel recording of both parties, use ",{"type":42,"tag":64,"props":2267,"children":2269},{"className":2268},[],[2270],{"type":48,"value":2271},"record=True",{"type":48,"value":2273}," on ",{"type":42,"tag":64,"props":2275,"children":2277},{"className":2276},[],[2278],{"type":48,"value":2279},"calls.create()",{"type":48,"value":2281}," or the Recordings API.",{"type":42,"tag":70,"props":2283,"children":2284},{},[],{"type":42,"tag":43,"props":2286,"children":2288},{"id":2287},"next-steps",[2289],{"type":48,"value":2290},"Next Steps",{"type":42,"tag":80,"props":2292,"children":2293},{},[2294,2309],{"type":42,"tag":84,"props":2295,"children":2296},{},[2297,2302,2303],{"type":42,"tag":143,"props":2298,"children":2299},{},[2300],{"type":48,"value":2301},"Place outbound calls (AMD, conferencing):",{"type":48,"value":1475},{"type":42,"tag":64,"props":2304,"children":2306},{"className":2305},[],[2307],{"type":48,"value":2308},"twilio-voice-outbound-calls",{"type":42,"tag":84,"props":2310,"children":2311},{},[2312,2317,2318],{"type":42,"tag":143,"props":2313,"children":2314},{},[2315],{"type":48,"value":2316},"AI voice agents with real-time speech\u002FLLM:",{"type":48,"value":1475},{"type":42,"tag":64,"props":2319,"children":2321},{"className":2320},[],[2322],{"type":48,"value":2323},"twilio-voice-conversation-relay",{"type":42,"tag":2325,"props":2326,"children":2327},"style",{},[2328],{"type":48,"value":2329},"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":2331,"total":2452},[2332,2350,2366,2378,2398,2420,2440],{"slug":2333,"name":2333,"fn":2334,"description":2335,"org":2336,"tags":2337,"stars":25,"repoUrl":26,"updatedAt":27},"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},[2338,2341,2344,2347],{"name":2339,"slug":2340,"type":15},"Accessibility","accessibility",{"name":2342,"slug":2343,"type":15},"Charts","charts",{"name":2345,"slug":2346,"type":15},"Data Visualization","data-visualization",{"name":2348,"slug":2349,"type":15},"Design","design",{"slug":2351,"name":2351,"fn":2352,"description":2353,"org":2354,"tags":2355,"stars":25,"repoUrl":26,"updatedAt":2365},"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},[2356,2359,2362],{"name":2357,"slug":2358,"type":15},"Agents","agents",{"name":2360,"slug":2361,"type":15},"Browser Automation","browser-automation",{"name":2363,"slug":2364,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":2367,"name":2367,"fn":2368,"description":2369,"org":2370,"tags":2371,"stars":25,"repoUrl":26,"updatedAt":2377},"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},[2372,2373,2376],{"name":2360,"slug":2361,"type":15},{"name":2374,"slug":2375,"type":15},"Local Development","local-development",{"name":2363,"slug":2364,"type":15},"2026-04-06T18:41:17.526867",{"slug":2379,"name":2379,"fn":2380,"description":2381,"org":2382,"tags":2383,"stars":25,"repoUrl":26,"updatedAt":2397},"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},[2384,2385,2388,2391,2394],{"name":2357,"slug":2358,"type":15},{"name":2386,"slug":2387,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":2389,"slug":2390,"type":15},"SDK","sdk",{"name":2392,"slug":2393,"type":15},"Serverless","serverless",{"name":2395,"slug":2396,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":2399,"name":2399,"fn":2400,"description":2401,"org":2402,"tags":2403,"stars":25,"repoUrl":26,"updatedAt":2419},"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},[2404,2407,2410,2413,2416],{"name":2405,"slug":2406,"type":15},"Frontend","frontend",{"name":2408,"slug":2409,"type":15},"React","react",{"name":2411,"slug":2412,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":2414,"slug":2415,"type":15},"UI Components","ui-components",{"name":2417,"slug":2418,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":2421,"name":2421,"fn":2422,"description":2423,"org":2424,"tags":2425,"stars":25,"repoUrl":26,"updatedAt":2439},"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},[2426,2429,2432,2435,2438],{"name":2427,"slug":2428,"type":15},"AI Infrastructure","ai-infrastructure",{"name":2430,"slug":2431,"type":15},"Cost Optimization","cost-optimization",{"name":2433,"slug":2434,"type":15},"LLM","llm",{"name":2436,"slug":2437,"type":15},"Performance","performance",{"name":2417,"slug":2418,"type":15},"2026-04-06T18:40:44.377464",{"slug":2441,"name":2441,"fn":2442,"description":2443,"org":2444,"tags":2445,"stars":25,"repoUrl":26,"updatedAt":2451},"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},[2446,2447,2450],{"name":2430,"slug":2431,"type":15},{"name":2448,"slug":2449,"type":15},"Database","database",{"name":2433,"slug":2434,"type":15},"2026-04-06T18:41:08.513425",600,{"items":2454,"total":2651},[2455,2476,2499,2516,2532,2549,2568,2580,2594,2608,2620,2635],{"slug":2456,"name":2456,"fn":2457,"description":2458,"org":2459,"tags":2460,"stars":2473,"repoUrl":2474,"updatedAt":2475},"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},[2461,2464,2467,2470],{"name":2462,"slug":2463,"type":15},"Documents","documents",{"name":2465,"slug":2466,"type":15},"Healthcare","healthcare",{"name":2468,"slug":2469,"type":15},"Insurance","insurance",{"name":2471,"slug":2472,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":2477,"name":2477,"fn":2478,"description":2479,"org":2480,"tags":2481,"stars":2496,"repoUrl":2497,"updatedAt":2498},"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},[2482,2485,2487,2490,2493],{"name":2483,"slug":2484,"type":15},".NET","dotnet",{"name":2486,"slug":2477,"type":15},"ASP.NET Core",{"name":2488,"slug":2489,"type":15},"Blazor","blazor",{"name":2491,"slug":2492,"type":15},"C#","csharp",{"name":2494,"slug":2495,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":2500,"name":2500,"fn":2501,"description":2502,"org":2503,"tags":2504,"stars":2496,"repoUrl":2497,"updatedAt":2515},"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},[2505,2508,2511,2514],{"name":2506,"slug":2507,"type":15},"Apps SDK","apps-sdk",{"name":2509,"slug":2510,"type":15},"ChatGPT","chatgpt",{"name":2512,"slug":2513,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":2517,"name":2517,"fn":2518,"description":2519,"org":2520,"tags":2521,"stars":2496,"repoUrl":2497,"updatedAt":2531},"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},[2522,2525,2528],{"name":2523,"slug":2524,"type":15},"API Development","api-development",{"name":2526,"slug":2527,"type":15},"CLI","cli",{"name":2529,"slug":2530,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":2533,"name":2533,"fn":2534,"description":2535,"org":2536,"tags":2537,"stars":2496,"repoUrl":2497,"updatedAt":2548},"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},[2538,2541,2544,2545],{"name":2539,"slug":2540,"type":15},"Cloudflare","cloudflare",{"name":2542,"slug":2543,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":2386,"slug":2387,"type":15},{"name":2546,"slug":2547,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":2550,"name":2550,"fn":2551,"description":2552,"org":2553,"tags":2554,"stars":2496,"repoUrl":2497,"updatedAt":2567},"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},[2555,2558,2561,2564],{"name":2556,"slug":2557,"type":15},"Productivity","productivity",{"name":2559,"slug":2560,"type":15},"Project Management","project-management",{"name":2562,"slug":2563,"type":15},"Strategy","strategy",{"name":2565,"slug":2566,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":2569,"name":2569,"fn":2570,"description":2571,"org":2572,"tags":2573,"stars":2496,"repoUrl":2497,"updatedAt":2579},"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},[2574,2575,2577,2578],{"name":2348,"slug":2349,"type":15},{"name":2576,"slug":2569,"type":15},"Figma",{"name":2405,"slug":2406,"type":15},{"name":2512,"slug":2513,"type":15},"2026-04-12T05:06:47.939943",{"slug":2581,"name":2581,"fn":2582,"description":2583,"org":2584,"tags":2585,"stars":2496,"repoUrl":2497,"updatedAt":2593},"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},[2586,2587,2590,2591,2592],{"name":2348,"slug":2349,"type":15},{"name":2588,"slug":2589,"type":15},"Design System","design-system",{"name":2576,"slug":2569,"type":15},{"name":2405,"slug":2406,"type":15},{"name":2414,"slug":2415,"type":15},"2026-05-10T05:59:52.971881",{"slug":2595,"name":2595,"fn":2596,"description":2597,"org":2598,"tags":2599,"stars":2496,"repoUrl":2497,"updatedAt":2607},"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},[2600,2601,2602,2605,2606],{"name":2348,"slug":2349,"type":15},{"name":2588,"slug":2589,"type":15},{"name":2603,"slug":2604,"type":15},"Documentation","documentation",{"name":2576,"slug":2569,"type":15},{"name":2405,"slug":2406,"type":15},"2026-05-16T06:07:47.821474",{"slug":2609,"name":2609,"fn":2610,"description":2611,"org":2612,"tags":2613,"stars":2496,"repoUrl":2497,"updatedAt":2619},"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},[2614,2615,2616,2617,2618],{"name":2348,"slug":2349,"type":15},{"name":2576,"slug":2569,"type":15},{"name":2405,"slug":2406,"type":15},{"name":2414,"slug":2415,"type":15},{"name":2494,"slug":2495,"type":15},"2026-05-16T06:07:40.583615",{"slug":2621,"name":2621,"fn":2622,"description":2623,"org":2624,"tags":2625,"stars":2496,"repoUrl":2497,"updatedAt":2634},"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},[2626,2629,2630,2633],{"name":2627,"slug":2628,"type":15},"Animation","animation",{"name":2529,"slug":2530,"type":15},{"name":2631,"slug":2632,"type":15},"Creative","creative",{"name":2348,"slug":2349,"type":15},"2026-05-02T05:31:48.48485",{"slug":2636,"name":2636,"fn":2637,"description":2638,"org":2639,"tags":2640,"stars":2496,"repoUrl":2497,"updatedAt":2650},"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},[2641,2642,2643,2646,2649],{"name":2631,"slug":2632,"type":15},{"name":2348,"slug":2349,"type":15},{"name":2644,"slug":2645,"type":15},"Image Generation","image-generation",{"name":2647,"slug":2648,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675]