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