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