[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-twilio-twilio-verify-send-otp":3,"mdc--pb5q8r-key":33,"related-org-twilio-twilio-verify-send-otp":2079,"related-repo-twilio-twilio-verify-send-otp":2257},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":31,"mdContent":32},"twilio-verify-send-otp","send and verify OTPs via Twilio","Send and verify one-time passcodes (OTPs) via Twilio Verify over SMS (auto-upgraded to RCS where supported), voice, email, or WhatsApp. Covers creating a Verify Service, sending tokens, checking submitted codes, automatic WhatsApp-to-SMS fallback, and service configuration. TOTP is supported via the Factors API (a separate family from channel-based OTP). Use this skill to add phone or email verification or two-factor authentication to any application.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"twilio","Twilio","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftwilio.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Auth","auth","tag",{"name":17,"slug":18,"type":15},"SMS","sms",{"name":20,"slug":21,"type":15},"WhatsApp","whatsapp",{"name":9,"slug":8,"type":15},25,"https:\u002F\u002Fgithub.com\u002Ftwilio\u002Fai","2026-08-01T05:43:28.097871",null,7,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":26},[],"https:\u002F\u002Fgithub.com\u002Ftwilio\u002Fai\u002Ftree\u002FHEAD\u002Fskills\u002Ftwilio\u002Ftwilio-verify-send-otp","---\nname: twilio-verify-send-otp\ndescription: >\n  Send and verify one-time passcodes (OTPs) via Twilio Verify over SMS\n  (auto-upgraded to RCS where supported), voice, email, or WhatsApp. Covers\n  creating a Verify Service, sending tokens,\n  checking submitted codes, automatic WhatsApp-to-SMS fallback, and service\n  configuration. TOTP is supported via the Factors API (a separate family from\n  channel-based OTP). Use this skill to add phone or email verification or\n  two-factor authentication to any application.\n---\n\n## Overview\n\nUse **Twilio Verify** to manage the full OTP lifecycle: code generation, delivery, expiry, rate limiting, and Fraud Guard protection. Use the **Programmable Messaging API** to build your own OTP message infrastructure and access features such as SMS Pumping Protection.\n\n| | Twilio Verify | Programmable Messaging API |\n|---|---|---|\n| Code generation + expiry | Built-in (10min default, configurable). Also supports custom codes. | Build yourself |\n| Rate limiting | Built-in (per-phone, per-service) | Build yourself |\n| Fraud protection | Fraud Guard (geo-permissions, rate anomaly) | SMS Pumping Protection |\n| A2P registration | Exempt — no 10DLC needed | Required — must register campaign |\n| Multi-channel | One API, change `channel` param (SMS\u002FVoice\u002FEmail\u002FWhatsApp) | Separate integration per channel |\n| Cost | [Per confirmed verification + channel fee](https:\u002F\u002Fwww.twilio.com\u002Fen-us\u002Fverify\u002Fpricing) | Per-message pricing + build cost |\n| Delivery confirmation | Yes — via List Attempts or Events API | Yes (via StatusCallback) |\n\n**When Programmable Messaging is justified:** You need full control over message content, custom delivery logic, or SMS Pumping Protection features. For standard OTP\u002F2FA flows, use Verify.\n\nVerify supports SMS, voice, email, and WhatsApp — only the `channel` parameter changes per delivery method. RCS is not a `channel` value: Verify automatically upgrades an `sms` verification to RCS where the device supports it and falls back to SMS. TOTP (authenticator apps) is supported via the Verify Factors API, a separate implementation from channel-based OTP.\n\n---\n\n## Prerequisites\n\n- Twilio account (free trial works for testing)\n  — New to Twilio? See `twilio-account-setup`\n  — Verify requires no separate product activation — just create a Service below\n- Environment variables:\n  - `TWILIO_ACCOUNT_SID`\n  - `TWILIO_AUTH_TOKEN`\n  - `VERIFY_SERVICE_SID` (created in Quickstart step 1)\n  — See `twilio-iam-auth-setup` for credential setup and best practices\n- SDK: `pip install twilio` \u002F `npm install twilio`\n- For WhatsApp channel only: a registered production WhatsApp sender — see `twilio-whatsapp-manage-senders`\n\n---\n\n## Quickstart\n\n**Step 1 — Create a Verify Service (one-time)**\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\nservice = client.verify.v2.services.create(\n    friendly_name=\"My App Verification\"\n)\nprint(service.sid)  # VAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx — save as VERIFY_SERVICE_SID\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 service = await client.verify.v2.services.create({\n    friendlyName: \"My App Verification\",\n});\nconsole.log(service.sid);  \u002F\u002F VAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n\nStore the Service SID — reuse it for all verifications, do not recreate it each time.\n\n**Step 2 — Send a verification token**\n\n**Python**\n```python\nverification = client.verify.v2 \\\n    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n    .verifications \\\n    .create(to=\"+15558675310\", channel=\"sms\")\n\nprint(verification.status)  # pending\n```\n\n**Node.js**\n```node\nconst verification = await client.verify.v2\n    .services(process.env.VERIFY_SERVICE_SID)\n    .verifications.create({ to: \"+15558675310\", channel: \"sms\" });\n\nconsole.log(verification.status);  \u002F\u002F pending\n```\n\n**Step 3 — Check the submitted code**\n\n**Python**\n```python\ncheck = client.verify.v2 \\\n    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n    .verification_checks \\\n    .create(to=\"+15558675310\", code=\"123456\")\n\nif check.status == \"approved\":\n    print(\"Verified!\")\nelse:\n    print(\"Invalid or expired code\")\n```\n\n**Node.js**\n```node\nconst check = await client.verify.v2\n    .services(process.env.VERIFY_SERVICE_SID)\n    .verificationChecks.create({ to: \"+15558675310\", code: \"123456\" });\n\nif (check.status === \"approved\") {\n    console.log(\"Verified!\");\n} else {\n    console.log(\"Invalid or expired code\");\n}\n```\n\n---\n\n## Key Patterns\n\n### Supported Channels\n\n| Channel | `channel` value | Notes |\n|---------|----------------|-------|\n| SMS | `sms` | Default, widest coverage. Auto-upgrades to RCS where supported (see below) |\n| Voice call | `call` | Reads code aloud |\n| Email | `email` | Use email address in `to` |\n| WhatsApp | `whatsapp` | Requires own WhatsApp sender (see below) |\n\n> **TOTP (authenticator apps):** Supported via the Verify Factors API — a separate implementation from channel-based OTP. See [Verify TOTP docs](https:\u002F\u002Fwww.twilio.com\u002Fdocs\u002Fverify\u002Fquickstarts\u002Ftotp).\n\n### WhatsApp OTP\n\nChange `channel` to `\"whatsapp\"` — the send\u002Fcheck flow is identical to SMS.\n\n> **Requires:** A registered production WhatsApp sender. As of March 2024, Twilio no longer provides a shared sender for Verify. See `twilio-whatsapp-manage-senders`.\n\n**Python**\n```python\nverification = client.verify.v2 \\\n    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n    .verifications \\\n    .create(to=\"+15558675310\", channel=\"whatsapp\")\n```\n\n**Node.js**\n```node\nconst verification = await client.verify.v2\n    .services(process.env.VERIFY_SERVICE_SID)\n    .verifications.create({ to: \"+15558675310\", channel: \"whatsapp\" });\n```\n\n### WhatsApp with Automatic SMS Fallback\n\n**Python**\n```python\nverification = client.verify.v2 \\\n    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n    .verifications \\\n    .create(\n        to=\"+15558675310\",\n        channel=\"whatsapp\",\n        channel_configuration={\n            \"whatsapp\": {\"enabled\": True},\n            \"sms\": {\"enabled\": True}   # falls back to SMS if WhatsApp undelivered\n        }\n    )\n```\n\n**Node.js**\n```node\nconst verification = await client.verify.v2\n    .services(process.env.VERIFY_SERVICE_SID)\n    .verifications.create({\n        to: \"+15558675310\",\n        channel: \"whatsapp\",\n        channelConfiguration: {\n            whatsapp: { enabled: true },\n            sms: { enabled: true },\n        },\n    });\n```\n\nWith fallback enabled, your UI can say \"a verification code was sent\" without specifying the channel.\n\n### Service Configuration\n\n**Python**\n```python\nservice = client.verify.v2.services.create(\n    friendly_name=\"My App\",\n    code_length=6              # 4–10 digits (default: 6)\n)\n```\n\n**Node.js**\n```node\nconst service = await client.verify.v2.services.create({\n    friendlyName: \"My App\",\n    codeLength: 6\n});\n```\n\n### Verification Status Values\n\n| Status | Meaning |\n|--------|---------|\n| `approved` | Code is correct |\n| `pending` | Code is wrong or not yet submitted |\n| `expired` | Code has expired (default TTL: 10 minutes) |\n| `canceled` | Verification was canceled |\n\n---\n\n## Debugging\n\n**Primary debugging tool:** Console > Verify > Logs (per-Service). Shows every verification attempt, delivery status, channel used, and error codes. Check here first before writing custom monitoring code.\n\n### Common Errors\n\n| Code | Meaning | Fix |\n|------|---------|-----|\n| 60200 | Invalid parameter | Check `to` format and `channel` value |\n| 60202 | Max check attempts reached | Issue a new verification |\n| 60203 | Max send attempts reached | Wait before retrying |\n| 60212 | Service not found | Verify `VERIFY_SERVICE_SID` is correct |\n| 60410 | Geo-permission not enabled | Enable country in Console |\n\n**Built-in protections (no custom code needed):**\n- Rate limiting: 5 verifications per phone per service per 10 minutes\n- Max check attempts: 5 per verification (6th attempt → error 60202)\n- Phone number validation: Verify checks line type before sending (if `lookup_enabled=True`)\n- Fraud Guard: geo-permissions, rate anomaly detection, SMS pumping protection\n\n**International OTP traffic warning:** International numbers are high-risk for SMS pumping — fraudsters trigger OTPs to premium-rate destinations to generate revenue. Verify's Fraud Guard handles this automatically when enabled. If you're building custom OTP with Programmable Messaging instead, enable SMS Pumping Protection on your Messaging Service (see `twilio-messaging-services`). Always restrict geo-permissions to only countries where you have real users.\n\n---\n\n## CANNOT\n\n- **No built-in channel fallback** — Must implement retry logic manually (e.g., SMS → voice → email). Use `channel_configuration` for WhatsApp→SMS only.\n- **No webhook on verification completion** — Must poll `verification_checks`. Rate-limited: 60\u002Fmin, 180\u002Fhr, 250\u002Fday.\n- **Cannot retrieve the actual code sent** — Code is never returned in any API response. By design.\n- **Sending on a new channel with the same `to` reuses the pending verification** — the same Verification SID and code are kept, just delivered over the new channel (e.g. switching `sms` → `call` for the same phone number). A different `to` (e.g. an email address) starts a separate verification. To force a fresh code on the same `to`, cancel the pending one first.\n- **Cannot extend TTL on an existing verification** — Default 10 minutes, and not a per-verification or Service create\u002Fupdate param. Contact Twilio Support to change the default on your Service (adjustable 2 min–24 hr).\n- **Verification SID deleted after approval** — Fetching an approved verification returns 404. Canceled verifications remain fetchable.\n- **`auto` channel not universally available** — Returns error 60200 on accounts without Fraud Guard enabled.\n- **Email channel requires Mailer configuration** — `channel: 'email'` without a configured Mailer returns error 60217.\n- **No real-time delivery push notification** — Delivery status is available via List Attempts or Events API (pull-based), not via a push webhook.\n- **FriendlyName rejects embedded digit strings** — avoid embedding 5 or more digits in a Service name; it can trigger error 60200. Use words.\n- **Wrong code does not throw an exception** — Check returns `status: \"pending\"`, not an error. You must check `status === \"approved\"` explicitly.\n- **Cannot re-check an approved verification** — Each verification is single-use. Once `approved`, subsequent checks return 404.\n- **Cannot send to arbitrary numbers on trial accounts** — Trial accounts have limited verification destinations\n- **Cannot customize WhatsApp OTP template** — Uses a fixed Meta authentication template\n- **Cannot use WhatsApp channel for PSD2 compliance mode** — PSD2 payee\u002Famount parameters not supported on WhatsApp\n\n---\n\n## Next Steps\n\n- **Register a WhatsApp sender:** `twilio-whatsapp-manage-senders`\n- **Validate phone numbers before sending:** `twilio-lookup-phone-intelligence`\n- **Credential setup:** `twilio-iam-auth-setup`\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,47,68,238,248,274,278,284,377,380,386,394,402,495,503,567,572,580,587,641,648,694,702,709,786,793,870,873,879,886,1008,1031,1037,1057,1076,1083,1119,1126,1155,1161,1168,1262,1269,1354,1359,1365,1372,1409,1416,1453,1459,1549,1552,1558,1568,1574,1710,1718,1749,1767,1770,1776,2017,2020,2026,2073],{"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},"p",{},[51,53,59,61,66],{"type":45,"value":52},"Use ",{"type":39,"tag":54,"props":55,"children":56},"strong",{},[57],{"type":45,"value":58},"Twilio Verify",{"type":45,"value":60}," to manage the full OTP lifecycle: code generation, delivery, expiry, rate limiting, and Fraud Guard protection. Use the ",{"type":39,"tag":54,"props":62,"children":63},{},[64],{"type":45,"value":65},"Programmable Messaging API",{"type":45,"value":67}," to build your own OTP message infrastructure and access features such as SMS Pumping Protection.",{"type":39,"tag":69,"props":70,"children":71},"table",{},[72,92],{"type":39,"tag":73,"props":74,"children":75},"thead",{},[76],{"type":39,"tag":77,"props":78,"children":79},"tr",{},[80,84,88],{"type":39,"tag":81,"props":82,"children":83},"th",{},[],{"type":39,"tag":81,"props":85,"children":86},{},[87],{"type":45,"value":58},{"type":39,"tag":81,"props":89,"children":90},{},[91],{"type":45,"value":65},{"type":39,"tag":93,"props":94,"children":95},"tbody",{},[96,115,132,150,168,195,220],{"type":39,"tag":77,"props":97,"children":98},{},[99,105,110],{"type":39,"tag":100,"props":101,"children":102},"td",{},[103],{"type":45,"value":104},"Code generation + expiry",{"type":39,"tag":100,"props":106,"children":107},{},[108],{"type":45,"value":109},"Built-in (10min default, configurable). Also supports custom codes.",{"type":39,"tag":100,"props":111,"children":112},{},[113],{"type":45,"value":114},"Build yourself",{"type":39,"tag":77,"props":116,"children":117},{},[118,123,128],{"type":39,"tag":100,"props":119,"children":120},{},[121],{"type":45,"value":122},"Rate limiting",{"type":39,"tag":100,"props":124,"children":125},{},[126],{"type":45,"value":127},"Built-in (per-phone, per-service)",{"type":39,"tag":100,"props":129,"children":130},{},[131],{"type":45,"value":114},{"type":39,"tag":77,"props":133,"children":134},{},[135,140,145],{"type":39,"tag":100,"props":136,"children":137},{},[138],{"type":45,"value":139},"Fraud protection",{"type":39,"tag":100,"props":141,"children":142},{},[143],{"type":45,"value":144},"Fraud Guard (geo-permissions, rate anomaly)",{"type":39,"tag":100,"props":146,"children":147},{},[148],{"type":45,"value":149},"SMS Pumping Protection",{"type":39,"tag":77,"props":151,"children":152},{},[153,158,163],{"type":39,"tag":100,"props":154,"children":155},{},[156],{"type":45,"value":157},"A2P registration",{"type":39,"tag":100,"props":159,"children":160},{},[161],{"type":45,"value":162},"Exempt — no 10DLC needed",{"type":39,"tag":100,"props":164,"children":165},{},[166],{"type":45,"value":167},"Required — must register campaign",{"type":39,"tag":77,"props":169,"children":170},{},[171,176,190],{"type":39,"tag":100,"props":172,"children":173},{},[174],{"type":45,"value":175},"Multi-channel",{"type":39,"tag":100,"props":177,"children":178},{},[179,181,188],{"type":45,"value":180},"One API, change ",{"type":39,"tag":182,"props":183,"children":185},"code",{"className":184},[],[186],{"type":45,"value":187},"channel",{"type":45,"value":189}," param (SMS\u002FVoice\u002FEmail\u002FWhatsApp)",{"type":39,"tag":100,"props":191,"children":192},{},[193],{"type":45,"value":194},"Separate integration per channel",{"type":39,"tag":77,"props":196,"children":197},{},[198,203,215],{"type":39,"tag":100,"props":199,"children":200},{},[201],{"type":45,"value":202},"Cost",{"type":39,"tag":100,"props":204,"children":205},{},[206],{"type":39,"tag":207,"props":208,"children":212},"a",{"href":209,"rel":210},"https:\u002F\u002Fwww.twilio.com\u002Fen-us\u002Fverify\u002Fpricing",[211],"nofollow",[213],{"type":45,"value":214},"Per confirmed verification + channel fee",{"type":39,"tag":100,"props":216,"children":217},{},[218],{"type":45,"value":219},"Per-message pricing + build cost",{"type":39,"tag":77,"props":221,"children":222},{},[223,228,233],{"type":39,"tag":100,"props":224,"children":225},{},[226],{"type":45,"value":227},"Delivery confirmation",{"type":39,"tag":100,"props":229,"children":230},{},[231],{"type":45,"value":232},"Yes — via List Attempts or Events API",{"type":39,"tag":100,"props":234,"children":235},{},[236],{"type":45,"value":237},"Yes (via StatusCallback)",{"type":39,"tag":48,"props":239,"children":240},{},[241,246],{"type":39,"tag":54,"props":242,"children":243},{},[244],{"type":45,"value":245},"When Programmable Messaging is justified:",{"type":45,"value":247}," You need full control over message content, custom delivery logic, or SMS Pumping Protection features. For standard OTP\u002F2FA flows, use Verify.",{"type":39,"tag":48,"props":249,"children":250},{},[251,253,258,260,265,267,272],{"type":45,"value":252},"Verify supports SMS, voice, email, and WhatsApp — only the ",{"type":39,"tag":182,"props":254,"children":256},{"className":255},[],[257],{"type":45,"value":187},{"type":45,"value":259}," parameter changes per delivery method. RCS is not a ",{"type":39,"tag":182,"props":261,"children":263},{"className":262},[],[264],{"type":45,"value":187},{"type":45,"value":266}," value: Verify automatically upgrades an ",{"type":39,"tag":182,"props":268,"children":270},{"className":269},[],[271],{"type":45,"value":18},{"type":45,"value":273}," verification to RCS where the device supports it and falls back to SMS. TOTP (authenticator apps) is supported via the Verify Factors API, a separate implementation from channel-based OTP.",{"type":39,"tag":275,"props":276,"children":277},"hr",{},[],{"type":39,"tag":40,"props":279,"children":281},{"id":280},"prerequisites",[282],{"type":45,"value":283},"Prerequisites",{"type":39,"tag":285,"props":286,"children":287},"ul",{},[288,302,347,366],{"type":39,"tag":289,"props":290,"children":291},"li",{},[292,294,300],{"type":45,"value":293},"Twilio account (free trial works for testing)\n— New to Twilio? See ",{"type":39,"tag":182,"props":295,"children":297},{"className":296},[],[298],{"type":45,"value":299},"twilio-account-setup",{"type":45,"value":301},"\n— Verify requires no separate product activation — just create a Service below",{"type":39,"tag":289,"props":303,"children":304},{},[305,307],{"type":45,"value":306},"Environment variables:\n",{"type":39,"tag":285,"props":308,"children":309},{},[310,319,328],{"type":39,"tag":289,"props":311,"children":312},{},[313],{"type":39,"tag":182,"props":314,"children":316},{"className":315},[],[317],{"type":45,"value":318},"TWILIO_ACCOUNT_SID",{"type":39,"tag":289,"props":320,"children":321},{},[322],{"type":39,"tag":182,"props":323,"children":325},{"className":324},[],[326],{"type":45,"value":327},"TWILIO_AUTH_TOKEN",{"type":39,"tag":289,"props":329,"children":330},{},[331,337,339,345],{"type":39,"tag":182,"props":332,"children":334},{"className":333},[],[335],{"type":45,"value":336},"VERIFY_SERVICE_SID",{"type":45,"value":338}," (created in Quickstart step 1)\n— See ",{"type":39,"tag":182,"props":340,"children":342},{"className":341},[],[343],{"type":45,"value":344},"twilio-iam-auth-setup",{"type":45,"value":346}," for credential setup and best practices",{"type":39,"tag":289,"props":348,"children":349},{},[350,352,358,360],{"type":45,"value":351},"SDK: ",{"type":39,"tag":182,"props":353,"children":355},{"className":354},[],[356],{"type":45,"value":357},"pip install twilio",{"type":45,"value":359}," \u002F ",{"type":39,"tag":182,"props":361,"children":363},{"className":362},[],[364],{"type":45,"value":365},"npm install twilio",{"type":39,"tag":289,"props":367,"children":368},{},[369,371],{"type":45,"value":370},"For WhatsApp channel only: a registered production WhatsApp sender — see ",{"type":39,"tag":182,"props":372,"children":374},{"className":373},[],[375],{"type":45,"value":376},"twilio-whatsapp-manage-senders",{"type":39,"tag":275,"props":378,"children":379},{},[],{"type":39,"tag":40,"props":381,"children":383},{"id":382},"quickstart",[384],{"type":45,"value":385},"Quickstart",{"type":39,"tag":48,"props":387,"children":388},{},[389],{"type":39,"tag":54,"props":390,"children":391},{},[392],{"type":45,"value":393},"Step 1 — Create a Verify Service (one-time)",{"type":39,"tag":48,"props":395,"children":396},{},[397],{"type":39,"tag":54,"props":398,"children":399},{},[400],{"type":45,"value":401},"Python",{"type":39,"tag":403,"props":404,"children":409},"pre",{"className":405,"code":406,"language":407,"meta":408,"style":408},"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\nservice = client.verify.v2.services.create(\n    friendly_name=\"My App Verification\"\n)\nprint(service.sid)  # VAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx — save as VERIFY_SERVICE_SID\n","python","",[410],{"type":39,"tag":182,"props":411,"children":412},{"__ignoreMap":408},[413,424,433,443,452,460,469,477,486],{"type":39,"tag":414,"props":415,"children":418},"span",{"class":416,"line":417},"line",1,[419],{"type":39,"tag":414,"props":420,"children":421},{},[422],{"type":45,"value":423},"import os\n",{"type":39,"tag":414,"props":425,"children":427},{"class":416,"line":426},2,[428],{"type":39,"tag":414,"props":429,"children":430},{},[431],{"type":45,"value":432},"from twilio.rest import Client\n",{"type":39,"tag":414,"props":434,"children":436},{"class":416,"line":435},3,[437],{"type":39,"tag":414,"props":438,"children":440},{"emptyLinePlaceholder":439},true,[441],{"type":45,"value":442},"\n",{"type":39,"tag":414,"props":444,"children":446},{"class":416,"line":445},4,[447],{"type":39,"tag":414,"props":448,"children":449},{},[450],{"type":45,"value":451},"client = Client(os.environ[\"TWILIO_ACCOUNT_SID\"], os.environ[\"TWILIO_AUTH_TOKEN\"])\n",{"type":39,"tag":414,"props":453,"children":455},{"class":416,"line":454},5,[456],{"type":39,"tag":414,"props":457,"children":458},{"emptyLinePlaceholder":439},[459],{"type":45,"value":442},{"type":39,"tag":414,"props":461,"children":463},{"class":416,"line":462},6,[464],{"type":39,"tag":414,"props":465,"children":466},{},[467],{"type":45,"value":468},"service = client.verify.v2.services.create(\n",{"type":39,"tag":414,"props":470,"children":471},{"class":416,"line":27},[472],{"type":39,"tag":414,"props":473,"children":474},{},[475],{"type":45,"value":476},"    friendly_name=\"My App Verification\"\n",{"type":39,"tag":414,"props":478,"children":480},{"class":416,"line":479},8,[481],{"type":39,"tag":414,"props":482,"children":483},{},[484],{"type":45,"value":485},")\n",{"type":39,"tag":414,"props":487,"children":489},{"class":416,"line":488},9,[490],{"type":39,"tag":414,"props":491,"children":492},{},[493],{"type":45,"value":494},"print(service.sid)  # VAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx — save as VERIFY_SERVICE_SID\n",{"type":39,"tag":48,"props":496,"children":497},{},[498],{"type":39,"tag":54,"props":499,"children":500},{},[501],{"type":45,"value":502},"Node.js",{"type":39,"tag":403,"props":504,"children":508},{"className":505,"code":506,"language":507,"meta":408,"style":408},"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 service = await client.verify.v2.services.create({\n    friendlyName: \"My App Verification\",\n});\nconsole.log(service.sid);  \u002F\u002F VAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n","node",[509],{"type":39,"tag":182,"props":510,"children":511},{"__ignoreMap":408},[512,520,528,535,543,551,559],{"type":39,"tag":414,"props":513,"children":514},{"class":416,"line":417},[515],{"type":39,"tag":414,"props":516,"children":517},{},[518],{"type":45,"value":519},"const twilio = require(\"twilio\");\n",{"type":39,"tag":414,"props":521,"children":522},{"class":416,"line":426},[523],{"type":39,"tag":414,"props":524,"children":525},{},[526],{"type":45,"value":527},"const client = twilio(process.env.TWILIO_ACCOUNT_SID, process.env.TWILIO_AUTH_TOKEN);\n",{"type":39,"tag":414,"props":529,"children":530},{"class":416,"line":435},[531],{"type":39,"tag":414,"props":532,"children":533},{"emptyLinePlaceholder":439},[534],{"type":45,"value":442},{"type":39,"tag":414,"props":536,"children":537},{"class":416,"line":445},[538],{"type":39,"tag":414,"props":539,"children":540},{},[541],{"type":45,"value":542},"const service = await client.verify.v2.services.create({\n",{"type":39,"tag":414,"props":544,"children":545},{"class":416,"line":454},[546],{"type":39,"tag":414,"props":547,"children":548},{},[549],{"type":45,"value":550},"    friendlyName: \"My App Verification\",\n",{"type":39,"tag":414,"props":552,"children":553},{"class":416,"line":462},[554],{"type":39,"tag":414,"props":555,"children":556},{},[557],{"type":45,"value":558},"});\n",{"type":39,"tag":414,"props":560,"children":561},{"class":416,"line":27},[562],{"type":39,"tag":414,"props":563,"children":564},{},[565],{"type":45,"value":566},"console.log(service.sid);  \u002F\u002F VAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n",{"type":39,"tag":48,"props":568,"children":569},{},[570],{"type":45,"value":571},"Store the Service SID — reuse it for all verifications, do not recreate it each time.",{"type":39,"tag":48,"props":573,"children":574},{},[575],{"type":39,"tag":54,"props":576,"children":577},{},[578],{"type":45,"value":579},"Step 2 — Send a verification token",{"type":39,"tag":48,"props":581,"children":582},{},[583],{"type":39,"tag":54,"props":584,"children":585},{},[586],{"type":45,"value":401},{"type":39,"tag":403,"props":588,"children":590},{"className":405,"code":589,"language":407,"meta":408,"style":408},"verification = client.verify.v2 \\\n    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n    .verifications \\\n    .create(to=\"+15558675310\", channel=\"sms\")\n\nprint(verification.status)  # pending\n",[591],{"type":39,"tag":182,"props":592,"children":593},{"__ignoreMap":408},[594,602,610,618,626,633],{"type":39,"tag":414,"props":595,"children":596},{"class":416,"line":417},[597],{"type":39,"tag":414,"props":598,"children":599},{},[600],{"type":45,"value":601},"verification = client.verify.v2 \\\n",{"type":39,"tag":414,"props":603,"children":604},{"class":416,"line":426},[605],{"type":39,"tag":414,"props":606,"children":607},{},[608],{"type":45,"value":609},"    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n",{"type":39,"tag":414,"props":611,"children":612},{"class":416,"line":435},[613],{"type":39,"tag":414,"props":614,"children":615},{},[616],{"type":45,"value":617},"    .verifications \\\n",{"type":39,"tag":414,"props":619,"children":620},{"class":416,"line":445},[621],{"type":39,"tag":414,"props":622,"children":623},{},[624],{"type":45,"value":625},"    .create(to=\"+15558675310\", channel=\"sms\")\n",{"type":39,"tag":414,"props":627,"children":628},{"class":416,"line":454},[629],{"type":39,"tag":414,"props":630,"children":631},{"emptyLinePlaceholder":439},[632],{"type":45,"value":442},{"type":39,"tag":414,"props":634,"children":635},{"class":416,"line":462},[636],{"type":39,"tag":414,"props":637,"children":638},{},[639],{"type":45,"value":640},"print(verification.status)  # pending\n",{"type":39,"tag":48,"props":642,"children":643},{},[644],{"type":39,"tag":54,"props":645,"children":646},{},[647],{"type":45,"value":502},{"type":39,"tag":403,"props":649,"children":651},{"className":505,"code":650,"language":507,"meta":408,"style":408},"const verification = await client.verify.v2\n    .services(process.env.VERIFY_SERVICE_SID)\n    .verifications.create({ to: \"+15558675310\", channel: \"sms\" });\n\nconsole.log(verification.status);  \u002F\u002F pending\n",[652],{"type":39,"tag":182,"props":653,"children":654},{"__ignoreMap":408},[655,663,671,679,686],{"type":39,"tag":414,"props":656,"children":657},{"class":416,"line":417},[658],{"type":39,"tag":414,"props":659,"children":660},{},[661],{"type":45,"value":662},"const verification = await client.verify.v2\n",{"type":39,"tag":414,"props":664,"children":665},{"class":416,"line":426},[666],{"type":39,"tag":414,"props":667,"children":668},{},[669],{"type":45,"value":670},"    .services(process.env.VERIFY_SERVICE_SID)\n",{"type":39,"tag":414,"props":672,"children":673},{"class":416,"line":435},[674],{"type":39,"tag":414,"props":675,"children":676},{},[677],{"type":45,"value":678},"    .verifications.create({ to: \"+15558675310\", channel: \"sms\" });\n",{"type":39,"tag":414,"props":680,"children":681},{"class":416,"line":445},[682],{"type":39,"tag":414,"props":683,"children":684},{"emptyLinePlaceholder":439},[685],{"type":45,"value":442},{"type":39,"tag":414,"props":687,"children":688},{"class":416,"line":454},[689],{"type":39,"tag":414,"props":690,"children":691},{},[692],{"type":45,"value":693},"console.log(verification.status);  \u002F\u002F pending\n",{"type":39,"tag":48,"props":695,"children":696},{},[697],{"type":39,"tag":54,"props":698,"children":699},{},[700],{"type":45,"value":701},"Step 3 — Check the submitted code",{"type":39,"tag":48,"props":703,"children":704},{},[705],{"type":39,"tag":54,"props":706,"children":707},{},[708],{"type":45,"value":401},{"type":39,"tag":403,"props":710,"children":712},{"className":405,"code":711,"language":407,"meta":408,"style":408},"check = client.verify.v2 \\\n    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n    .verification_checks \\\n    .create(to=\"+15558675310\", code=\"123456\")\n\nif check.status == \"approved\":\n    print(\"Verified!\")\nelse:\n    print(\"Invalid or expired code\")\n",[713],{"type":39,"tag":182,"props":714,"children":715},{"__ignoreMap":408},[716,724,731,739,747,754,762,770,778],{"type":39,"tag":414,"props":717,"children":718},{"class":416,"line":417},[719],{"type":39,"tag":414,"props":720,"children":721},{},[722],{"type":45,"value":723},"check = client.verify.v2 \\\n",{"type":39,"tag":414,"props":725,"children":726},{"class":416,"line":426},[727],{"type":39,"tag":414,"props":728,"children":729},{},[730],{"type":45,"value":609},{"type":39,"tag":414,"props":732,"children":733},{"class":416,"line":435},[734],{"type":39,"tag":414,"props":735,"children":736},{},[737],{"type":45,"value":738},"    .verification_checks \\\n",{"type":39,"tag":414,"props":740,"children":741},{"class":416,"line":445},[742],{"type":39,"tag":414,"props":743,"children":744},{},[745],{"type":45,"value":746},"    .create(to=\"+15558675310\", code=\"123456\")\n",{"type":39,"tag":414,"props":748,"children":749},{"class":416,"line":454},[750],{"type":39,"tag":414,"props":751,"children":752},{"emptyLinePlaceholder":439},[753],{"type":45,"value":442},{"type":39,"tag":414,"props":755,"children":756},{"class":416,"line":462},[757],{"type":39,"tag":414,"props":758,"children":759},{},[760],{"type":45,"value":761},"if check.status == \"approved\":\n",{"type":39,"tag":414,"props":763,"children":764},{"class":416,"line":27},[765],{"type":39,"tag":414,"props":766,"children":767},{},[768],{"type":45,"value":769},"    print(\"Verified!\")\n",{"type":39,"tag":414,"props":771,"children":772},{"class":416,"line":479},[773],{"type":39,"tag":414,"props":774,"children":775},{},[776],{"type":45,"value":777},"else:\n",{"type":39,"tag":414,"props":779,"children":780},{"class":416,"line":488},[781],{"type":39,"tag":414,"props":782,"children":783},{},[784],{"type":45,"value":785},"    print(\"Invalid or expired code\")\n",{"type":39,"tag":48,"props":787,"children":788},{},[789],{"type":39,"tag":54,"props":790,"children":791},{},[792],{"type":45,"value":502},{"type":39,"tag":403,"props":794,"children":796},{"className":505,"code":795,"language":507,"meta":408,"style":408},"const check = await client.verify.v2\n    .services(process.env.VERIFY_SERVICE_SID)\n    .verificationChecks.create({ to: \"+15558675310\", code: \"123456\" });\n\nif (check.status === \"approved\") {\n    console.log(\"Verified!\");\n} else {\n    console.log(\"Invalid or expired code\");\n}\n",[797],{"type":39,"tag":182,"props":798,"children":799},{"__ignoreMap":408},[800,808,815,823,830,838,846,854,862],{"type":39,"tag":414,"props":801,"children":802},{"class":416,"line":417},[803],{"type":39,"tag":414,"props":804,"children":805},{},[806],{"type":45,"value":807},"const check = await client.verify.v2\n",{"type":39,"tag":414,"props":809,"children":810},{"class":416,"line":426},[811],{"type":39,"tag":414,"props":812,"children":813},{},[814],{"type":45,"value":670},{"type":39,"tag":414,"props":816,"children":817},{"class":416,"line":435},[818],{"type":39,"tag":414,"props":819,"children":820},{},[821],{"type":45,"value":822},"    .verificationChecks.create({ to: \"+15558675310\", code: \"123456\" });\n",{"type":39,"tag":414,"props":824,"children":825},{"class":416,"line":445},[826],{"type":39,"tag":414,"props":827,"children":828},{"emptyLinePlaceholder":439},[829],{"type":45,"value":442},{"type":39,"tag":414,"props":831,"children":832},{"class":416,"line":454},[833],{"type":39,"tag":414,"props":834,"children":835},{},[836],{"type":45,"value":837},"if (check.status === \"approved\") {\n",{"type":39,"tag":414,"props":839,"children":840},{"class":416,"line":462},[841],{"type":39,"tag":414,"props":842,"children":843},{},[844],{"type":45,"value":845},"    console.log(\"Verified!\");\n",{"type":39,"tag":414,"props":847,"children":848},{"class":416,"line":27},[849],{"type":39,"tag":414,"props":850,"children":851},{},[852],{"type":45,"value":853},"} else {\n",{"type":39,"tag":414,"props":855,"children":856},{"class":416,"line":479},[857],{"type":39,"tag":414,"props":858,"children":859},{},[860],{"type":45,"value":861},"    console.log(\"Invalid or expired code\");\n",{"type":39,"tag":414,"props":863,"children":864},{"class":416,"line":488},[865],{"type":39,"tag":414,"props":866,"children":867},{},[868],{"type":45,"value":869},"}\n",{"type":39,"tag":275,"props":871,"children":872},{},[],{"type":39,"tag":40,"props":874,"children":876},{"id":875},"key-patterns",[877],{"type":45,"value":878},"Key Patterns",{"type":39,"tag":880,"props":881,"children":883},"h3",{"id":882},"supported-channels",[884],{"type":45,"value":885},"Supported Channels",{"type":39,"tag":69,"props":887,"children":888},{},[889,915],{"type":39,"tag":73,"props":890,"children":891},{},[892],{"type":39,"tag":77,"props":893,"children":894},{},[895,900,910],{"type":39,"tag":81,"props":896,"children":897},{},[898],{"type":45,"value":899},"Channel",{"type":39,"tag":81,"props":901,"children":902},{},[903,908],{"type":39,"tag":182,"props":904,"children":906},{"className":905},[],[907],{"type":45,"value":187},{"type":45,"value":909}," value",{"type":39,"tag":81,"props":911,"children":912},{},[913],{"type":45,"value":914},"Notes",{"type":39,"tag":93,"props":916,"children":917},{},[918,938,960,988],{"type":39,"tag":77,"props":919,"children":920},{},[921,925,933],{"type":39,"tag":100,"props":922,"children":923},{},[924],{"type":45,"value":17},{"type":39,"tag":100,"props":926,"children":927},{},[928],{"type":39,"tag":182,"props":929,"children":931},{"className":930},[],[932],{"type":45,"value":18},{"type":39,"tag":100,"props":934,"children":935},{},[936],{"type":45,"value":937},"Default, widest coverage. Auto-upgrades to RCS where supported (see below)",{"type":39,"tag":77,"props":939,"children":940},{},[941,946,955],{"type":39,"tag":100,"props":942,"children":943},{},[944],{"type":45,"value":945},"Voice call",{"type":39,"tag":100,"props":947,"children":948},{},[949],{"type":39,"tag":182,"props":950,"children":952},{"className":951},[],[953],{"type":45,"value":954},"call",{"type":39,"tag":100,"props":956,"children":957},{},[958],{"type":45,"value":959},"Reads code aloud",{"type":39,"tag":77,"props":961,"children":962},{},[963,968,977],{"type":39,"tag":100,"props":964,"children":965},{},[966],{"type":45,"value":967},"Email",{"type":39,"tag":100,"props":969,"children":970},{},[971],{"type":39,"tag":182,"props":972,"children":974},{"className":973},[],[975],{"type":45,"value":976},"email",{"type":39,"tag":100,"props":978,"children":979},{},[980,982],{"type":45,"value":981},"Use email address in ",{"type":39,"tag":182,"props":983,"children":985},{"className":984},[],[986],{"type":45,"value":987},"to",{"type":39,"tag":77,"props":989,"children":990},{},[991,995,1003],{"type":39,"tag":100,"props":992,"children":993},{},[994],{"type":45,"value":20},{"type":39,"tag":100,"props":996,"children":997},{},[998],{"type":39,"tag":182,"props":999,"children":1001},{"className":1000},[],[1002],{"type":45,"value":21},{"type":39,"tag":100,"props":1004,"children":1005},{},[1006],{"type":45,"value":1007},"Requires own WhatsApp sender (see below)",{"type":39,"tag":1009,"props":1010,"children":1011},"blockquote",{},[1012],{"type":39,"tag":48,"props":1013,"children":1014},{},[1015,1020,1022,1029],{"type":39,"tag":54,"props":1016,"children":1017},{},[1018],{"type":45,"value":1019},"TOTP (authenticator apps):",{"type":45,"value":1021}," Supported via the Verify Factors API — a separate implementation from channel-based OTP. See ",{"type":39,"tag":207,"props":1023,"children":1026},{"href":1024,"rel":1025},"https:\u002F\u002Fwww.twilio.com\u002Fdocs\u002Fverify\u002Fquickstarts\u002Ftotp",[211],[1027],{"type":45,"value":1028},"Verify TOTP docs",{"type":45,"value":1030},".",{"type":39,"tag":880,"props":1032,"children":1034},{"id":1033},"whatsapp-otp",[1035],{"type":45,"value":1036},"WhatsApp OTP",{"type":39,"tag":48,"props":1038,"children":1039},{},[1040,1042,1047,1049,1055],{"type":45,"value":1041},"Change ",{"type":39,"tag":182,"props":1043,"children":1045},{"className":1044},[],[1046],{"type":45,"value":187},{"type":45,"value":1048}," to ",{"type":39,"tag":182,"props":1050,"children":1052},{"className":1051},[],[1053],{"type":45,"value":1054},"\"whatsapp\"",{"type":45,"value":1056}," — the send\u002Fcheck flow is identical to SMS.",{"type":39,"tag":1009,"props":1058,"children":1059},{},[1060],{"type":39,"tag":48,"props":1061,"children":1062},{},[1063,1068,1070,1075],{"type":39,"tag":54,"props":1064,"children":1065},{},[1066],{"type":45,"value":1067},"Requires:",{"type":45,"value":1069}," A registered production WhatsApp sender. As of March 2024, Twilio no longer provides a shared sender for Verify. See ",{"type":39,"tag":182,"props":1071,"children":1073},{"className":1072},[],[1074],{"type":45,"value":376},{"type":45,"value":1030},{"type":39,"tag":48,"props":1077,"children":1078},{},[1079],{"type":39,"tag":54,"props":1080,"children":1081},{},[1082],{"type":45,"value":401},{"type":39,"tag":403,"props":1084,"children":1086},{"className":405,"code":1085,"language":407,"meta":408,"style":408},"verification = client.verify.v2 \\\n    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n    .verifications \\\n    .create(to=\"+15558675310\", channel=\"whatsapp\")\n",[1087],{"type":39,"tag":182,"props":1088,"children":1089},{"__ignoreMap":408},[1090,1097,1104,1111],{"type":39,"tag":414,"props":1091,"children":1092},{"class":416,"line":417},[1093],{"type":39,"tag":414,"props":1094,"children":1095},{},[1096],{"type":45,"value":601},{"type":39,"tag":414,"props":1098,"children":1099},{"class":416,"line":426},[1100],{"type":39,"tag":414,"props":1101,"children":1102},{},[1103],{"type":45,"value":609},{"type":39,"tag":414,"props":1105,"children":1106},{"class":416,"line":435},[1107],{"type":39,"tag":414,"props":1108,"children":1109},{},[1110],{"type":45,"value":617},{"type":39,"tag":414,"props":1112,"children":1113},{"class":416,"line":445},[1114],{"type":39,"tag":414,"props":1115,"children":1116},{},[1117],{"type":45,"value":1118},"    .create(to=\"+15558675310\", channel=\"whatsapp\")\n",{"type":39,"tag":48,"props":1120,"children":1121},{},[1122],{"type":39,"tag":54,"props":1123,"children":1124},{},[1125],{"type":45,"value":502},{"type":39,"tag":403,"props":1127,"children":1129},{"className":505,"code":1128,"language":507,"meta":408,"style":408},"const verification = await client.verify.v2\n    .services(process.env.VERIFY_SERVICE_SID)\n    .verifications.create({ to: \"+15558675310\", channel: \"whatsapp\" });\n",[1130],{"type":39,"tag":182,"props":1131,"children":1132},{"__ignoreMap":408},[1133,1140,1147],{"type":39,"tag":414,"props":1134,"children":1135},{"class":416,"line":417},[1136],{"type":39,"tag":414,"props":1137,"children":1138},{},[1139],{"type":45,"value":662},{"type":39,"tag":414,"props":1141,"children":1142},{"class":416,"line":426},[1143],{"type":39,"tag":414,"props":1144,"children":1145},{},[1146],{"type":45,"value":670},{"type":39,"tag":414,"props":1148,"children":1149},{"class":416,"line":435},[1150],{"type":39,"tag":414,"props":1151,"children":1152},{},[1153],{"type":45,"value":1154},"    .verifications.create({ to: \"+15558675310\", channel: \"whatsapp\" });\n",{"type":39,"tag":880,"props":1156,"children":1158},{"id":1157},"whatsapp-with-automatic-sms-fallback",[1159],{"type":45,"value":1160},"WhatsApp with Automatic SMS Fallback",{"type":39,"tag":48,"props":1162,"children":1163},{},[1164],{"type":39,"tag":54,"props":1165,"children":1166},{},[1167],{"type":45,"value":401},{"type":39,"tag":403,"props":1169,"children":1171},{"className":405,"code":1170,"language":407,"meta":408,"style":408},"verification = client.verify.v2 \\\n    .services(os.environ[\"VERIFY_SERVICE_SID\"]) \\\n    .verifications \\\n    .create(\n        to=\"+15558675310\",\n        channel=\"whatsapp\",\n        channel_configuration={\n            \"whatsapp\": {\"enabled\": True},\n            \"sms\": {\"enabled\": True}   # falls back to SMS if WhatsApp undelivered\n        }\n    )\n",[1172],{"type":39,"tag":182,"props":1173,"children":1174},{"__ignoreMap":408},[1175,1182,1189,1196,1204,1212,1220,1228,1236,1244,1253],{"type":39,"tag":414,"props":1176,"children":1177},{"class":416,"line":417},[1178],{"type":39,"tag":414,"props":1179,"children":1180},{},[1181],{"type":45,"value":601},{"type":39,"tag":414,"props":1183,"children":1184},{"class":416,"line":426},[1185],{"type":39,"tag":414,"props":1186,"children":1187},{},[1188],{"type":45,"value":609},{"type":39,"tag":414,"props":1190,"children":1191},{"class":416,"line":435},[1192],{"type":39,"tag":414,"props":1193,"children":1194},{},[1195],{"type":45,"value":617},{"type":39,"tag":414,"props":1197,"children":1198},{"class":416,"line":445},[1199],{"type":39,"tag":414,"props":1200,"children":1201},{},[1202],{"type":45,"value":1203},"    .create(\n",{"type":39,"tag":414,"props":1205,"children":1206},{"class":416,"line":454},[1207],{"type":39,"tag":414,"props":1208,"children":1209},{},[1210],{"type":45,"value":1211},"        to=\"+15558675310\",\n",{"type":39,"tag":414,"props":1213,"children":1214},{"class":416,"line":462},[1215],{"type":39,"tag":414,"props":1216,"children":1217},{},[1218],{"type":45,"value":1219},"        channel=\"whatsapp\",\n",{"type":39,"tag":414,"props":1221,"children":1222},{"class":416,"line":27},[1223],{"type":39,"tag":414,"props":1224,"children":1225},{},[1226],{"type":45,"value":1227},"        channel_configuration={\n",{"type":39,"tag":414,"props":1229,"children":1230},{"class":416,"line":479},[1231],{"type":39,"tag":414,"props":1232,"children":1233},{},[1234],{"type":45,"value":1235},"            \"whatsapp\": {\"enabled\": True},\n",{"type":39,"tag":414,"props":1237,"children":1238},{"class":416,"line":488},[1239],{"type":39,"tag":414,"props":1240,"children":1241},{},[1242],{"type":45,"value":1243},"            \"sms\": {\"enabled\": True}   # falls back to SMS if WhatsApp undelivered\n",{"type":39,"tag":414,"props":1245,"children":1247},{"class":416,"line":1246},10,[1248],{"type":39,"tag":414,"props":1249,"children":1250},{},[1251],{"type":45,"value":1252},"        }\n",{"type":39,"tag":414,"props":1254,"children":1256},{"class":416,"line":1255},11,[1257],{"type":39,"tag":414,"props":1258,"children":1259},{},[1260],{"type":45,"value":1261},"    )\n",{"type":39,"tag":48,"props":1263,"children":1264},{},[1265],{"type":39,"tag":54,"props":1266,"children":1267},{},[1268],{"type":45,"value":502},{"type":39,"tag":403,"props":1270,"children":1272},{"className":505,"code":1271,"language":507,"meta":408,"style":408},"const verification = await client.verify.v2\n    .services(process.env.VERIFY_SERVICE_SID)\n    .verifications.create({\n        to: \"+15558675310\",\n        channel: \"whatsapp\",\n        channelConfiguration: {\n            whatsapp: { enabled: true },\n            sms: { enabled: true },\n        },\n    });\n",[1273],{"type":39,"tag":182,"props":1274,"children":1275},{"__ignoreMap":408},[1276,1283,1290,1298,1306,1314,1322,1330,1338,1346],{"type":39,"tag":414,"props":1277,"children":1278},{"class":416,"line":417},[1279],{"type":39,"tag":414,"props":1280,"children":1281},{},[1282],{"type":45,"value":662},{"type":39,"tag":414,"props":1284,"children":1285},{"class":416,"line":426},[1286],{"type":39,"tag":414,"props":1287,"children":1288},{},[1289],{"type":45,"value":670},{"type":39,"tag":414,"props":1291,"children":1292},{"class":416,"line":435},[1293],{"type":39,"tag":414,"props":1294,"children":1295},{},[1296],{"type":45,"value":1297},"    .verifications.create({\n",{"type":39,"tag":414,"props":1299,"children":1300},{"class":416,"line":445},[1301],{"type":39,"tag":414,"props":1302,"children":1303},{},[1304],{"type":45,"value":1305},"        to: \"+15558675310\",\n",{"type":39,"tag":414,"props":1307,"children":1308},{"class":416,"line":454},[1309],{"type":39,"tag":414,"props":1310,"children":1311},{},[1312],{"type":45,"value":1313},"        channel: \"whatsapp\",\n",{"type":39,"tag":414,"props":1315,"children":1316},{"class":416,"line":462},[1317],{"type":39,"tag":414,"props":1318,"children":1319},{},[1320],{"type":45,"value":1321},"        channelConfiguration: {\n",{"type":39,"tag":414,"props":1323,"children":1324},{"class":416,"line":27},[1325],{"type":39,"tag":414,"props":1326,"children":1327},{},[1328],{"type":45,"value":1329},"            whatsapp: { enabled: true },\n",{"type":39,"tag":414,"props":1331,"children":1332},{"class":416,"line":479},[1333],{"type":39,"tag":414,"props":1334,"children":1335},{},[1336],{"type":45,"value":1337},"            sms: { enabled: true },\n",{"type":39,"tag":414,"props":1339,"children":1340},{"class":416,"line":488},[1341],{"type":39,"tag":414,"props":1342,"children":1343},{},[1344],{"type":45,"value":1345},"        },\n",{"type":39,"tag":414,"props":1347,"children":1348},{"class":416,"line":1246},[1349],{"type":39,"tag":414,"props":1350,"children":1351},{},[1352],{"type":45,"value":1353},"    });\n",{"type":39,"tag":48,"props":1355,"children":1356},{},[1357],{"type":45,"value":1358},"With fallback enabled, your UI can say \"a verification code was sent\" without specifying the channel.",{"type":39,"tag":880,"props":1360,"children":1362},{"id":1361},"service-configuration",[1363],{"type":45,"value":1364},"Service Configuration",{"type":39,"tag":48,"props":1366,"children":1367},{},[1368],{"type":39,"tag":54,"props":1369,"children":1370},{},[1371],{"type":45,"value":401},{"type":39,"tag":403,"props":1373,"children":1375},{"className":405,"code":1374,"language":407,"meta":408,"style":408},"service = client.verify.v2.services.create(\n    friendly_name=\"My App\",\n    code_length=6              # 4–10 digits (default: 6)\n)\n",[1376],{"type":39,"tag":182,"props":1377,"children":1378},{"__ignoreMap":408},[1379,1386,1394,1402],{"type":39,"tag":414,"props":1380,"children":1381},{"class":416,"line":417},[1382],{"type":39,"tag":414,"props":1383,"children":1384},{},[1385],{"type":45,"value":468},{"type":39,"tag":414,"props":1387,"children":1388},{"class":416,"line":426},[1389],{"type":39,"tag":414,"props":1390,"children":1391},{},[1392],{"type":45,"value":1393},"    friendly_name=\"My App\",\n",{"type":39,"tag":414,"props":1395,"children":1396},{"class":416,"line":435},[1397],{"type":39,"tag":414,"props":1398,"children":1399},{},[1400],{"type":45,"value":1401},"    code_length=6              # 4–10 digits (default: 6)\n",{"type":39,"tag":414,"props":1403,"children":1404},{"class":416,"line":445},[1405],{"type":39,"tag":414,"props":1406,"children":1407},{},[1408],{"type":45,"value":485},{"type":39,"tag":48,"props":1410,"children":1411},{},[1412],{"type":39,"tag":54,"props":1413,"children":1414},{},[1415],{"type":45,"value":502},{"type":39,"tag":403,"props":1417,"children":1419},{"className":505,"code":1418,"language":507,"meta":408,"style":408},"const service = await client.verify.v2.services.create({\n    friendlyName: \"My App\",\n    codeLength: 6\n});\n",[1420],{"type":39,"tag":182,"props":1421,"children":1422},{"__ignoreMap":408},[1423,1430,1438,1446],{"type":39,"tag":414,"props":1424,"children":1425},{"class":416,"line":417},[1426],{"type":39,"tag":414,"props":1427,"children":1428},{},[1429],{"type":45,"value":542},{"type":39,"tag":414,"props":1431,"children":1432},{"class":416,"line":426},[1433],{"type":39,"tag":414,"props":1434,"children":1435},{},[1436],{"type":45,"value":1437},"    friendlyName: \"My App\",\n",{"type":39,"tag":414,"props":1439,"children":1440},{"class":416,"line":435},[1441],{"type":39,"tag":414,"props":1442,"children":1443},{},[1444],{"type":45,"value":1445},"    codeLength: 6\n",{"type":39,"tag":414,"props":1447,"children":1448},{"class":416,"line":445},[1449],{"type":39,"tag":414,"props":1450,"children":1451},{},[1452],{"type":45,"value":558},{"type":39,"tag":880,"props":1454,"children":1456},{"id":1455},"verification-status-values",[1457],{"type":45,"value":1458},"Verification Status Values",{"type":39,"tag":69,"props":1460,"children":1461},{},[1462,1478],{"type":39,"tag":73,"props":1463,"children":1464},{},[1465],{"type":39,"tag":77,"props":1466,"children":1467},{},[1468,1473],{"type":39,"tag":81,"props":1469,"children":1470},{},[1471],{"type":45,"value":1472},"Status",{"type":39,"tag":81,"props":1474,"children":1475},{},[1476],{"type":45,"value":1477},"Meaning",{"type":39,"tag":93,"props":1479,"children":1480},{},[1481,1498,1515,1532],{"type":39,"tag":77,"props":1482,"children":1483},{},[1484,1493],{"type":39,"tag":100,"props":1485,"children":1486},{},[1487],{"type":39,"tag":182,"props":1488,"children":1490},{"className":1489},[],[1491],{"type":45,"value":1492},"approved",{"type":39,"tag":100,"props":1494,"children":1495},{},[1496],{"type":45,"value":1497},"Code is correct",{"type":39,"tag":77,"props":1499,"children":1500},{},[1501,1510],{"type":39,"tag":100,"props":1502,"children":1503},{},[1504],{"type":39,"tag":182,"props":1505,"children":1507},{"className":1506},[],[1508],{"type":45,"value":1509},"pending",{"type":39,"tag":100,"props":1511,"children":1512},{},[1513],{"type":45,"value":1514},"Code is wrong or not yet submitted",{"type":39,"tag":77,"props":1516,"children":1517},{},[1518,1527],{"type":39,"tag":100,"props":1519,"children":1520},{},[1521],{"type":39,"tag":182,"props":1522,"children":1524},{"className":1523},[],[1525],{"type":45,"value":1526},"expired",{"type":39,"tag":100,"props":1528,"children":1529},{},[1530],{"type":45,"value":1531},"Code has expired (default TTL: 10 minutes)",{"type":39,"tag":77,"props":1533,"children":1534},{},[1535,1544],{"type":39,"tag":100,"props":1536,"children":1537},{},[1538],{"type":39,"tag":182,"props":1539,"children":1541},{"className":1540},[],[1542],{"type":45,"value":1543},"canceled",{"type":39,"tag":100,"props":1545,"children":1546},{},[1547],{"type":45,"value":1548},"Verification was canceled",{"type":39,"tag":275,"props":1550,"children":1551},{},[],{"type":39,"tag":40,"props":1553,"children":1555},{"id":1554},"debugging",[1556],{"type":45,"value":1557},"Debugging",{"type":39,"tag":48,"props":1559,"children":1560},{},[1561,1566],{"type":39,"tag":54,"props":1562,"children":1563},{},[1564],{"type":45,"value":1565},"Primary debugging tool:",{"type":45,"value":1567}," Console > Verify > Logs (per-Service). Shows every verification attempt, delivery status, channel used, and error codes. Check here first before writing custom monitoring code.",{"type":39,"tag":880,"props":1569,"children":1571},{"id":1570},"common-errors",[1572],{"type":45,"value":1573},"Common Errors",{"type":39,"tag":69,"props":1575,"children":1576},{},[1577,1597],{"type":39,"tag":73,"props":1578,"children":1579},{},[1580],{"type":39,"tag":77,"props":1581,"children":1582},{},[1583,1588,1592],{"type":39,"tag":81,"props":1584,"children":1585},{},[1586],{"type":45,"value":1587},"Code",{"type":39,"tag":81,"props":1589,"children":1590},{},[1591],{"type":45,"value":1477},{"type":39,"tag":81,"props":1593,"children":1594},{},[1595],{"type":45,"value":1596},"Fix",{"type":39,"tag":93,"props":1598,"children":1599},{},[1600,1631,1649,1667,1692],{"type":39,"tag":77,"props":1601,"children":1602},{},[1603,1608,1613],{"type":39,"tag":100,"props":1604,"children":1605},{},[1606],{"type":45,"value":1607},"60200",{"type":39,"tag":100,"props":1609,"children":1610},{},[1611],{"type":45,"value":1612},"Invalid parameter",{"type":39,"tag":100,"props":1614,"children":1615},{},[1616,1618,1623,1625,1630],{"type":45,"value":1617},"Check ",{"type":39,"tag":182,"props":1619,"children":1621},{"className":1620},[],[1622],{"type":45,"value":987},{"type":45,"value":1624}," format and ",{"type":39,"tag":182,"props":1626,"children":1628},{"className":1627},[],[1629],{"type":45,"value":187},{"type":45,"value":909},{"type":39,"tag":77,"props":1632,"children":1633},{},[1634,1639,1644],{"type":39,"tag":100,"props":1635,"children":1636},{},[1637],{"type":45,"value":1638},"60202",{"type":39,"tag":100,"props":1640,"children":1641},{},[1642],{"type":45,"value":1643},"Max check attempts reached",{"type":39,"tag":100,"props":1645,"children":1646},{},[1647],{"type":45,"value":1648},"Issue a new verification",{"type":39,"tag":77,"props":1650,"children":1651},{},[1652,1657,1662],{"type":39,"tag":100,"props":1653,"children":1654},{},[1655],{"type":45,"value":1656},"60203",{"type":39,"tag":100,"props":1658,"children":1659},{},[1660],{"type":45,"value":1661},"Max send attempts reached",{"type":39,"tag":100,"props":1663,"children":1664},{},[1665],{"type":45,"value":1666},"Wait before retrying",{"type":39,"tag":77,"props":1668,"children":1669},{},[1670,1675,1680],{"type":39,"tag":100,"props":1671,"children":1672},{},[1673],{"type":45,"value":1674},"60212",{"type":39,"tag":100,"props":1676,"children":1677},{},[1678],{"type":45,"value":1679},"Service not found",{"type":39,"tag":100,"props":1681,"children":1682},{},[1683,1685,1690],{"type":45,"value":1684},"Verify ",{"type":39,"tag":182,"props":1686,"children":1688},{"className":1687},[],[1689],{"type":45,"value":336},{"type":45,"value":1691}," is correct",{"type":39,"tag":77,"props":1693,"children":1694},{},[1695,1700,1705],{"type":39,"tag":100,"props":1696,"children":1697},{},[1698],{"type":45,"value":1699},"60410",{"type":39,"tag":100,"props":1701,"children":1702},{},[1703],{"type":45,"value":1704},"Geo-permission not enabled",{"type":39,"tag":100,"props":1706,"children":1707},{},[1708],{"type":45,"value":1709},"Enable country in Console",{"type":39,"tag":48,"props":1711,"children":1712},{},[1713],{"type":39,"tag":54,"props":1714,"children":1715},{},[1716],{"type":45,"value":1717},"Built-in protections (no custom code needed):",{"type":39,"tag":285,"props":1719,"children":1720},{},[1721,1726,1731,1744],{"type":39,"tag":289,"props":1722,"children":1723},{},[1724],{"type":45,"value":1725},"Rate limiting: 5 verifications per phone per service per 10 minutes",{"type":39,"tag":289,"props":1727,"children":1728},{},[1729],{"type":45,"value":1730},"Max check attempts: 5 per verification (6th attempt → error 60202)",{"type":39,"tag":289,"props":1732,"children":1733},{},[1734,1736,1742],{"type":45,"value":1735},"Phone number validation: Verify checks line type before sending (if ",{"type":39,"tag":182,"props":1737,"children":1739},{"className":1738},[],[1740],{"type":45,"value":1741},"lookup_enabled=True",{"type":45,"value":1743},")",{"type":39,"tag":289,"props":1745,"children":1746},{},[1747],{"type":45,"value":1748},"Fraud Guard: geo-permissions, rate anomaly detection, SMS pumping protection",{"type":39,"tag":48,"props":1750,"children":1751},{},[1752,1757,1759,1765],{"type":39,"tag":54,"props":1753,"children":1754},{},[1755],{"type":45,"value":1756},"International OTP traffic warning:",{"type":45,"value":1758}," International numbers are high-risk for SMS pumping — fraudsters trigger OTPs to premium-rate destinations to generate revenue. Verify's Fraud Guard handles this automatically when enabled. If you're building custom OTP with Programmable Messaging instead, enable SMS Pumping Protection on your Messaging Service (see ",{"type":39,"tag":182,"props":1760,"children":1762},{"className":1761},[],[1763],{"type":45,"value":1764},"twilio-messaging-services",{"type":45,"value":1766},"). Always restrict geo-permissions to only countries where you have real users.",{"type":39,"tag":275,"props":1768,"children":1769},{},[],{"type":39,"tag":40,"props":1771,"children":1773},{"id":1772},"cannot",[1774],{"type":45,"value":1775},"CANNOT",{"type":39,"tag":285,"props":1777,"children":1778},{},[1779,1797,1815,1825,1870,1880,1890,1906,1924,1934,1944,1970,1987,1997,2007],{"type":39,"tag":289,"props":1780,"children":1781},{},[1782,1787,1789,1795],{"type":39,"tag":54,"props":1783,"children":1784},{},[1785],{"type":45,"value":1786},"No built-in channel fallback",{"type":45,"value":1788}," — Must implement retry logic manually (e.g., SMS → voice → email). Use ",{"type":39,"tag":182,"props":1790,"children":1792},{"className":1791},[],[1793],{"type":45,"value":1794},"channel_configuration",{"type":45,"value":1796}," for WhatsApp→SMS only.",{"type":39,"tag":289,"props":1798,"children":1799},{},[1800,1805,1807,1813],{"type":39,"tag":54,"props":1801,"children":1802},{},[1803],{"type":45,"value":1804},"No webhook on verification completion",{"type":45,"value":1806}," — Must poll ",{"type":39,"tag":182,"props":1808,"children":1810},{"className":1809},[],[1811],{"type":45,"value":1812},"verification_checks",{"type":45,"value":1814},". Rate-limited: 60\u002Fmin, 180\u002Fhr, 250\u002Fday.",{"type":39,"tag":289,"props":1816,"children":1817},{},[1818,1823],{"type":39,"tag":54,"props":1819,"children":1820},{},[1821],{"type":45,"value":1822},"Cannot retrieve the actual code sent",{"type":45,"value":1824}," — Code is never returned in any API response. By design.",{"type":39,"tag":289,"props":1826,"children":1827},{},[1828,1840,1842,1847,1849,1854,1856,1861,1863,1868],{"type":39,"tag":54,"props":1829,"children":1830},{},[1831,1833,1838],{"type":45,"value":1832},"Sending on a new channel with the same ",{"type":39,"tag":182,"props":1834,"children":1836},{"className":1835},[],[1837],{"type":45,"value":987},{"type":45,"value":1839}," reuses the pending verification",{"type":45,"value":1841}," — the same Verification SID and code are kept, just delivered over the new channel (e.g. switching ",{"type":39,"tag":182,"props":1843,"children":1845},{"className":1844},[],[1846],{"type":45,"value":18},{"type":45,"value":1848}," → ",{"type":39,"tag":182,"props":1850,"children":1852},{"className":1851},[],[1853],{"type":45,"value":954},{"type":45,"value":1855}," for the same phone number). A different ",{"type":39,"tag":182,"props":1857,"children":1859},{"className":1858},[],[1860],{"type":45,"value":987},{"type":45,"value":1862}," (e.g. an email address) starts a separate verification. To force a fresh code on the same ",{"type":39,"tag":182,"props":1864,"children":1866},{"className":1865},[],[1867],{"type":45,"value":987},{"type":45,"value":1869},", cancel the pending one first.",{"type":39,"tag":289,"props":1871,"children":1872},{},[1873,1878],{"type":39,"tag":54,"props":1874,"children":1875},{},[1876],{"type":45,"value":1877},"Cannot extend TTL on an existing verification",{"type":45,"value":1879}," — Default 10 minutes, and not a per-verification or Service create\u002Fupdate param. Contact Twilio Support to change the default on your Service (adjustable 2 min–24 hr).",{"type":39,"tag":289,"props":1881,"children":1882},{},[1883,1888],{"type":39,"tag":54,"props":1884,"children":1885},{},[1886],{"type":45,"value":1887},"Verification SID deleted after approval",{"type":45,"value":1889}," — Fetching an approved verification returns 404. Canceled verifications remain fetchable.",{"type":39,"tag":289,"props":1891,"children":1892},{},[1893,1904],{"type":39,"tag":54,"props":1894,"children":1895},{},[1896,1902],{"type":39,"tag":182,"props":1897,"children":1899},{"className":1898},[],[1900],{"type":45,"value":1901},"auto",{"type":45,"value":1903}," channel not universally available",{"type":45,"value":1905}," — Returns error 60200 on accounts without Fraud Guard enabled.",{"type":39,"tag":289,"props":1907,"children":1908},{},[1909,1914,1916,1922],{"type":39,"tag":54,"props":1910,"children":1911},{},[1912],{"type":45,"value":1913},"Email channel requires Mailer configuration",{"type":45,"value":1915}," — ",{"type":39,"tag":182,"props":1917,"children":1919},{"className":1918},[],[1920],{"type":45,"value":1921},"channel: 'email'",{"type":45,"value":1923}," without a configured Mailer returns error 60217.",{"type":39,"tag":289,"props":1925,"children":1926},{},[1927,1932],{"type":39,"tag":54,"props":1928,"children":1929},{},[1930],{"type":45,"value":1931},"No real-time delivery push notification",{"type":45,"value":1933}," — Delivery status is available via List Attempts or Events API (pull-based), not via a push webhook.",{"type":39,"tag":289,"props":1935,"children":1936},{},[1937,1942],{"type":39,"tag":54,"props":1938,"children":1939},{},[1940],{"type":45,"value":1941},"FriendlyName rejects embedded digit strings",{"type":45,"value":1943}," — avoid embedding 5 or more digits in a Service name; it can trigger error 60200. Use words.",{"type":39,"tag":289,"props":1945,"children":1946},{},[1947,1952,1954,1960,1962,1968],{"type":39,"tag":54,"props":1948,"children":1949},{},[1950],{"type":45,"value":1951},"Wrong code does not throw an exception",{"type":45,"value":1953}," — Check returns ",{"type":39,"tag":182,"props":1955,"children":1957},{"className":1956},[],[1958],{"type":45,"value":1959},"status: \"pending\"",{"type":45,"value":1961},", not an error. You must check ",{"type":39,"tag":182,"props":1963,"children":1965},{"className":1964},[],[1966],{"type":45,"value":1967},"status === \"approved\"",{"type":45,"value":1969}," explicitly.",{"type":39,"tag":289,"props":1971,"children":1972},{},[1973,1978,1980,1985],{"type":39,"tag":54,"props":1974,"children":1975},{},[1976],{"type":45,"value":1977},"Cannot re-check an approved verification",{"type":45,"value":1979}," — Each verification is single-use. Once ",{"type":39,"tag":182,"props":1981,"children":1983},{"className":1982},[],[1984],{"type":45,"value":1492},{"type":45,"value":1986},", subsequent checks return 404.",{"type":39,"tag":289,"props":1988,"children":1989},{},[1990,1995],{"type":39,"tag":54,"props":1991,"children":1992},{},[1993],{"type":45,"value":1994},"Cannot send to arbitrary numbers on trial accounts",{"type":45,"value":1996}," — Trial accounts have limited verification destinations",{"type":39,"tag":289,"props":1998,"children":1999},{},[2000,2005],{"type":39,"tag":54,"props":2001,"children":2002},{},[2003],{"type":45,"value":2004},"Cannot customize WhatsApp OTP template",{"type":45,"value":2006}," — Uses a fixed Meta authentication template",{"type":39,"tag":289,"props":2008,"children":2009},{},[2010,2015],{"type":39,"tag":54,"props":2011,"children":2012},{},[2013],{"type":45,"value":2014},"Cannot use WhatsApp channel for PSD2 compliance mode",{"type":45,"value":2016}," — PSD2 payee\u002Famount parameters not supported on WhatsApp",{"type":39,"tag":275,"props":2018,"children":2019},{},[],{"type":39,"tag":40,"props":2021,"children":2023},{"id":2022},"next-steps",[2024],{"type":45,"value":2025},"Next Steps",{"type":39,"tag":285,"props":2027,"children":2028},{},[2029,2044,2059],{"type":39,"tag":289,"props":2030,"children":2031},{},[2032,2037,2039],{"type":39,"tag":54,"props":2033,"children":2034},{},[2035],{"type":45,"value":2036},"Register a WhatsApp sender:",{"type":45,"value":2038}," ",{"type":39,"tag":182,"props":2040,"children":2042},{"className":2041},[],[2043],{"type":45,"value":376},{"type":39,"tag":289,"props":2045,"children":2046},{},[2047,2052,2053],{"type":39,"tag":54,"props":2048,"children":2049},{},[2050],{"type":45,"value":2051},"Validate phone numbers before sending:",{"type":45,"value":2038},{"type":39,"tag":182,"props":2054,"children":2056},{"className":2055},[],[2057],{"type":45,"value":2058},"twilio-lookup-phone-intelligence",{"type":39,"tag":289,"props":2060,"children":2061},{},[2062,2067,2068],{"type":39,"tag":54,"props":2063,"children":2064},{},[2065],{"type":45,"value":2066},"Credential setup:",{"type":45,"value":2038},{"type":39,"tag":182,"props":2069,"children":2071},{"className":2070},[],[2072],{"type":45,"value":344},{"type":39,"tag":2074,"props":2075,"children":2076},"style",{},[2077],{"type":45,"value":2078},"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":2080,"total":2256},[2081,2094,2114,2125,2137,2152,2169,2183,2199,2212,2226,2244],{"slug":299,"name":299,"fn":2082,"description":2083,"org":2084,"tags":2085,"stars":23,"repoUrl":24,"updatedAt":2093},"configure Twilio accounts and credentials","Create and configure a Twilio account from scratch. Covers free trial signup, trial limitations, getting credentials (Account SID and Auth Token), buying a phone number, verifying recipient numbers for trial use, SDK installation, first API call, subaccount management (creation, inheritance, credential isolation, limits), and enabling specific products (AI Assistants, Conversations, Verify, ConversationRelay, WhatsApp). Use this skill before any other Twilio skill if you do not yet have a Twilio account or need to enable a product. For Organization-level governance (SSO, SCIM, multi-team), see `twilio-organizations-setup`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2086,2089,2092],{"name":2087,"slug":2088,"type":15},"API Development","api-development",{"name":2090,"slug":2091,"type":15},"Communications","communications",{"name":17,"slug":18,"type":15},"2026-08-01T05:43:28.968968",{"slug":2095,"name":2095,"fn":2096,"description":2097,"org":2098,"tags":2099,"stars":23,"repoUrl":24,"updatedAt":2113},"twilio-agent-augmentation-architect","augment human agents with AI intelligence","Planning skill for augmenting human agents with real-time AI intelligence. Qualifies the developer's use case across coaching, compliance, QA, and routing to recommend the right Conversation Intelligence + Conversation Memory + TaskRouter architecture. Handles both \"I want to add AI coaching to my call center\" and \"configure Conversation Intelligence operators for script adherence.\"\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2100,2103,2106,2109,2112],{"name":2101,"slug":2102,"type":15},"Agents","agents",{"name":2104,"slug":2105,"type":15},"AI","ai",{"name":2107,"slug":2108,"type":15},"Coaching","coaching",{"name":2110,"slug":2111,"type":15},"QA","qa",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:58.250609",{"slug":2115,"name":2115,"fn":2116,"description":2117,"org":2118,"tags":2119,"stars":23,"repoUrl":24,"updatedAt":2124},"twilio-agent-connect","connect AI agents to Twilio channels","Connect third-party AI agents (OpenAI, Bedrock, LangChain, Microsoft Foundry) to Twilio's communication channels using the Twilio Agent Connect SDK. Covers identity resolution, memory and context management via Conversation Memory, conversation orchestration via Conversation Orchestrator, multi-channel handling (Voice, SMS, RCS, WhatsApp, Chat), and AI-to-human escalation. Use this skill when integrating an existing LLM agent with Twilio services.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2120,2121,2122,2123],{"name":2101,"slug":2102,"type":15},{"name":2087,"slug":2088,"type":15},{"name":2090,"slug":2091,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:06:05.217098",{"slug":2126,"name":2126,"fn":2127,"description":2128,"org":2129,"tags":2130,"stars":23,"repoUrl":24,"updatedAt":2136},"twilio-ai-agent-architect","plan Twilio conversational AI agents","Planning skill for AI-powered conversational agents. Qualifies the developer's use case across outcome sophistication, entry point, and customer profile to recommend the right Twilio Conversations architecture and implementation skills. Handles both high-level requests (\"build me a voice AI assistant\") and specific ones (\"integrate ConversationRelay with my OpenAI backend\").\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2131,2132,2135],{"name":2101,"slug":2102,"type":15},{"name":2133,"slug":2134,"type":15},"Architecture","architecture",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:48.883723",{"slug":2138,"name":2138,"fn":2139,"description":2140,"org":2141,"tags":2142,"stars":23,"repoUrl":24,"updatedAt":2151},"twilio-call-recordings","record and manage Twilio voice calls","Record Twilio voice calls correctly. Covers the critical distinction between Record verb (voicemail) and Dial record (call recording), dual-channel for QA, mid-call pause for PCI, Conference recording, and the ConversationRelay workaround. Use this skill whenever you need to capture call audio for compliance, QA, or analytics.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2143,2146,2149,2150],{"name":2144,"slug":2145,"type":15},"Audio","audio",{"name":2147,"slug":2148,"type":15},"Compliance","compliance",{"name":2110,"slug":2111,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.268412",{"slug":2153,"name":2153,"fn":2154,"description":2155,"org":2156,"tags":2157,"stars":23,"repoUrl":24,"updatedAt":2168},"twilio-cli-reference","manage Twilio resources via CLI","Twilio CLI reference for managing Twilio resources from the terminal. Covers installation, credential profiles, phone number provisioning, sending SMS and email, webhook configuration, local development with a tunneling service, debugging with watch and logs, serverless deployment, and plugin ecosystem. Use when the developer asks to \"just do it\", \"set this up\", \"run a command\", mentions \"CLI\", \"command line\", or \"terminal\", or when an AI agent can execute a task directly instead of writing application code.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2158,2161,2164,2167],{"name":2159,"slug":2160,"type":15},"CLI","cli",{"name":2162,"slug":2163,"type":15},"Local Development","local-development",{"name":2165,"slug":2166,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:54.925664",{"slug":2170,"name":2170,"fn":2171,"description":2172,"org":2173,"tags":2174,"stars":23,"repoUrl":24,"updatedAt":2182},"twilio-compliance-onboarding","manage Twilio messaging and voice compliance","Registrations required BEFORE Twilio traffic works. Covers messaging programs (A2P 10DLC, toll-free verification, WhatsApp WABA, RCS, short code, alphanumeric sender) and voice trust programs (STIR\u002FSHAKEN, Voice Integrity, Branded Calling, CNAM). Each number\u002Fsender type has its own program — registration blocks traffic until complete.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2175,2176,2179,2180,2181],{"name":2147,"slug":2148,"type":15},{"name":2177,"slug":2178,"type":15},"Messaging","messaging",{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:05:47.897229",{"slug":2184,"name":2184,"fn":2185,"description":2186,"org":2187,"tags":2188,"stars":23,"repoUrl":24,"updatedAt":2198},"twilio-compliance-traffic","ensure compliance for Twilio messaging traffic","Rules you must follow for Twilio messaging and voice traffic. Covers TCPA (consent tiers, quiet hours, DNC), GDPR (EU consent, right to deletion), PCI DSS (payment recording, Pay verb), HIPAA (BAA, PHI), FDCPA (debt collection limits), CAN-SPAM, WhatsApp policies, SHAKEN\u002FSTIR, and consent management patterns. Use this skill proactively when developers have working traffic to ensure they follow the rules.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2189,2190,2191,2194,2197],{"name":2147,"slug":2148,"type":15},{"name":2177,"slug":2178,"type":15},{"name":2192,"slug":2193,"type":15},"Regulatory Compliance","regulatory-compliance",{"name":2195,"slug":2196,"type":15},"Security","security",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.952779",{"slug":2200,"name":2200,"fn":2201,"description":2202,"org":2203,"tags":2204,"stars":23,"repoUrl":24,"updatedAt":2211},"twilio-conference-calls","build multi-party calls with Twilio Conference","Build multi-party calls using Twilio Conference. Covers warm transfer, cold transfer, coaching (whisper), hold vs mute, participant modes, and supervisor barge. Use this skill for any contact center, support line, or scenario requiring transfers, holds, or multi-party calls.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2205,2206,2207,2210],{"name":2144,"slug":2145,"type":15},{"name":2090,"slug":2091,"type":15},{"name":2208,"slug":2209,"type":15},"Meetings","meetings",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.603708",{"slug":2213,"name":2213,"fn":2214,"description":2215,"org":2216,"tags":2217,"stars":23,"repoUrl":24,"updatedAt":2225},"twilio-content-template-builder","create and send message templates with Twilio","Create, manage, and send message templates using Twilio's Content API. Covers template creation for WhatsApp, SMS, RCS, and MMS; variable usage; WhatsApp Meta approval; and sending templates via ContentSid. Use this skill when building structured messages that require pre-approval or consistent formatting across channels.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2218,2219,2220,2221,2224],{"name":967,"slug":976,"type":15},{"name":2177,"slug":2178,"type":15},{"name":17,"slug":18,"type":15},{"name":2222,"slug":2223,"type":15},"Templates","templates",{"name":9,"slug":8,"type":15},"2026-07-17T06:04:26.637309",{"slug":2227,"name":2227,"fn":2228,"description":2229,"org":2230,"tags":2231,"stars":23,"repoUrl":24,"updatedAt":2243},"twilio-conversation-intelligence","build conversation intelligence pipelines","Twilio Conversation Intelligence development guide. Use when building real-time or post-call conversation analysis, language operator pipelines, sentiment analysis, agent assist, cross-channel analytics, or querying aggregated conversation insights (sentiment trends, escalation rates, dashboards).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2232,2233,2236,2239,2242],{"name":2101,"slug":2102,"type":15},{"name":2234,"slug":2235,"type":15},"Analytics","analytics",{"name":2237,"slug":2238,"type":15},"Monitoring","monitoring",{"name":2240,"slug":2241,"type":15},"NLP","nlp",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:52.545387",{"slug":2245,"name":2245,"fn":2246,"description":2247,"org":2248,"tags":2249,"stars":23,"repoUrl":24,"updatedAt":2255},"twilio-conversation-memory","manage conversation memory with Twilio","Store and retrieve conversation context using Twilio Conversation Memory. Covers Memory Store provisioning, profile management, traits, observations, conversation summaries, and semantic Recall. Use this skill to give AI agents or human agents persistent memory of conversations across sessions and channels.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2250,2251,2254],{"name":2101,"slug":2102,"type":15},{"name":2252,"slug":2253,"type":15},"Memory","memory",{"name":9,"slug":8,"type":15},"2026-07-17T06:04:19.526724",57,{"items":2258,"total":2256},[2259,2265,2273,2280,2286,2293,2300],{"slug":299,"name":299,"fn":2082,"description":2083,"org":2260,"tags":2261,"stars":23,"repoUrl":24,"updatedAt":2093},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2262,2263,2264],{"name":2087,"slug":2088,"type":15},{"name":2090,"slug":2091,"type":15},{"name":17,"slug":18,"type":15},{"slug":2095,"name":2095,"fn":2096,"description":2097,"org":2266,"tags":2267,"stars":23,"repoUrl":24,"updatedAt":2113},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2268,2269,2270,2271,2272],{"name":2101,"slug":2102,"type":15},{"name":2104,"slug":2105,"type":15},{"name":2107,"slug":2108,"type":15},{"name":2110,"slug":2111,"type":15},{"name":9,"slug":8,"type":15},{"slug":2115,"name":2115,"fn":2116,"description":2117,"org":2274,"tags":2275,"stars":23,"repoUrl":24,"updatedAt":2124},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2276,2277,2278,2279],{"name":2101,"slug":2102,"type":15},{"name":2087,"slug":2088,"type":15},{"name":2090,"slug":2091,"type":15},{"name":9,"slug":8,"type":15},{"slug":2126,"name":2126,"fn":2127,"description":2128,"org":2281,"tags":2282,"stars":23,"repoUrl":24,"updatedAt":2136},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2283,2284,2285],{"name":2101,"slug":2102,"type":15},{"name":2133,"slug":2134,"type":15},{"name":9,"slug":8,"type":15},{"slug":2138,"name":2138,"fn":2139,"description":2140,"org":2287,"tags":2288,"stars":23,"repoUrl":24,"updatedAt":2151},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2289,2290,2291,2292],{"name":2144,"slug":2145,"type":15},{"name":2147,"slug":2148,"type":15},{"name":2110,"slug":2111,"type":15},{"name":9,"slug":8,"type":15},{"slug":2153,"name":2153,"fn":2154,"description":2155,"org":2294,"tags":2295,"stars":23,"repoUrl":24,"updatedAt":2168},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2296,2297,2298,2299],{"name":2159,"slug":2160,"type":15},{"name":2162,"slug":2163,"type":15},{"name":2165,"slug":2166,"type":15},{"name":9,"slug":8,"type":15},{"slug":2170,"name":2170,"fn":2171,"description":2172,"org":2301,"tags":2302,"stars":23,"repoUrl":24,"updatedAt":2182},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2303,2304,2305,2306,2307],{"name":2147,"slug":2148,"type":15},{"name":2177,"slug":2178,"type":15},{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15}]