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