[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-twilio-messaging-services":3,"mdc-ksztmi-key":36,"related-org-openai-twilio-messaging-services":2473,"related-repo-openai-twilio-messaging-services":2680},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"twilio-messaging-services","configure Twilio Messaging Services","Create and configure Twilio Messaging Services for production messaging. Covers sender pools, geo-match, sticky sender, message scheduling, compliance toolkit, SMS pumping protection, link shortening, and intelligent alerts. Use this skill when setting up production-ready messaging infrastructure.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Compliance","compliance","tag",{"name":17,"slug":18,"type":15},"SMS","sms",{"name":20,"slug":21,"type":15},"Messaging","messaging",{"name":23,"slug":24,"type":15},"Twilio","twilio",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-06-30T19:00:57.102",null,465,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Ftwilio-developer-kit\u002Fskills\u002Ftwilio-messaging-services","---\nname: twilio-messaging-services\ndescription: >\n  Create and configure Twilio Messaging Services for production messaging.\n  Covers sender pools, geo-match, sticky sender, message scheduling,\n  compliance toolkit, SMS pumping protection, link shortening, and\n  intelligent alerts. Use this skill when setting up production-ready\n  messaging infrastructure.\n---\n\n## Overview\n\nA Messaging Service groups senders (phone numbers, short codes, toll-free numbers) with shared configuration. Send via `messagingServiceSid` instead of a specific `from` number — Twilio picks the best sender automatically.\n\n**Use a Messaging Service for all production sends.** Beyond sender pools, it unlocks compliance toolkit, SMS pumping protection, link shortening, message scheduling, and intelligent alerts. For channel selection guidance, see `twilio-messaging-overview`.\n\n---\n\n## Prerequisites\n\n- Twilio account with at least one SMS-capable phone number\n  — New to Twilio? See `twilio-account-setup`\n- Environment variables:\n  - `TWILIO_ACCOUNT_SID`\n  - `TWILIO_AUTH_TOKEN`\n  — See `twilio-iam-auth-setup` for credential setup and best practices\n- SDK: `pip install twilio` \u002F `npm install twilio`\n\n---\n\n## Quickstart\n\n**Python**\n```python\nimport os\nfrom twilio.rest import Client\n\nclient = Client(os.environ[\"TWILIO_ACCOUNT_SID\"], os.environ[\"TWILIO_AUTH_TOKEN\"])\n\n# Step 1: Create the service\nservice = client.messaging.v1.services.create(\n    friendly_name=\"Production Notifications Service\"\n)\nprint(service.sid)  # MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx — save as MESSAGING_SERVICE_SID\n\n# Step 2: Add a phone number\nclient.messaging.v1 \\\n    .services(service.sid) \\\n    .phone_numbers \\\n    .create(phone_number_sid=\"PNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n\n# Step 3: Send via the service\nmessage = client.messages.create(\n    messaging_service_sid=service.sid,\n    to=\"+15558675310\",\n    body=\"Your order has shipped.\"\n)\nprint(message.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\n\u002F\u002F Step 1: Create the service\nconst service = await client.messaging.v1.services.create({\n    friendlyName: \"Production Notifications Service\",\n});\nconsole.log(service.sid);\n\n\u002F\u002F Step 2: Add a phone number\nawait client.messaging.v1\n    .services(service.sid)\n    .phoneNumbers.create({ phoneNumberSid: \"PNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" });\n\n\u002F\u002F Step 3: Send via the service\nconst message = await client.messages.create({\n    messagingServiceSid: service.sid,\n    to: \"+15558675310\",\n    body: \"Your order has shipped.\",\n});\nconsole.log(message.sid);\n```\n\n---\n\n## Key Patterns\n\n### Create Service with Webhooks and Features\n\n**Python**\n```python\nservice = client.messaging.v1.services.create(\n    friendly_name=\"Marketing Campaigns\",\n    inbound_request_url=\"https:\u002F\u002Fyourapp.com\u002Fsms\u002Finbound\",\n    status_callback=\"https:\u002F\u002Fyourapp.com\u002Fsms\u002Fstatus\",\n    sticky_sender=True,\n    area_code_geomatch=True,\n    validity_period=14400\n)\n```\n\n**Node.js**\n```node\nconst service = await client.messaging.v1.services.create({\n    friendlyName: \"Marketing Campaigns\",\n    inboundRequestUrl: \"https:\u002F\u002Fyourapp.com\u002Fsms\u002Finbound\",\n    statusCallback: \"https:\u002F\u002Fyourapp.com\u002Fsms\u002Fstatus\",\n    stickySender: true,\n    areaCodeGeomatch: true,\n    validityPeriod: 14400,\n});\n```\n\n### Optional Features\n\n| Feature | Parameter | Description |\n|---------|-----------|-------------|\n| Sticky Sender | `sticky_sender` | Same sender for same recipient |\n| Area Code Geomatch | `area_code_geomatch` | Match sender area code to recipient |\n| Validity Period | `validity_period` | Discard undelivered messages after N seconds |\n| Smart Encoding | `smart_encoding` | Convert unicode to GSM-7 |\n| MMS Converter | `mms_converter` | Convert MMS to SMS if recipient can't receive MMS |\n| Message Scheduling | `send_at` on message | Schedule sends up to 7 days ahead (see below) |\n| Link Shortening | `shorten_urls` | Shorten links with branded domain + click tracking (see below) |\n\n### List Services and Numbers\n\n**Python**\n```python\nfor service in client.messaging.v1.services.list():\n    print(service.sid, service.friendly_name)\n\nfor number in client.messaging.v1.services(SERVICE_SID).phone_numbers.list():\n    print(number.sid, number.phone_number)\n```\n\n**Node.js**\n```node\nconst services = await client.messaging.v1.services.list();\nservices.forEach(s => console.log(s.sid, s.friendlyName));\n\nconst numbers = await client.messaging.v1.services(SERVICE_SID).phoneNumbers.list();\nnumbers.forEach(n => console.log(n.sid, n.phoneNumber));\n```\n\n---\n\n## Production Messaging Features\n\nThe features below are platform capabilities that are configured on or require a Messaging Service. They are separate from the sender pool management above.\n\n### Message Scheduling\n\nSchedule messages 15 minutes to 35 days in advance. Requires `messagingServiceSid` (not `from`). Supports SMS, MMS, RCS, and WhatsApp. No additional cost — only charged for messages actually sent.\n\n**Python**\n```python\nfrom datetime import datetime, timedelta, timezone\n\nmessage = client.messages.create(\n    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to=\"+15558675310\",\n    body=\"Your appointment is tomorrow at 2pm.\",\n    send_at=(datetime.now(timezone.utc) + timedelta(hours=24)).isoformat(),\n    schedule_type=\"fixed\"\n)\nprint(message.sid, message.status)  # SM..., scheduled\n```\n\n**Node.js**\n```javascript\nconst sendAt = new Date(Date.now() + 24 * 60 * 60 * 1000).toISOString();\nconst message = await client.messages.create({\n    messagingServiceSid: \"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to: \"+15558675310\",\n    body: \"Your appointment is tomorrow at 2pm.\",\n    sendAt,\n    scheduleType: \"fixed\",\n});\n```\n\nCancel a scheduled message before it sends:\n\n```python\nclient.messages(\"SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\").update(status=\"canceled\")\n```\n\n**Limitations:** Scheduled messages don't return a status callback event on creation. WhatsApp templates are validated at send time (not scheduling time) — non-compliant templates fail when `sendAt` fires. Opt-outs received after scheduling don't auto-cancel the message; cancel manually if needed.\n\n---\n\n### Compliance Toolkit (US SMS, Public Beta)\n\nAutomated compliance checks for US SMS. Enable in Console: Messaging > Settings > General > Enable Compliance Toolkit.\n\n| Feature | What it does | Error code | Default |\n|---------|-------------|-----------|---------|\n| **Quiet Hours** | Reschedules non-essential messages sent during TCPA restricted hours (9PM–8AM recipient local time). Uses area code for timezone. 11 states have stricter windows. | 30610 (if block mode) | Enabled (reschedule mode) |\n| **Reassigned Number Detection** | Checks FCC reassigned numbers database; re-checks every 30 days | 21610 | Enabled |\n| **TCPA Known Litigators** | Blocks non-essential messages to known litigator numbers; re-verifies weekly | 30640 | **Not enabled by default** — requires account rep activation |\n| **Opt-out Verification** | Blocks messages to users who replied STOP\u002FUNSUBSCRIBE\u002FEND\u002FQUIT\u002Fetc. | 21610 | Enabled |\n\n**AI\u002FML classification:** Compliance Toolkit uses ML to classify messages as essential (OTP, alerts, support) vs non-essential (marketing, promotions). Essential messages bypass quiet hours and litigator checks. Override the classification with `messageIntent`:\n\n**Python**\n```python\nmessage = client.messages.create(\n    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to=\"+15558675310\",\n    body=\"Your order shipped!\",\n    message_intent=\"confirm\",    # Override ML: mark as essential\u002Ftransactional\n    risk_check=\"enable\"          # Evaluate against all compliance checks\n)\n```\n\n**Consent Management API** — Programmatically track opt-in\u002Fopt-out\u002Fre-opt-in status per phone number across SMS\u002FMMS\u002FRCS. Supports bulk upsert. Use alongside Compliance Toolkit to maintain consent records.\n\n**Contact API** — Store recipient ZIP codes for more accurate quiet hours timezone inference (vs area code default).\n\n---\n\n### SMS Pumping Protection\n\nDetects and blocks artificial inflation of SMS traffic (toll fraud where bad actors trigger high volumes of messages to premium-rate numbers they control).\n\n**How it works:**\n- Combines behavioral analysis with known fraud scheme identification using Twilio's proprietary model\n- Analyzes: messages to regions known for pumping, countries with no prior sending history, patterns suggesting non-human behavior\n- Auto-blocks suspected pumping destinations — returns error **30450**\n- Enable in Console: Messaging > Settings > General > SMS Pumping Protection\n- **Free in US\u002FCanada**; other regions check SMS Pricing page\n\n**Per-message risk check:**\n\n**Python**\n```python\nmessage = client.messages.create(\n    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to=\"+15558675310\",\n    body=\"Your verification code is 123456.\",\n    risk_check=\"enable\"   # Assess pumping risk for this specific message\n)\n```\n\n**`riskCheck` parameter values:**\n- `enable` (default for OTP\u002F2FA messages): Apply SMS pumping protection\n- `disable`: Skip protection (use for marketing messages where false positives are costly)\n\n**Global Safe List API** — Whitelist phone numbers that bypass SMS Pumping Protection, Verify Fraud Guard, and other risk checks. Use for known-good customers and approved recipients.\n\n**False positives:** The ML model may occasionally flag legitimate users. If this happens: add to Global Safe List, switch to WhatsApp\u002FMessenger for those recipients, or contact Twilio Support.\n\n**Note:** This is separate from Verify Fraud Guard, which only protects Verify API sends. SMS Pumping Protection covers all Programmable Messaging sends through a Messaging Service.\n\n---\n\n### Link Shortening & Click Tracking\n\nAutomatically shorten URLs in message bodies using a branded domain, with click tracking.\n\n**Setup:**\n1. Configure a branded short domain in Console (e.g., `link.yourcompany.com`)\n2. Add DNS records as directed\n3. Enable `ShortenUrls: true` on your Messaging Service\n\n**Python**\n```python\nservice = client.messaging.v1.services(\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\").update(\n    shorten_urls=True\n)\n```\n\nOnce enabled, any URL in the message body is auto-shortened to your branded domain. Click events are delivered via status callback.\n\n- Links are retained for **90 days** after creation\n- Click tracking events appear in status callbacks alongside delivery events\n\n---\n\n### Intelligent Alerts\n\nML-based monitoring that detects unusual error patterns and alerts you before they become outages. This is an account-level feature (not per-service).\n\n**Monitors 5 error codes:**\n- 30001 (Queue overflow), 30005 (Unknown destination), 30006 (Landline or unreachable), 30007 (Carrier violation \u002F spam filter), 30008 (Unknown error)\n\n**How it works:**\n- Analyzes error patterns in 5-minute windows\n- Calculates impact score based on error volume and velocity\n- Classifies: **Urgent** (>0.80), **Important** (0.40–0.80), **Warning** (\u003C0.40)\n- Alerts via email or webhook\n\n**Free feature** — enable in Console > Messaging > Settings > Intelligent Alerts.\n\n---\n\n## CANNOT\n\n- **Cannot add a phone number to multiple Messaging Services** — A number belongs to one service at a time\n- **Cannot determine throughput from the API** — Throughput depends on number type (long code, short code, toll-free) and is not exposed programmatically\n- **Cannot schedule messages without a Messaging Service** — `sendAt` requires `messagingServiceSid`, not `from`. Must also set `schedule_type=\"fixed\"`\n- **Cannot schedule more than 35 days ahead** — Scheduling window is 15 minutes to 35 days\n- **Cannot use compliance toolkit outside the US** — Currently US SMS only, public beta\n- **Cannot use compliance toolkit without a Messaging Service** — Features are configured per service\n- **Cannot customize SMS pumping ML thresholds** — Auto-blocking sensitivity is not configurable; use Global Safe List to whitelist known-good prefixes\n- **Cannot use link shortening without a branded domain** — Must configure a custom short domain first; no default short domain provided\n- **Cannot use link shortening for WhatsApp** — Only available for SMS\u002FMMS\n- **Cannot customize intelligent alerts error code list** — Fixed to the 5 monitored error codes\n- **Messaging Services are required for US A2P 10DLC** — Campaign registration attaches to a Messaging Service\n- **Inbound routing is per-service, not per-number** — All inbound messages to numbers in the service go to `inbound_request_url`\n\n---\n\n## Next Steps\n\n- **Channel overview and onboarding guide:** `twilio-messaging-overview`\n- **US compliance for A2P traffic:** `twilio-compliance-onboarding`\n- **Send SMS:** `twilio-sms-send-message`\n- **Handle inbound SMS:** `twilio-messaging-webhooks`\n",{"data":37,"body":38},{"name":4,"description":6},{"type":39,"children":40},"root",[41,50,73,92,96,102,173,176,182,190,416,424,597,600,606,613,620,689,696,765,771,960,966,973,1019,1026,1072,1075,1081,1086,1091,1110,1117,1200,1207,1534,1539,1553,1571,1574,1580,1585,1723,1740,1747,1806,1816,1826,1829,1835,1840,1848,1886,1894,1901,1952,1966,1991,2001,2011,2021,2024,2030,2035,2043,2077,2084,2114,2119,2139,2142,2148,2153,2161,2169,2176,2220,2230,2233,2239,2395,2398,2404,2467],{"type":42,"tag":43,"props":44,"children":46},"element","h2",{"id":45},"overview",[47],{"type":48,"value":49},"text","Overview",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54,56,63,65,71],{"type":48,"value":55},"A Messaging Service groups senders (phone numbers, short codes, toll-free numbers) with shared configuration. Send via ",{"type":42,"tag":57,"props":58,"children":60},"code",{"className":59},[],[61],{"type":48,"value":62},"messagingServiceSid",{"type":48,"value":64}," instead of a specific ",{"type":42,"tag":57,"props":66,"children":68},{"className":67},[],[69],{"type":48,"value":70},"from",{"type":48,"value":72}," number — Twilio picks the best sender automatically.",{"type":42,"tag":51,"props":74,"children":75},{},[76,82,84,90],{"type":42,"tag":77,"props":78,"children":79},"strong",{},[80],{"type":48,"value":81},"Use a Messaging Service for all production sends.",{"type":48,"value":83}," Beyond sender pools, it unlocks compliance toolkit, SMS pumping protection, link shortening, message scheduling, and intelligent alerts. For channel selection guidance, see ",{"type":42,"tag":57,"props":85,"children":87},{"className":86},[],[88],{"type":48,"value":89},"twilio-messaging-overview",{"type":48,"value":91},".",{"type":42,"tag":93,"props":94,"children":95},"hr",{},[],{"type":42,"tag":43,"props":97,"children":99},{"id":98},"prerequisites",[100],{"type":48,"value":101},"Prerequisites",{"type":42,"tag":103,"props":104,"children":105},"ul",{},[106,118,154],{"type":42,"tag":107,"props":108,"children":109},"li",{},[110,112],{"type":48,"value":111},"Twilio account with at least one SMS-capable phone number\n— New to Twilio? See ",{"type":42,"tag":57,"props":113,"children":115},{"className":114},[],[116],{"type":48,"value":117},"twilio-account-setup",{"type":42,"tag":107,"props":119,"children":120},{},[121,123],{"type":48,"value":122},"Environment variables:\n",{"type":42,"tag":103,"props":124,"children":125},{},[126,135],{"type":42,"tag":107,"props":127,"children":128},{},[129],{"type":42,"tag":57,"props":130,"children":132},{"className":131},[],[133],{"type":48,"value":134},"TWILIO_ACCOUNT_SID",{"type":42,"tag":107,"props":136,"children":137},{},[138,144,146,152],{"type":42,"tag":57,"props":139,"children":141},{"className":140},[],[142],{"type":48,"value":143},"TWILIO_AUTH_TOKEN",{"type":48,"value":145},"\n— See ",{"type":42,"tag":57,"props":147,"children":149},{"className":148},[],[150],{"type":48,"value":151},"twilio-iam-auth-setup",{"type":48,"value":153}," for credential setup and best practices",{"type":42,"tag":107,"props":155,"children":156},{},[157,159,165,167],{"type":48,"value":158},"SDK: ",{"type":42,"tag":57,"props":160,"children":162},{"className":161},[],[163],{"type":48,"value":164},"pip install twilio",{"type":48,"value":166}," \u002F ",{"type":42,"tag":57,"props":168,"children":170},{"className":169},[],[171],{"type":48,"value":172},"npm install twilio",{"type":42,"tag":93,"props":174,"children":175},{},[],{"type":42,"tag":43,"props":177,"children":179},{"id":178},"quickstart",[180],{"type":48,"value":181},"Quickstart",{"type":42,"tag":51,"props":183,"children":184},{},[185],{"type":42,"tag":77,"props":186,"children":187},{},[188],{"type":48,"value":189},"Python",{"type":42,"tag":191,"props":192,"children":197},"pre",{"className":193,"code":194,"language":195,"meta":196,"style":196},"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\n# Step 1: Create the service\nservice = client.messaging.v1.services.create(\n    friendly_name=\"Production Notifications Service\"\n)\nprint(service.sid)  # MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx — save as MESSAGING_SERVICE_SID\n\n# Step 2: Add a phone number\nclient.messaging.v1 \\\n    .services(service.sid) \\\n    .phone_numbers \\\n    .create(phone_number_sid=\"PNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n\n# Step 3: Send via the service\nmessage = client.messages.create(\n    messaging_service_sid=service.sid,\n    to=\"+15558675310\",\n    body=\"Your order has shipped.\"\n)\nprint(message.sid)\n","python","",[198],{"type":42,"tag":57,"props":199,"children":200},{"__ignoreMap":196},[201,212,221,231,240,248,257,266,275,284,293,301,310,319,328,337,346,354,363,372,381,390,399,407],{"type":42,"tag":202,"props":203,"children":206},"span",{"class":204,"line":205},"line",1,[207],{"type":42,"tag":202,"props":208,"children":209},{},[210],{"type":48,"value":211},"import os\n",{"type":42,"tag":202,"props":213,"children":215},{"class":204,"line":214},2,[216],{"type":42,"tag":202,"props":217,"children":218},{},[219],{"type":48,"value":220},"from twilio.rest import Client\n",{"type":42,"tag":202,"props":222,"children":224},{"class":204,"line":223},3,[225],{"type":42,"tag":202,"props":226,"children":228},{"emptyLinePlaceholder":227},true,[229],{"type":48,"value":230},"\n",{"type":42,"tag":202,"props":232,"children":234},{"class":204,"line":233},4,[235],{"type":42,"tag":202,"props":236,"children":237},{},[238],{"type":48,"value":239},"client = Client(os.environ[\"TWILIO_ACCOUNT_SID\"], os.environ[\"TWILIO_AUTH_TOKEN\"])\n",{"type":42,"tag":202,"props":241,"children":243},{"class":204,"line":242},5,[244],{"type":42,"tag":202,"props":245,"children":246},{"emptyLinePlaceholder":227},[247],{"type":48,"value":230},{"type":42,"tag":202,"props":249,"children":251},{"class":204,"line":250},6,[252],{"type":42,"tag":202,"props":253,"children":254},{},[255],{"type":48,"value":256},"# Step 1: Create the service\n",{"type":42,"tag":202,"props":258,"children":260},{"class":204,"line":259},7,[261],{"type":42,"tag":202,"props":262,"children":263},{},[264],{"type":48,"value":265},"service = client.messaging.v1.services.create(\n",{"type":42,"tag":202,"props":267,"children":269},{"class":204,"line":268},8,[270],{"type":42,"tag":202,"props":271,"children":272},{},[273],{"type":48,"value":274},"    friendly_name=\"Production Notifications Service\"\n",{"type":42,"tag":202,"props":276,"children":278},{"class":204,"line":277},9,[279],{"type":42,"tag":202,"props":280,"children":281},{},[282],{"type":48,"value":283},")\n",{"type":42,"tag":202,"props":285,"children":287},{"class":204,"line":286},10,[288],{"type":42,"tag":202,"props":289,"children":290},{},[291],{"type":48,"value":292},"print(service.sid)  # MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx — save as MESSAGING_SERVICE_SID\n",{"type":42,"tag":202,"props":294,"children":296},{"class":204,"line":295},11,[297],{"type":42,"tag":202,"props":298,"children":299},{"emptyLinePlaceholder":227},[300],{"type":48,"value":230},{"type":42,"tag":202,"props":302,"children":304},{"class":204,"line":303},12,[305],{"type":42,"tag":202,"props":306,"children":307},{},[308],{"type":48,"value":309},"# Step 2: Add a phone number\n",{"type":42,"tag":202,"props":311,"children":313},{"class":204,"line":312},13,[314],{"type":42,"tag":202,"props":315,"children":316},{},[317],{"type":48,"value":318},"client.messaging.v1 \\\n",{"type":42,"tag":202,"props":320,"children":322},{"class":204,"line":321},14,[323],{"type":42,"tag":202,"props":324,"children":325},{},[326],{"type":48,"value":327},"    .services(service.sid) \\\n",{"type":42,"tag":202,"props":329,"children":331},{"class":204,"line":330},15,[332],{"type":42,"tag":202,"props":333,"children":334},{},[335],{"type":48,"value":336},"    .phone_numbers \\\n",{"type":42,"tag":202,"props":338,"children":340},{"class":204,"line":339},16,[341],{"type":42,"tag":202,"props":342,"children":343},{},[344],{"type":48,"value":345},"    .create(phone_number_sid=\"PNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\")\n",{"type":42,"tag":202,"props":347,"children":349},{"class":204,"line":348},17,[350],{"type":42,"tag":202,"props":351,"children":352},{"emptyLinePlaceholder":227},[353],{"type":48,"value":230},{"type":42,"tag":202,"props":355,"children":357},{"class":204,"line":356},18,[358],{"type":42,"tag":202,"props":359,"children":360},{},[361],{"type":48,"value":362},"# Step 3: Send via the service\n",{"type":42,"tag":202,"props":364,"children":366},{"class":204,"line":365},19,[367],{"type":42,"tag":202,"props":368,"children":369},{},[370],{"type":48,"value":371},"message = client.messages.create(\n",{"type":42,"tag":202,"props":373,"children":375},{"class":204,"line":374},20,[376],{"type":42,"tag":202,"props":377,"children":378},{},[379],{"type":48,"value":380},"    messaging_service_sid=service.sid,\n",{"type":42,"tag":202,"props":382,"children":384},{"class":204,"line":383},21,[385],{"type":42,"tag":202,"props":386,"children":387},{},[388],{"type":48,"value":389},"    to=\"+15558675310\",\n",{"type":42,"tag":202,"props":391,"children":393},{"class":204,"line":392},22,[394],{"type":42,"tag":202,"props":395,"children":396},{},[397],{"type":48,"value":398},"    body=\"Your order has shipped.\"\n",{"type":42,"tag":202,"props":400,"children":402},{"class":204,"line":401},23,[403],{"type":42,"tag":202,"props":404,"children":405},{},[406],{"type":48,"value":283},{"type":42,"tag":202,"props":408,"children":410},{"class":204,"line":409},24,[411],{"type":42,"tag":202,"props":412,"children":413},{},[414],{"type":48,"value":415},"print(message.sid)\n",{"type":42,"tag":51,"props":417,"children":418},{},[419],{"type":42,"tag":77,"props":420,"children":421},{},[422],{"type":48,"value":423},"Node.js",{"type":42,"tag":191,"props":425,"children":429},{"className":426,"code":427,"language":428,"meta":196,"style":196},"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\n\u002F\u002F Step 1: Create the service\nconst service = await client.messaging.v1.services.create({\n    friendlyName: \"Production Notifications Service\",\n});\nconsole.log(service.sid);\n\n\u002F\u002F Step 2: Add a phone number\nawait client.messaging.v1\n    .services(service.sid)\n    .phoneNumbers.create({ phoneNumberSid: \"PNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" });\n\n\u002F\u002F Step 3: Send via the service\nconst message = await client.messages.create({\n    messagingServiceSid: service.sid,\n    to: \"+15558675310\",\n    body: \"Your order has shipped.\",\n});\nconsole.log(message.sid);\n","node",[430],{"type":42,"tag":57,"props":431,"children":432},{"__ignoreMap":196},[433,441,449,456,464,472,480,488,496,503,511,519,527,535,542,550,558,566,574,582,589],{"type":42,"tag":202,"props":434,"children":435},{"class":204,"line":205},[436],{"type":42,"tag":202,"props":437,"children":438},{},[439],{"type":48,"value":440},"const twilio = require(\"twilio\");\n",{"type":42,"tag":202,"props":442,"children":443},{"class":204,"line":214},[444],{"type":42,"tag":202,"props":445,"children":446},{},[447],{"type":48,"value":448},"const client = twilio(process.env.TWILIO_ACCOUNT_SID, process.env.TWILIO_AUTH_TOKEN);\n",{"type":42,"tag":202,"props":450,"children":451},{"class":204,"line":223},[452],{"type":42,"tag":202,"props":453,"children":454},{"emptyLinePlaceholder":227},[455],{"type":48,"value":230},{"type":42,"tag":202,"props":457,"children":458},{"class":204,"line":233},[459],{"type":42,"tag":202,"props":460,"children":461},{},[462],{"type":48,"value":463},"\u002F\u002F Step 1: Create the service\n",{"type":42,"tag":202,"props":465,"children":466},{"class":204,"line":242},[467],{"type":42,"tag":202,"props":468,"children":469},{},[470],{"type":48,"value":471},"const service = await client.messaging.v1.services.create({\n",{"type":42,"tag":202,"props":473,"children":474},{"class":204,"line":250},[475],{"type":42,"tag":202,"props":476,"children":477},{},[478],{"type":48,"value":479},"    friendlyName: \"Production Notifications Service\",\n",{"type":42,"tag":202,"props":481,"children":482},{"class":204,"line":259},[483],{"type":42,"tag":202,"props":484,"children":485},{},[486],{"type":48,"value":487},"});\n",{"type":42,"tag":202,"props":489,"children":490},{"class":204,"line":268},[491],{"type":42,"tag":202,"props":492,"children":493},{},[494],{"type":48,"value":495},"console.log(service.sid);\n",{"type":42,"tag":202,"props":497,"children":498},{"class":204,"line":277},[499],{"type":42,"tag":202,"props":500,"children":501},{"emptyLinePlaceholder":227},[502],{"type":48,"value":230},{"type":42,"tag":202,"props":504,"children":505},{"class":204,"line":286},[506],{"type":42,"tag":202,"props":507,"children":508},{},[509],{"type":48,"value":510},"\u002F\u002F Step 2: Add a phone number\n",{"type":42,"tag":202,"props":512,"children":513},{"class":204,"line":295},[514],{"type":42,"tag":202,"props":515,"children":516},{},[517],{"type":48,"value":518},"await client.messaging.v1\n",{"type":42,"tag":202,"props":520,"children":521},{"class":204,"line":303},[522],{"type":42,"tag":202,"props":523,"children":524},{},[525],{"type":48,"value":526},"    .services(service.sid)\n",{"type":42,"tag":202,"props":528,"children":529},{"class":204,"line":312},[530],{"type":42,"tag":202,"props":531,"children":532},{},[533],{"type":48,"value":534},"    .phoneNumbers.create({ phoneNumberSid: \"PNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" });\n",{"type":42,"tag":202,"props":536,"children":537},{"class":204,"line":321},[538],{"type":42,"tag":202,"props":539,"children":540},{"emptyLinePlaceholder":227},[541],{"type":48,"value":230},{"type":42,"tag":202,"props":543,"children":544},{"class":204,"line":330},[545],{"type":42,"tag":202,"props":546,"children":547},{},[548],{"type":48,"value":549},"\u002F\u002F Step 3: Send via the service\n",{"type":42,"tag":202,"props":551,"children":552},{"class":204,"line":339},[553],{"type":42,"tag":202,"props":554,"children":555},{},[556],{"type":48,"value":557},"const message = await client.messages.create({\n",{"type":42,"tag":202,"props":559,"children":560},{"class":204,"line":348},[561],{"type":42,"tag":202,"props":562,"children":563},{},[564],{"type":48,"value":565},"    messagingServiceSid: service.sid,\n",{"type":42,"tag":202,"props":567,"children":568},{"class":204,"line":356},[569],{"type":42,"tag":202,"props":570,"children":571},{},[572],{"type":48,"value":573},"    to: \"+15558675310\",\n",{"type":42,"tag":202,"props":575,"children":576},{"class":204,"line":365},[577],{"type":42,"tag":202,"props":578,"children":579},{},[580],{"type":48,"value":581},"    body: \"Your order has shipped.\",\n",{"type":42,"tag":202,"props":583,"children":584},{"class":204,"line":374},[585],{"type":42,"tag":202,"props":586,"children":587},{},[588],{"type":48,"value":487},{"type":42,"tag":202,"props":590,"children":591},{"class":204,"line":383},[592],{"type":42,"tag":202,"props":593,"children":594},{},[595],{"type":48,"value":596},"console.log(message.sid);\n",{"type":42,"tag":93,"props":598,"children":599},{},[],{"type":42,"tag":43,"props":601,"children":603},{"id":602},"key-patterns",[604],{"type":48,"value":605},"Key Patterns",{"type":42,"tag":607,"props":608,"children":610},"h3",{"id":609},"create-service-with-webhooks-and-features",[611],{"type":48,"value":612},"Create Service with Webhooks and Features",{"type":42,"tag":51,"props":614,"children":615},{},[616],{"type":42,"tag":77,"props":617,"children":618},{},[619],{"type":48,"value":189},{"type":42,"tag":191,"props":621,"children":623},{"className":193,"code":622,"language":195,"meta":196,"style":196},"service = client.messaging.v1.services.create(\n    friendly_name=\"Marketing Campaigns\",\n    inbound_request_url=\"https:\u002F\u002Fyourapp.com\u002Fsms\u002Finbound\",\n    status_callback=\"https:\u002F\u002Fyourapp.com\u002Fsms\u002Fstatus\",\n    sticky_sender=True,\n    area_code_geomatch=True,\n    validity_period=14400\n)\n",[624],{"type":42,"tag":57,"props":625,"children":626},{"__ignoreMap":196},[627,634,642,650,658,666,674,682],{"type":42,"tag":202,"props":628,"children":629},{"class":204,"line":205},[630],{"type":42,"tag":202,"props":631,"children":632},{},[633],{"type":48,"value":265},{"type":42,"tag":202,"props":635,"children":636},{"class":204,"line":214},[637],{"type":42,"tag":202,"props":638,"children":639},{},[640],{"type":48,"value":641},"    friendly_name=\"Marketing Campaigns\",\n",{"type":42,"tag":202,"props":643,"children":644},{"class":204,"line":223},[645],{"type":42,"tag":202,"props":646,"children":647},{},[648],{"type":48,"value":649},"    inbound_request_url=\"https:\u002F\u002Fyourapp.com\u002Fsms\u002Finbound\",\n",{"type":42,"tag":202,"props":651,"children":652},{"class":204,"line":233},[653],{"type":42,"tag":202,"props":654,"children":655},{},[656],{"type":48,"value":657},"    status_callback=\"https:\u002F\u002Fyourapp.com\u002Fsms\u002Fstatus\",\n",{"type":42,"tag":202,"props":659,"children":660},{"class":204,"line":242},[661],{"type":42,"tag":202,"props":662,"children":663},{},[664],{"type":48,"value":665},"    sticky_sender=True,\n",{"type":42,"tag":202,"props":667,"children":668},{"class":204,"line":250},[669],{"type":42,"tag":202,"props":670,"children":671},{},[672],{"type":48,"value":673},"    area_code_geomatch=True,\n",{"type":42,"tag":202,"props":675,"children":676},{"class":204,"line":259},[677],{"type":42,"tag":202,"props":678,"children":679},{},[680],{"type":48,"value":681},"    validity_period=14400\n",{"type":42,"tag":202,"props":683,"children":684},{"class":204,"line":268},[685],{"type":42,"tag":202,"props":686,"children":687},{},[688],{"type":48,"value":283},{"type":42,"tag":51,"props":690,"children":691},{},[692],{"type":42,"tag":77,"props":693,"children":694},{},[695],{"type":48,"value":423},{"type":42,"tag":191,"props":697,"children":699},{"className":426,"code":698,"language":428,"meta":196,"style":196},"const service = await client.messaging.v1.services.create({\n    friendlyName: \"Marketing Campaigns\",\n    inboundRequestUrl: \"https:\u002F\u002Fyourapp.com\u002Fsms\u002Finbound\",\n    statusCallback: \"https:\u002F\u002Fyourapp.com\u002Fsms\u002Fstatus\",\n    stickySender: true,\n    areaCodeGeomatch: true,\n    validityPeriod: 14400,\n});\n",[700],{"type":42,"tag":57,"props":701,"children":702},{"__ignoreMap":196},[703,710,718,726,734,742,750,758],{"type":42,"tag":202,"props":704,"children":705},{"class":204,"line":205},[706],{"type":42,"tag":202,"props":707,"children":708},{},[709],{"type":48,"value":471},{"type":42,"tag":202,"props":711,"children":712},{"class":204,"line":214},[713],{"type":42,"tag":202,"props":714,"children":715},{},[716],{"type":48,"value":717},"    friendlyName: \"Marketing Campaigns\",\n",{"type":42,"tag":202,"props":719,"children":720},{"class":204,"line":223},[721],{"type":42,"tag":202,"props":722,"children":723},{},[724],{"type":48,"value":725},"    inboundRequestUrl: \"https:\u002F\u002Fyourapp.com\u002Fsms\u002Finbound\",\n",{"type":42,"tag":202,"props":727,"children":728},{"class":204,"line":233},[729],{"type":42,"tag":202,"props":730,"children":731},{},[732],{"type":48,"value":733},"    statusCallback: \"https:\u002F\u002Fyourapp.com\u002Fsms\u002Fstatus\",\n",{"type":42,"tag":202,"props":735,"children":736},{"class":204,"line":242},[737],{"type":42,"tag":202,"props":738,"children":739},{},[740],{"type":48,"value":741},"    stickySender: true,\n",{"type":42,"tag":202,"props":743,"children":744},{"class":204,"line":250},[745],{"type":42,"tag":202,"props":746,"children":747},{},[748],{"type":48,"value":749},"    areaCodeGeomatch: true,\n",{"type":42,"tag":202,"props":751,"children":752},{"class":204,"line":259},[753],{"type":42,"tag":202,"props":754,"children":755},{},[756],{"type":48,"value":757},"    validityPeriod: 14400,\n",{"type":42,"tag":202,"props":759,"children":760},{"class":204,"line":268},[761],{"type":42,"tag":202,"props":762,"children":763},{},[764],{"type":48,"value":487},{"type":42,"tag":607,"props":766,"children":768},{"id":767},"optional-features",[769],{"type":48,"value":770},"Optional Features",{"type":42,"tag":772,"props":773,"children":774},"table",{},[775,799],{"type":42,"tag":776,"props":777,"children":778},"thead",{},[779],{"type":42,"tag":780,"props":781,"children":782},"tr",{},[783,789,794],{"type":42,"tag":784,"props":785,"children":786},"th",{},[787],{"type":48,"value":788},"Feature",{"type":42,"tag":784,"props":790,"children":791},{},[792],{"type":48,"value":793},"Parameter",{"type":42,"tag":784,"props":795,"children":796},{},[797],{"type":48,"value":798},"Description",{"type":42,"tag":800,"props":801,"children":802},"tbody",{},[803,826,848,870,892,914,938],{"type":42,"tag":780,"props":804,"children":805},{},[806,812,821],{"type":42,"tag":807,"props":808,"children":809},"td",{},[810],{"type":48,"value":811},"Sticky Sender",{"type":42,"tag":807,"props":813,"children":814},{},[815],{"type":42,"tag":57,"props":816,"children":818},{"className":817},[],[819],{"type":48,"value":820},"sticky_sender",{"type":42,"tag":807,"props":822,"children":823},{},[824],{"type":48,"value":825},"Same sender for same recipient",{"type":42,"tag":780,"props":827,"children":828},{},[829,834,843],{"type":42,"tag":807,"props":830,"children":831},{},[832],{"type":48,"value":833},"Area Code Geomatch",{"type":42,"tag":807,"props":835,"children":836},{},[837],{"type":42,"tag":57,"props":838,"children":840},{"className":839},[],[841],{"type":48,"value":842},"area_code_geomatch",{"type":42,"tag":807,"props":844,"children":845},{},[846],{"type":48,"value":847},"Match sender area code to recipient",{"type":42,"tag":780,"props":849,"children":850},{},[851,856,865],{"type":42,"tag":807,"props":852,"children":853},{},[854],{"type":48,"value":855},"Validity Period",{"type":42,"tag":807,"props":857,"children":858},{},[859],{"type":42,"tag":57,"props":860,"children":862},{"className":861},[],[863],{"type":48,"value":864},"validity_period",{"type":42,"tag":807,"props":866,"children":867},{},[868],{"type":48,"value":869},"Discard undelivered messages after N seconds",{"type":42,"tag":780,"props":871,"children":872},{},[873,878,887],{"type":42,"tag":807,"props":874,"children":875},{},[876],{"type":48,"value":877},"Smart Encoding",{"type":42,"tag":807,"props":879,"children":880},{},[881],{"type":42,"tag":57,"props":882,"children":884},{"className":883},[],[885],{"type":48,"value":886},"smart_encoding",{"type":42,"tag":807,"props":888,"children":889},{},[890],{"type":48,"value":891},"Convert unicode to GSM-7",{"type":42,"tag":780,"props":893,"children":894},{},[895,900,909],{"type":42,"tag":807,"props":896,"children":897},{},[898],{"type":48,"value":899},"MMS Converter",{"type":42,"tag":807,"props":901,"children":902},{},[903],{"type":42,"tag":57,"props":904,"children":906},{"className":905},[],[907],{"type":48,"value":908},"mms_converter",{"type":42,"tag":807,"props":910,"children":911},{},[912],{"type":48,"value":913},"Convert MMS to SMS if recipient can't receive MMS",{"type":42,"tag":780,"props":915,"children":916},{},[917,922,933],{"type":42,"tag":807,"props":918,"children":919},{},[920],{"type":48,"value":921},"Message Scheduling",{"type":42,"tag":807,"props":923,"children":924},{},[925,931],{"type":42,"tag":57,"props":926,"children":928},{"className":927},[],[929],{"type":48,"value":930},"send_at",{"type":48,"value":932}," on message",{"type":42,"tag":807,"props":934,"children":935},{},[936],{"type":48,"value":937},"Schedule sends up to 7 days ahead (see below)",{"type":42,"tag":780,"props":939,"children":940},{},[941,946,955],{"type":42,"tag":807,"props":942,"children":943},{},[944],{"type":48,"value":945},"Link Shortening",{"type":42,"tag":807,"props":947,"children":948},{},[949],{"type":42,"tag":57,"props":950,"children":952},{"className":951},[],[953],{"type":48,"value":954},"shorten_urls",{"type":42,"tag":807,"props":956,"children":957},{},[958],{"type":48,"value":959},"Shorten links with branded domain + click tracking (see below)",{"type":42,"tag":607,"props":961,"children":963},{"id":962},"list-services-and-numbers",[964],{"type":48,"value":965},"List Services and Numbers",{"type":42,"tag":51,"props":967,"children":968},{},[969],{"type":42,"tag":77,"props":970,"children":971},{},[972],{"type":48,"value":189},{"type":42,"tag":191,"props":974,"children":976},{"className":193,"code":975,"language":195,"meta":196,"style":196},"for service in client.messaging.v1.services.list():\n    print(service.sid, service.friendly_name)\n\nfor number in client.messaging.v1.services(SERVICE_SID).phone_numbers.list():\n    print(number.sid, number.phone_number)\n",[977],{"type":42,"tag":57,"props":978,"children":979},{"__ignoreMap":196},[980,988,996,1003,1011],{"type":42,"tag":202,"props":981,"children":982},{"class":204,"line":205},[983],{"type":42,"tag":202,"props":984,"children":985},{},[986],{"type":48,"value":987},"for service in client.messaging.v1.services.list():\n",{"type":42,"tag":202,"props":989,"children":990},{"class":204,"line":214},[991],{"type":42,"tag":202,"props":992,"children":993},{},[994],{"type":48,"value":995},"    print(service.sid, service.friendly_name)\n",{"type":42,"tag":202,"props":997,"children":998},{"class":204,"line":223},[999],{"type":42,"tag":202,"props":1000,"children":1001},{"emptyLinePlaceholder":227},[1002],{"type":48,"value":230},{"type":42,"tag":202,"props":1004,"children":1005},{"class":204,"line":233},[1006],{"type":42,"tag":202,"props":1007,"children":1008},{},[1009],{"type":48,"value":1010},"for number in client.messaging.v1.services(SERVICE_SID).phone_numbers.list():\n",{"type":42,"tag":202,"props":1012,"children":1013},{"class":204,"line":242},[1014],{"type":42,"tag":202,"props":1015,"children":1016},{},[1017],{"type":48,"value":1018},"    print(number.sid, number.phone_number)\n",{"type":42,"tag":51,"props":1020,"children":1021},{},[1022],{"type":42,"tag":77,"props":1023,"children":1024},{},[1025],{"type":48,"value":423},{"type":42,"tag":191,"props":1027,"children":1029},{"className":426,"code":1028,"language":428,"meta":196,"style":196},"const services = await client.messaging.v1.services.list();\nservices.forEach(s => console.log(s.sid, s.friendlyName));\n\nconst numbers = await client.messaging.v1.services(SERVICE_SID).phoneNumbers.list();\nnumbers.forEach(n => console.log(n.sid, n.phoneNumber));\n",[1030],{"type":42,"tag":57,"props":1031,"children":1032},{"__ignoreMap":196},[1033,1041,1049,1056,1064],{"type":42,"tag":202,"props":1034,"children":1035},{"class":204,"line":205},[1036],{"type":42,"tag":202,"props":1037,"children":1038},{},[1039],{"type":48,"value":1040},"const services = await client.messaging.v1.services.list();\n",{"type":42,"tag":202,"props":1042,"children":1043},{"class":204,"line":214},[1044],{"type":42,"tag":202,"props":1045,"children":1046},{},[1047],{"type":48,"value":1048},"services.forEach(s => console.log(s.sid, s.friendlyName));\n",{"type":42,"tag":202,"props":1050,"children":1051},{"class":204,"line":223},[1052],{"type":42,"tag":202,"props":1053,"children":1054},{"emptyLinePlaceholder":227},[1055],{"type":48,"value":230},{"type":42,"tag":202,"props":1057,"children":1058},{"class":204,"line":233},[1059],{"type":42,"tag":202,"props":1060,"children":1061},{},[1062],{"type":48,"value":1063},"const numbers = await client.messaging.v1.services(SERVICE_SID).phoneNumbers.list();\n",{"type":42,"tag":202,"props":1065,"children":1066},{"class":204,"line":242},[1067],{"type":42,"tag":202,"props":1068,"children":1069},{},[1070],{"type":48,"value":1071},"numbers.forEach(n => console.log(n.sid, n.phoneNumber));\n",{"type":42,"tag":93,"props":1073,"children":1074},{},[],{"type":42,"tag":43,"props":1076,"children":1078},{"id":1077},"production-messaging-features",[1079],{"type":48,"value":1080},"Production Messaging Features",{"type":42,"tag":51,"props":1082,"children":1083},{},[1084],{"type":48,"value":1085},"The features below are platform capabilities that are configured on or require a Messaging Service. They are separate from the sender pool management above.",{"type":42,"tag":607,"props":1087,"children":1089},{"id":1088},"message-scheduling",[1090],{"type":48,"value":921},{"type":42,"tag":51,"props":1092,"children":1093},{},[1094,1096,1101,1103,1108],{"type":48,"value":1095},"Schedule messages 15 minutes to 35 days in advance. Requires ",{"type":42,"tag":57,"props":1097,"children":1099},{"className":1098},[],[1100],{"type":48,"value":62},{"type":48,"value":1102}," (not ",{"type":42,"tag":57,"props":1104,"children":1106},{"className":1105},[],[1107],{"type":48,"value":70},{"type":48,"value":1109},"). Supports SMS, MMS, RCS, and WhatsApp. No additional cost — only charged for messages actually sent.",{"type":42,"tag":51,"props":1111,"children":1112},{},[1113],{"type":42,"tag":77,"props":1114,"children":1115},{},[1116],{"type":48,"value":189},{"type":42,"tag":191,"props":1118,"children":1120},{"className":193,"code":1119,"language":195,"meta":196,"style":196},"from datetime import datetime, timedelta, timezone\n\nmessage = client.messages.create(\n    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to=\"+15558675310\",\n    body=\"Your appointment is tomorrow at 2pm.\",\n    send_at=(datetime.now(timezone.utc) + timedelta(hours=24)).isoformat(),\n    schedule_type=\"fixed\"\n)\nprint(message.sid, message.status)  # SM..., scheduled\n",[1121],{"type":42,"tag":57,"props":1122,"children":1123},{"__ignoreMap":196},[1124,1132,1139,1146,1154,1161,1169,1177,1185,1192],{"type":42,"tag":202,"props":1125,"children":1126},{"class":204,"line":205},[1127],{"type":42,"tag":202,"props":1128,"children":1129},{},[1130],{"type":48,"value":1131},"from datetime import datetime, timedelta, timezone\n",{"type":42,"tag":202,"props":1133,"children":1134},{"class":204,"line":214},[1135],{"type":42,"tag":202,"props":1136,"children":1137},{"emptyLinePlaceholder":227},[1138],{"type":48,"value":230},{"type":42,"tag":202,"props":1140,"children":1141},{"class":204,"line":223},[1142],{"type":42,"tag":202,"props":1143,"children":1144},{},[1145],{"type":48,"value":371},{"type":42,"tag":202,"props":1147,"children":1148},{"class":204,"line":233},[1149],{"type":42,"tag":202,"props":1150,"children":1151},{},[1152],{"type":48,"value":1153},"    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n",{"type":42,"tag":202,"props":1155,"children":1156},{"class":204,"line":242},[1157],{"type":42,"tag":202,"props":1158,"children":1159},{},[1160],{"type":48,"value":389},{"type":42,"tag":202,"props":1162,"children":1163},{"class":204,"line":250},[1164],{"type":42,"tag":202,"props":1165,"children":1166},{},[1167],{"type":48,"value":1168},"    body=\"Your appointment is tomorrow at 2pm.\",\n",{"type":42,"tag":202,"props":1170,"children":1171},{"class":204,"line":259},[1172],{"type":42,"tag":202,"props":1173,"children":1174},{},[1175],{"type":48,"value":1176},"    send_at=(datetime.now(timezone.utc) + timedelta(hours=24)).isoformat(),\n",{"type":42,"tag":202,"props":1178,"children":1179},{"class":204,"line":268},[1180],{"type":42,"tag":202,"props":1181,"children":1182},{},[1183],{"type":48,"value":1184},"    schedule_type=\"fixed\"\n",{"type":42,"tag":202,"props":1186,"children":1187},{"class":204,"line":277},[1188],{"type":42,"tag":202,"props":1189,"children":1190},{},[1191],{"type":48,"value":283},{"type":42,"tag":202,"props":1193,"children":1194},{"class":204,"line":286},[1195],{"type":42,"tag":202,"props":1196,"children":1197},{},[1198],{"type":48,"value":1199},"print(message.sid, message.status)  # SM..., scheduled\n",{"type":42,"tag":51,"props":1201,"children":1202},{},[1203],{"type":42,"tag":77,"props":1204,"children":1205},{},[1206],{"type":48,"value":423},{"type":42,"tag":191,"props":1208,"children":1212},{"className":1209,"code":1210,"language":1211,"meta":196,"style":196},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const sendAt = new Date(Date.now() + 24 * 60 * 60 * 1000).toISOString();\nconst message = await client.messages.create({\n    messagingServiceSid: \"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to: \"+15558675310\",\n    body: \"Your appointment is tomorrow at 2pm.\",\n    sendAt,\n    scheduleType: \"fixed\",\n});\n","javascript",[1213],{"type":42,"tag":57,"props":1214,"children":1215},{"__ignoreMap":196},[1216,1329,1384,1419,1448,1477,1489,1518],{"type":42,"tag":202,"props":1217,"children":1218},{"class":204,"line":205},[1219,1225,1231,1237,1242,1248,1253,1257,1262,1267,1272,1278,1283,1288,1292,1296,1300,1305,1310,1314,1319,1324],{"type":42,"tag":202,"props":1220,"children":1222},{"style":1221},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1223],{"type":48,"value":1224},"const",{"type":42,"tag":202,"props":1226,"children":1228},{"style":1227},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1229],{"type":48,"value":1230}," sendAt ",{"type":42,"tag":202,"props":1232,"children":1234},{"style":1233},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1235],{"type":48,"value":1236},"=",{"type":42,"tag":202,"props":1238,"children":1239},{"style":1233},[1240],{"type":48,"value":1241}," new",{"type":42,"tag":202,"props":1243,"children":1245},{"style":1244},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1246],{"type":48,"value":1247}," Date",{"type":42,"tag":202,"props":1249,"children":1250},{"style":1227},[1251],{"type":48,"value":1252},"(Date",{"type":42,"tag":202,"props":1254,"children":1255},{"style":1233},[1256],{"type":48,"value":91},{"type":42,"tag":202,"props":1258,"children":1259},{"style":1244},[1260],{"type":48,"value":1261},"now",{"type":42,"tag":202,"props":1263,"children":1264},{"style":1227},[1265],{"type":48,"value":1266},"() ",{"type":42,"tag":202,"props":1268,"children":1269},{"style":1233},[1270],{"type":48,"value":1271},"+",{"type":42,"tag":202,"props":1273,"children":1275},{"style":1274},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1276],{"type":48,"value":1277}," 24",{"type":42,"tag":202,"props":1279,"children":1280},{"style":1233},[1281],{"type":48,"value":1282}," *",{"type":42,"tag":202,"props":1284,"children":1285},{"style":1274},[1286],{"type":48,"value":1287}," 60",{"type":42,"tag":202,"props":1289,"children":1290},{"style":1233},[1291],{"type":48,"value":1282},{"type":42,"tag":202,"props":1293,"children":1294},{"style":1274},[1295],{"type":48,"value":1287},{"type":42,"tag":202,"props":1297,"children":1298},{"style":1233},[1299],{"type":48,"value":1282},{"type":42,"tag":202,"props":1301,"children":1302},{"style":1274},[1303],{"type":48,"value":1304}," 1000",{"type":42,"tag":202,"props":1306,"children":1307},{"style":1227},[1308],{"type":48,"value":1309},")",{"type":42,"tag":202,"props":1311,"children":1312},{"style":1233},[1313],{"type":48,"value":91},{"type":42,"tag":202,"props":1315,"children":1316},{"style":1244},[1317],{"type":48,"value":1318},"toISOString",{"type":42,"tag":202,"props":1320,"children":1321},{"style":1227},[1322],{"type":48,"value":1323},"()",{"type":42,"tag":202,"props":1325,"children":1326},{"style":1233},[1327],{"type":48,"value":1328},";\n",{"type":42,"tag":202,"props":1330,"children":1331},{"class":204,"line":214},[1332,1336,1341,1345,1351,1356,1360,1365,1369,1374,1379],{"type":42,"tag":202,"props":1333,"children":1334},{"style":1221},[1335],{"type":48,"value":1224},{"type":42,"tag":202,"props":1337,"children":1338},{"style":1227},[1339],{"type":48,"value":1340}," message ",{"type":42,"tag":202,"props":1342,"children":1343},{"style":1233},[1344],{"type":48,"value":1236},{"type":42,"tag":202,"props":1346,"children":1348},{"style":1347},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1349],{"type":48,"value":1350}," await",{"type":42,"tag":202,"props":1352,"children":1353},{"style":1227},[1354],{"type":48,"value":1355}," client",{"type":42,"tag":202,"props":1357,"children":1358},{"style":1233},[1359],{"type":48,"value":91},{"type":42,"tag":202,"props":1361,"children":1362},{"style":1227},[1363],{"type":48,"value":1364},"messages",{"type":42,"tag":202,"props":1366,"children":1367},{"style":1233},[1368],{"type":48,"value":91},{"type":42,"tag":202,"props":1370,"children":1371},{"style":1244},[1372],{"type":48,"value":1373},"create",{"type":42,"tag":202,"props":1375,"children":1376},{"style":1227},[1377],{"type":48,"value":1378},"(",{"type":42,"tag":202,"props":1380,"children":1381},{"style":1233},[1382],{"type":48,"value":1383},"{\n",{"type":42,"tag":202,"props":1385,"children":1386},{"class":204,"line":223},[1387,1393,1398,1403,1409,1414],{"type":42,"tag":202,"props":1388,"children":1390},{"style":1389},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1391],{"type":48,"value":1392},"    messagingServiceSid",{"type":42,"tag":202,"props":1394,"children":1395},{"style":1233},[1396],{"type":48,"value":1397},":",{"type":42,"tag":202,"props":1399,"children":1400},{"style":1233},[1401],{"type":48,"value":1402}," \"",{"type":42,"tag":202,"props":1404,"children":1406},{"style":1405},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[1407],{"type":48,"value":1408},"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",{"type":42,"tag":202,"props":1410,"children":1411},{"style":1233},[1412],{"type":48,"value":1413},"\"",{"type":42,"tag":202,"props":1415,"children":1416},{"style":1233},[1417],{"type":48,"value":1418},",\n",{"type":42,"tag":202,"props":1420,"children":1421},{"class":204,"line":233},[1422,1427,1431,1435,1440,1444],{"type":42,"tag":202,"props":1423,"children":1424},{"style":1389},[1425],{"type":48,"value":1426},"    to",{"type":42,"tag":202,"props":1428,"children":1429},{"style":1233},[1430],{"type":48,"value":1397},{"type":42,"tag":202,"props":1432,"children":1433},{"style":1233},[1434],{"type":48,"value":1402},{"type":42,"tag":202,"props":1436,"children":1437},{"style":1405},[1438],{"type":48,"value":1439},"+15558675310",{"type":42,"tag":202,"props":1441,"children":1442},{"style":1233},[1443],{"type":48,"value":1413},{"type":42,"tag":202,"props":1445,"children":1446},{"style":1233},[1447],{"type":48,"value":1418},{"type":42,"tag":202,"props":1449,"children":1450},{"class":204,"line":242},[1451,1456,1460,1464,1469,1473],{"type":42,"tag":202,"props":1452,"children":1453},{"style":1389},[1454],{"type":48,"value":1455},"    body",{"type":42,"tag":202,"props":1457,"children":1458},{"style":1233},[1459],{"type":48,"value":1397},{"type":42,"tag":202,"props":1461,"children":1462},{"style":1233},[1463],{"type":48,"value":1402},{"type":42,"tag":202,"props":1465,"children":1466},{"style":1405},[1467],{"type":48,"value":1468},"Your appointment is tomorrow at 2pm.",{"type":42,"tag":202,"props":1470,"children":1471},{"style":1233},[1472],{"type":48,"value":1413},{"type":42,"tag":202,"props":1474,"children":1475},{"style":1233},[1476],{"type":48,"value":1418},{"type":42,"tag":202,"props":1478,"children":1479},{"class":204,"line":250},[1480,1485],{"type":42,"tag":202,"props":1481,"children":1482},{"style":1227},[1483],{"type":48,"value":1484},"    sendAt",{"type":42,"tag":202,"props":1486,"children":1487},{"style":1233},[1488],{"type":48,"value":1418},{"type":42,"tag":202,"props":1490,"children":1491},{"class":204,"line":259},[1492,1497,1501,1505,1510,1514],{"type":42,"tag":202,"props":1493,"children":1494},{"style":1389},[1495],{"type":48,"value":1496},"    scheduleType",{"type":42,"tag":202,"props":1498,"children":1499},{"style":1233},[1500],{"type":48,"value":1397},{"type":42,"tag":202,"props":1502,"children":1503},{"style":1233},[1504],{"type":48,"value":1402},{"type":42,"tag":202,"props":1506,"children":1507},{"style":1405},[1508],{"type":48,"value":1509},"fixed",{"type":42,"tag":202,"props":1511,"children":1512},{"style":1233},[1513],{"type":48,"value":1413},{"type":42,"tag":202,"props":1515,"children":1516},{"style":1233},[1517],{"type":48,"value":1418},{"type":42,"tag":202,"props":1519,"children":1520},{"class":204,"line":268},[1521,1526,1530],{"type":42,"tag":202,"props":1522,"children":1523},{"style":1233},[1524],{"type":48,"value":1525},"}",{"type":42,"tag":202,"props":1527,"children":1528},{"style":1227},[1529],{"type":48,"value":1309},{"type":42,"tag":202,"props":1531,"children":1532},{"style":1233},[1533],{"type":48,"value":1328},{"type":42,"tag":51,"props":1535,"children":1536},{},[1537],{"type":48,"value":1538},"Cancel a scheduled message before it sends:",{"type":42,"tag":191,"props":1540,"children":1542},{"className":193,"code":1541,"language":195,"meta":196,"style":196},"client.messages(\"SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\").update(status=\"canceled\")\n",[1543],{"type":42,"tag":57,"props":1544,"children":1545},{"__ignoreMap":196},[1546],{"type":42,"tag":202,"props":1547,"children":1548},{"class":204,"line":205},[1549],{"type":42,"tag":202,"props":1550,"children":1551},{},[1552],{"type":48,"value":1541},{"type":42,"tag":51,"props":1554,"children":1555},{},[1556,1561,1563,1569],{"type":42,"tag":77,"props":1557,"children":1558},{},[1559],{"type":48,"value":1560},"Limitations:",{"type":48,"value":1562}," Scheduled messages don't return a status callback event on creation. WhatsApp templates are validated at send time (not scheduling time) — non-compliant templates fail when ",{"type":42,"tag":57,"props":1564,"children":1566},{"className":1565},[],[1567],{"type":48,"value":1568},"sendAt",{"type":48,"value":1570}," fires. Opt-outs received after scheduling don't auto-cancel the message; cancel manually if needed.",{"type":42,"tag":93,"props":1572,"children":1573},{},[],{"type":42,"tag":607,"props":1575,"children":1577},{"id":1576},"compliance-toolkit-us-sms-public-beta",[1578],{"type":48,"value":1579},"Compliance Toolkit (US SMS, Public Beta)",{"type":42,"tag":51,"props":1581,"children":1582},{},[1583],{"type":48,"value":1584},"Automated compliance checks for US SMS. Enable in Console: Messaging > Settings > General > Enable Compliance Toolkit.",{"type":42,"tag":772,"props":1586,"children":1587},{},[1588,1613],{"type":42,"tag":776,"props":1589,"children":1590},{},[1591],{"type":42,"tag":780,"props":1592,"children":1593},{},[1594,1598,1603,1608],{"type":42,"tag":784,"props":1595,"children":1596},{},[1597],{"type":48,"value":788},{"type":42,"tag":784,"props":1599,"children":1600},{},[1601],{"type":48,"value":1602},"What it does",{"type":42,"tag":784,"props":1604,"children":1605},{},[1606],{"type":48,"value":1607},"Error code",{"type":42,"tag":784,"props":1609,"children":1610},{},[1611],{"type":48,"value":1612},"Default",{"type":42,"tag":800,"props":1614,"children":1615},{},[1616,1642,1668,1699],{"type":42,"tag":780,"props":1617,"children":1618},{},[1619,1627,1632,1637],{"type":42,"tag":807,"props":1620,"children":1621},{},[1622],{"type":42,"tag":77,"props":1623,"children":1624},{},[1625],{"type":48,"value":1626},"Quiet Hours",{"type":42,"tag":807,"props":1628,"children":1629},{},[1630],{"type":48,"value":1631},"Reschedules non-essential messages sent during TCPA restricted hours (9PM–8AM recipient local time). Uses area code for timezone. 11 states have stricter windows.",{"type":42,"tag":807,"props":1633,"children":1634},{},[1635],{"type":48,"value":1636},"30610 (if block mode)",{"type":42,"tag":807,"props":1638,"children":1639},{},[1640],{"type":48,"value":1641},"Enabled (reschedule mode)",{"type":42,"tag":780,"props":1643,"children":1644},{},[1645,1653,1658,1663],{"type":42,"tag":807,"props":1646,"children":1647},{},[1648],{"type":42,"tag":77,"props":1649,"children":1650},{},[1651],{"type":48,"value":1652},"Reassigned Number Detection",{"type":42,"tag":807,"props":1654,"children":1655},{},[1656],{"type":48,"value":1657},"Checks FCC reassigned numbers database; re-checks every 30 days",{"type":42,"tag":807,"props":1659,"children":1660},{},[1661],{"type":48,"value":1662},"21610",{"type":42,"tag":807,"props":1664,"children":1665},{},[1666],{"type":48,"value":1667},"Enabled",{"type":42,"tag":780,"props":1669,"children":1670},{},[1671,1679,1684,1689],{"type":42,"tag":807,"props":1672,"children":1673},{},[1674],{"type":42,"tag":77,"props":1675,"children":1676},{},[1677],{"type":48,"value":1678},"TCPA Known Litigators",{"type":42,"tag":807,"props":1680,"children":1681},{},[1682],{"type":48,"value":1683},"Blocks non-essential messages to known litigator numbers; re-verifies weekly",{"type":42,"tag":807,"props":1685,"children":1686},{},[1687],{"type":48,"value":1688},"30640",{"type":42,"tag":807,"props":1690,"children":1691},{},[1692,1697],{"type":42,"tag":77,"props":1693,"children":1694},{},[1695],{"type":48,"value":1696},"Not enabled by default",{"type":48,"value":1698}," — requires account rep activation",{"type":42,"tag":780,"props":1700,"children":1701},{},[1702,1710,1715,1719],{"type":42,"tag":807,"props":1703,"children":1704},{},[1705],{"type":42,"tag":77,"props":1706,"children":1707},{},[1708],{"type":48,"value":1709},"Opt-out Verification",{"type":42,"tag":807,"props":1711,"children":1712},{},[1713],{"type":48,"value":1714},"Blocks messages to users who replied STOP\u002FUNSUBSCRIBE\u002FEND\u002FQUIT\u002Fetc.",{"type":42,"tag":807,"props":1716,"children":1717},{},[1718],{"type":48,"value":1662},{"type":42,"tag":807,"props":1720,"children":1721},{},[1722],{"type":48,"value":1667},{"type":42,"tag":51,"props":1724,"children":1725},{},[1726,1731,1733,1739],{"type":42,"tag":77,"props":1727,"children":1728},{},[1729],{"type":48,"value":1730},"AI\u002FML classification:",{"type":48,"value":1732}," Compliance Toolkit uses ML to classify messages as essential (OTP, alerts, support) vs non-essential (marketing, promotions). Essential messages bypass quiet hours and litigator checks. Override the classification with ",{"type":42,"tag":57,"props":1734,"children":1736},{"className":1735},[],[1737],{"type":48,"value":1738},"messageIntent",{"type":48,"value":1397},{"type":42,"tag":51,"props":1741,"children":1742},{},[1743],{"type":42,"tag":77,"props":1744,"children":1745},{},[1746],{"type":48,"value":189},{"type":42,"tag":191,"props":1748,"children":1750},{"className":193,"code":1749,"language":195,"meta":196,"style":196},"message = client.messages.create(\n    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to=\"+15558675310\",\n    body=\"Your order shipped!\",\n    message_intent=\"confirm\",    # Override ML: mark as essential\u002Ftransactional\n    risk_check=\"enable\"          # Evaluate against all compliance checks\n)\n",[1751],{"type":42,"tag":57,"props":1752,"children":1753},{"__ignoreMap":196},[1754,1761,1768,1775,1783,1791,1799],{"type":42,"tag":202,"props":1755,"children":1756},{"class":204,"line":205},[1757],{"type":42,"tag":202,"props":1758,"children":1759},{},[1760],{"type":48,"value":371},{"type":42,"tag":202,"props":1762,"children":1763},{"class":204,"line":214},[1764],{"type":42,"tag":202,"props":1765,"children":1766},{},[1767],{"type":48,"value":1153},{"type":42,"tag":202,"props":1769,"children":1770},{"class":204,"line":223},[1771],{"type":42,"tag":202,"props":1772,"children":1773},{},[1774],{"type":48,"value":389},{"type":42,"tag":202,"props":1776,"children":1777},{"class":204,"line":233},[1778],{"type":42,"tag":202,"props":1779,"children":1780},{},[1781],{"type":48,"value":1782},"    body=\"Your order shipped!\",\n",{"type":42,"tag":202,"props":1784,"children":1785},{"class":204,"line":242},[1786],{"type":42,"tag":202,"props":1787,"children":1788},{},[1789],{"type":48,"value":1790},"    message_intent=\"confirm\",    # Override ML: mark as essential\u002Ftransactional\n",{"type":42,"tag":202,"props":1792,"children":1793},{"class":204,"line":250},[1794],{"type":42,"tag":202,"props":1795,"children":1796},{},[1797],{"type":48,"value":1798},"    risk_check=\"enable\"          # Evaluate against all compliance checks\n",{"type":42,"tag":202,"props":1800,"children":1801},{"class":204,"line":259},[1802],{"type":42,"tag":202,"props":1803,"children":1804},{},[1805],{"type":48,"value":283},{"type":42,"tag":51,"props":1807,"children":1808},{},[1809,1814],{"type":42,"tag":77,"props":1810,"children":1811},{},[1812],{"type":48,"value":1813},"Consent Management API",{"type":48,"value":1815}," — Programmatically track opt-in\u002Fopt-out\u002Fre-opt-in status per phone number across SMS\u002FMMS\u002FRCS. Supports bulk upsert. Use alongside Compliance Toolkit to maintain consent records.",{"type":42,"tag":51,"props":1817,"children":1818},{},[1819,1824],{"type":42,"tag":77,"props":1820,"children":1821},{},[1822],{"type":48,"value":1823},"Contact API",{"type":48,"value":1825}," — Store recipient ZIP codes for more accurate quiet hours timezone inference (vs area code default).",{"type":42,"tag":93,"props":1827,"children":1828},{},[],{"type":42,"tag":607,"props":1830,"children":1832},{"id":1831},"sms-pumping-protection",[1833],{"type":48,"value":1834},"SMS Pumping Protection",{"type":42,"tag":51,"props":1836,"children":1837},{},[1838],{"type":48,"value":1839},"Detects and blocks artificial inflation of SMS traffic (toll fraud where bad actors trigger high volumes of messages to premium-rate numbers they control).",{"type":42,"tag":51,"props":1841,"children":1842},{},[1843],{"type":42,"tag":77,"props":1844,"children":1845},{},[1846],{"type":48,"value":1847},"How it works:",{"type":42,"tag":103,"props":1849,"children":1850},{},[1851,1856,1861,1871,1876],{"type":42,"tag":107,"props":1852,"children":1853},{},[1854],{"type":48,"value":1855},"Combines behavioral analysis with known fraud scheme identification using Twilio's proprietary model",{"type":42,"tag":107,"props":1857,"children":1858},{},[1859],{"type":48,"value":1860},"Analyzes: messages to regions known for pumping, countries with no prior sending history, patterns suggesting non-human behavior",{"type":42,"tag":107,"props":1862,"children":1863},{},[1864,1866],{"type":48,"value":1865},"Auto-blocks suspected pumping destinations — returns error ",{"type":42,"tag":77,"props":1867,"children":1868},{},[1869],{"type":48,"value":1870},"30450",{"type":42,"tag":107,"props":1872,"children":1873},{},[1874],{"type":48,"value":1875},"Enable in Console: Messaging > Settings > General > SMS Pumping Protection",{"type":42,"tag":107,"props":1877,"children":1878},{},[1879,1884],{"type":42,"tag":77,"props":1880,"children":1881},{},[1882],{"type":48,"value":1883},"Free in US\u002FCanada",{"type":48,"value":1885},"; other regions check SMS Pricing page",{"type":42,"tag":51,"props":1887,"children":1888},{},[1889],{"type":42,"tag":77,"props":1890,"children":1891},{},[1892],{"type":48,"value":1893},"Per-message risk check:",{"type":42,"tag":51,"props":1895,"children":1896},{},[1897],{"type":42,"tag":77,"props":1898,"children":1899},{},[1900],{"type":48,"value":189},{"type":42,"tag":191,"props":1902,"children":1904},{"className":193,"code":1903,"language":195,"meta":196,"style":196},"message = client.messages.create(\n    messaging_service_sid=\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    to=\"+15558675310\",\n    body=\"Your verification code is 123456.\",\n    risk_check=\"enable\"   # Assess pumping risk for this specific message\n)\n",[1905],{"type":42,"tag":57,"props":1906,"children":1907},{"__ignoreMap":196},[1908,1915,1922,1929,1937,1945],{"type":42,"tag":202,"props":1909,"children":1910},{"class":204,"line":205},[1911],{"type":42,"tag":202,"props":1912,"children":1913},{},[1914],{"type":48,"value":371},{"type":42,"tag":202,"props":1916,"children":1917},{"class":204,"line":214},[1918],{"type":42,"tag":202,"props":1919,"children":1920},{},[1921],{"type":48,"value":1153},{"type":42,"tag":202,"props":1923,"children":1924},{"class":204,"line":223},[1925],{"type":42,"tag":202,"props":1926,"children":1927},{},[1928],{"type":48,"value":389},{"type":42,"tag":202,"props":1930,"children":1931},{"class":204,"line":233},[1932],{"type":42,"tag":202,"props":1933,"children":1934},{},[1935],{"type":48,"value":1936},"    body=\"Your verification code is 123456.\",\n",{"type":42,"tag":202,"props":1938,"children":1939},{"class":204,"line":242},[1940],{"type":42,"tag":202,"props":1941,"children":1942},{},[1943],{"type":48,"value":1944},"    risk_check=\"enable\"   # Assess pumping risk for this specific message\n",{"type":42,"tag":202,"props":1946,"children":1947},{"class":204,"line":250},[1948],{"type":42,"tag":202,"props":1949,"children":1950},{},[1951],{"type":48,"value":283},{"type":42,"tag":51,"props":1953,"children":1954},{},[1955],{"type":42,"tag":77,"props":1956,"children":1957},{},[1958,1964],{"type":42,"tag":57,"props":1959,"children":1961},{"className":1960},[],[1962],{"type":48,"value":1963},"riskCheck",{"type":48,"value":1965}," parameter values:",{"type":42,"tag":103,"props":1967,"children":1968},{},[1969,1980],{"type":42,"tag":107,"props":1970,"children":1971},{},[1972,1978],{"type":42,"tag":57,"props":1973,"children":1975},{"className":1974},[],[1976],{"type":48,"value":1977},"enable",{"type":48,"value":1979}," (default for OTP\u002F2FA messages): Apply SMS pumping protection",{"type":42,"tag":107,"props":1981,"children":1982},{},[1983,1989],{"type":42,"tag":57,"props":1984,"children":1986},{"className":1985},[],[1987],{"type":48,"value":1988},"disable",{"type":48,"value":1990},": Skip protection (use for marketing messages where false positives are costly)",{"type":42,"tag":51,"props":1992,"children":1993},{},[1994,1999],{"type":42,"tag":77,"props":1995,"children":1996},{},[1997],{"type":48,"value":1998},"Global Safe List API",{"type":48,"value":2000}," — Whitelist phone numbers that bypass SMS Pumping Protection, Verify Fraud Guard, and other risk checks. Use for known-good customers and approved recipients.",{"type":42,"tag":51,"props":2002,"children":2003},{},[2004,2009],{"type":42,"tag":77,"props":2005,"children":2006},{},[2007],{"type":48,"value":2008},"False positives:",{"type":48,"value":2010}," The ML model may occasionally flag legitimate users. If this happens: add to Global Safe List, switch to WhatsApp\u002FMessenger for those recipients, or contact Twilio Support.",{"type":42,"tag":51,"props":2012,"children":2013},{},[2014,2019],{"type":42,"tag":77,"props":2015,"children":2016},{},[2017],{"type":48,"value":2018},"Note:",{"type":48,"value":2020}," This is separate from Verify Fraud Guard, which only protects Verify API sends. SMS Pumping Protection covers all Programmable Messaging sends through a Messaging Service.",{"type":42,"tag":93,"props":2022,"children":2023},{},[],{"type":42,"tag":607,"props":2025,"children":2027},{"id":2026},"link-shortening-click-tracking",[2028],{"type":48,"value":2029},"Link Shortening & Click Tracking",{"type":42,"tag":51,"props":2031,"children":2032},{},[2033],{"type":48,"value":2034},"Automatically shorten URLs in message bodies using a branded domain, with click tracking.",{"type":42,"tag":51,"props":2036,"children":2037},{},[2038],{"type":42,"tag":77,"props":2039,"children":2040},{},[2041],{"type":48,"value":2042},"Setup:",{"type":42,"tag":2044,"props":2045,"children":2046},"ol",{},[2047,2059,2064],{"type":42,"tag":107,"props":2048,"children":2049},{},[2050,2052,2058],{"type":48,"value":2051},"Configure a branded short domain in Console (e.g., ",{"type":42,"tag":57,"props":2053,"children":2055},{"className":2054},[],[2056],{"type":48,"value":2057},"link.yourcompany.com",{"type":48,"value":1309},{"type":42,"tag":107,"props":2060,"children":2061},{},[2062],{"type":48,"value":2063},"Add DNS records as directed",{"type":42,"tag":107,"props":2065,"children":2066},{},[2067,2069,2075],{"type":48,"value":2068},"Enable ",{"type":42,"tag":57,"props":2070,"children":2072},{"className":2071},[],[2073],{"type":48,"value":2074},"ShortenUrls: true",{"type":48,"value":2076}," on your Messaging Service",{"type":42,"tag":51,"props":2078,"children":2079},{},[2080],{"type":42,"tag":77,"props":2081,"children":2082},{},[2083],{"type":48,"value":189},{"type":42,"tag":191,"props":2085,"children":2087},{"className":193,"code":2086,"language":195,"meta":196,"style":196},"service = client.messaging.v1.services(\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\").update(\n    shorten_urls=True\n)\n",[2088],{"type":42,"tag":57,"props":2089,"children":2090},{"__ignoreMap":196},[2091,2099,2107],{"type":42,"tag":202,"props":2092,"children":2093},{"class":204,"line":205},[2094],{"type":42,"tag":202,"props":2095,"children":2096},{},[2097],{"type":48,"value":2098},"service = client.messaging.v1.services(\"MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\").update(\n",{"type":42,"tag":202,"props":2100,"children":2101},{"class":204,"line":214},[2102],{"type":42,"tag":202,"props":2103,"children":2104},{},[2105],{"type":48,"value":2106},"    shorten_urls=True\n",{"type":42,"tag":202,"props":2108,"children":2109},{"class":204,"line":223},[2110],{"type":42,"tag":202,"props":2111,"children":2112},{},[2113],{"type":48,"value":283},{"type":42,"tag":51,"props":2115,"children":2116},{},[2117],{"type":48,"value":2118},"Once enabled, any URL in the message body is auto-shortened to your branded domain. Click events are delivered via status callback.",{"type":42,"tag":103,"props":2120,"children":2121},{},[2122,2134],{"type":42,"tag":107,"props":2123,"children":2124},{},[2125,2127,2132],{"type":48,"value":2126},"Links are retained for ",{"type":42,"tag":77,"props":2128,"children":2129},{},[2130],{"type":48,"value":2131},"90 days",{"type":48,"value":2133}," after creation",{"type":42,"tag":107,"props":2135,"children":2136},{},[2137],{"type":48,"value":2138},"Click tracking events appear in status callbacks alongside delivery events",{"type":42,"tag":93,"props":2140,"children":2141},{},[],{"type":42,"tag":607,"props":2143,"children":2145},{"id":2144},"intelligent-alerts",[2146],{"type":48,"value":2147},"Intelligent Alerts",{"type":42,"tag":51,"props":2149,"children":2150},{},[2151],{"type":48,"value":2152},"ML-based monitoring that detects unusual error patterns and alerts you before they become outages. This is an account-level feature (not per-service).",{"type":42,"tag":51,"props":2154,"children":2155},{},[2156],{"type":42,"tag":77,"props":2157,"children":2158},{},[2159],{"type":48,"value":2160},"Monitors 5 error codes:",{"type":42,"tag":103,"props":2162,"children":2163},{},[2164],{"type":42,"tag":107,"props":2165,"children":2166},{},[2167],{"type":48,"value":2168},"30001 (Queue overflow), 30005 (Unknown destination), 30006 (Landline or unreachable), 30007 (Carrier violation \u002F spam filter), 30008 (Unknown error)",{"type":42,"tag":51,"props":2170,"children":2171},{},[2172],{"type":42,"tag":77,"props":2173,"children":2174},{},[2175],{"type":48,"value":1847},{"type":42,"tag":103,"props":2177,"children":2178},{},[2179,2184,2189,2215],{"type":42,"tag":107,"props":2180,"children":2181},{},[2182],{"type":48,"value":2183},"Analyzes error patterns in 5-minute windows",{"type":42,"tag":107,"props":2185,"children":2186},{},[2187],{"type":48,"value":2188},"Calculates impact score based on error volume and velocity",{"type":42,"tag":107,"props":2190,"children":2191},{},[2192,2194,2199,2201,2206,2208,2213],{"type":48,"value":2193},"Classifies: ",{"type":42,"tag":77,"props":2195,"children":2196},{},[2197],{"type":48,"value":2198},"Urgent",{"type":48,"value":2200}," (>0.80), ",{"type":42,"tag":77,"props":2202,"children":2203},{},[2204],{"type":48,"value":2205},"Important",{"type":48,"value":2207}," (0.40–0.80), ",{"type":42,"tag":77,"props":2209,"children":2210},{},[2211],{"type":48,"value":2212},"Warning",{"type":48,"value":2214}," (\u003C0.40)",{"type":42,"tag":107,"props":2216,"children":2217},{},[2218],{"type":48,"value":2219},"Alerts via email or webhook",{"type":42,"tag":51,"props":2221,"children":2222},{},[2223,2228],{"type":42,"tag":77,"props":2224,"children":2225},{},[2226],{"type":48,"value":2227},"Free feature",{"type":48,"value":2229}," — enable in Console > Messaging > Settings > Intelligent Alerts.",{"type":42,"tag":93,"props":2231,"children":2232},{},[],{"type":42,"tag":43,"props":2234,"children":2236},{"id":2235},"cannot",[2237],{"type":48,"value":2238},"CANNOT",{"type":42,"tag":103,"props":2240,"children":2241},{},[2242,2252,2262,2299,2309,2319,2329,2339,2349,2359,2369,2379],{"type":42,"tag":107,"props":2243,"children":2244},{},[2245,2250],{"type":42,"tag":77,"props":2246,"children":2247},{},[2248],{"type":48,"value":2249},"Cannot add a phone number to multiple Messaging Services",{"type":48,"value":2251}," — A number belongs to one service at a time",{"type":42,"tag":107,"props":2253,"children":2254},{},[2255,2260],{"type":42,"tag":77,"props":2256,"children":2257},{},[2258],{"type":48,"value":2259},"Cannot determine throughput from the API",{"type":48,"value":2261}," — Throughput depends on number type (long code, short code, toll-free) and is not exposed programmatically",{"type":42,"tag":107,"props":2263,"children":2264},{},[2265,2270,2272,2277,2279,2284,2286,2291,2293],{"type":42,"tag":77,"props":2266,"children":2267},{},[2268],{"type":48,"value":2269},"Cannot schedule messages without a Messaging Service",{"type":48,"value":2271}," — ",{"type":42,"tag":57,"props":2273,"children":2275},{"className":2274},[],[2276],{"type":48,"value":1568},{"type":48,"value":2278}," requires ",{"type":42,"tag":57,"props":2280,"children":2282},{"className":2281},[],[2283],{"type":48,"value":62},{"type":48,"value":2285},", not ",{"type":42,"tag":57,"props":2287,"children":2289},{"className":2288},[],[2290],{"type":48,"value":70},{"type":48,"value":2292},". Must also set ",{"type":42,"tag":57,"props":2294,"children":2296},{"className":2295},[],[2297],{"type":48,"value":2298},"schedule_type=\"fixed\"",{"type":42,"tag":107,"props":2300,"children":2301},{},[2302,2307],{"type":42,"tag":77,"props":2303,"children":2304},{},[2305],{"type":48,"value":2306},"Cannot schedule more than 35 days ahead",{"type":48,"value":2308}," — Scheduling window is 15 minutes to 35 days",{"type":42,"tag":107,"props":2310,"children":2311},{},[2312,2317],{"type":42,"tag":77,"props":2313,"children":2314},{},[2315],{"type":48,"value":2316},"Cannot use compliance toolkit outside the US",{"type":48,"value":2318}," — Currently US SMS only, public beta",{"type":42,"tag":107,"props":2320,"children":2321},{},[2322,2327],{"type":42,"tag":77,"props":2323,"children":2324},{},[2325],{"type":48,"value":2326},"Cannot use compliance toolkit without a Messaging Service",{"type":48,"value":2328}," — Features are configured per service",{"type":42,"tag":107,"props":2330,"children":2331},{},[2332,2337],{"type":42,"tag":77,"props":2333,"children":2334},{},[2335],{"type":48,"value":2336},"Cannot customize SMS pumping ML thresholds",{"type":48,"value":2338}," — Auto-blocking sensitivity is not configurable; use Global Safe List to whitelist known-good prefixes",{"type":42,"tag":107,"props":2340,"children":2341},{},[2342,2347],{"type":42,"tag":77,"props":2343,"children":2344},{},[2345],{"type":48,"value":2346},"Cannot use link shortening without a branded domain",{"type":48,"value":2348}," — Must configure a custom short domain first; no default short domain provided",{"type":42,"tag":107,"props":2350,"children":2351},{},[2352,2357],{"type":42,"tag":77,"props":2353,"children":2354},{},[2355],{"type":48,"value":2356},"Cannot use link shortening for WhatsApp",{"type":48,"value":2358}," — Only available for SMS\u002FMMS",{"type":42,"tag":107,"props":2360,"children":2361},{},[2362,2367],{"type":42,"tag":77,"props":2363,"children":2364},{},[2365],{"type":48,"value":2366},"Cannot customize intelligent alerts error code list",{"type":48,"value":2368}," — Fixed to the 5 monitored error codes",{"type":42,"tag":107,"props":2370,"children":2371},{},[2372,2377],{"type":42,"tag":77,"props":2373,"children":2374},{},[2375],{"type":48,"value":2376},"Messaging Services are required for US A2P 10DLC",{"type":48,"value":2378}," — Campaign registration attaches to a Messaging Service",{"type":42,"tag":107,"props":2380,"children":2381},{},[2382,2387,2389],{"type":42,"tag":77,"props":2383,"children":2384},{},[2385],{"type":48,"value":2386},"Inbound routing is per-service, not per-number",{"type":48,"value":2388}," — All inbound messages to numbers in the service go to ",{"type":42,"tag":57,"props":2390,"children":2392},{"className":2391},[],[2393],{"type":48,"value":2394},"inbound_request_url",{"type":42,"tag":93,"props":2396,"children":2397},{},[],{"type":42,"tag":43,"props":2399,"children":2401},{"id":2400},"next-steps",[2402],{"type":48,"value":2403},"Next Steps",{"type":42,"tag":103,"props":2405,"children":2406},{},[2407,2422,2437,2452],{"type":42,"tag":107,"props":2408,"children":2409},{},[2410,2415,2417],{"type":42,"tag":77,"props":2411,"children":2412},{},[2413],{"type":48,"value":2414},"Channel overview and onboarding guide:",{"type":48,"value":2416}," ",{"type":42,"tag":57,"props":2418,"children":2420},{"className":2419},[],[2421],{"type":48,"value":89},{"type":42,"tag":107,"props":2423,"children":2424},{},[2425,2430,2431],{"type":42,"tag":77,"props":2426,"children":2427},{},[2428],{"type":48,"value":2429},"US compliance for A2P traffic:",{"type":48,"value":2416},{"type":42,"tag":57,"props":2432,"children":2434},{"className":2433},[],[2435],{"type":48,"value":2436},"twilio-compliance-onboarding",{"type":42,"tag":107,"props":2438,"children":2439},{},[2440,2445,2446],{"type":42,"tag":77,"props":2441,"children":2442},{},[2443],{"type":48,"value":2444},"Send SMS:",{"type":48,"value":2416},{"type":42,"tag":57,"props":2447,"children":2449},{"className":2448},[],[2450],{"type":48,"value":2451},"twilio-sms-send-message",{"type":42,"tag":107,"props":2453,"children":2454},{},[2455,2460,2461],{"type":42,"tag":77,"props":2456,"children":2457},{},[2458],{"type":48,"value":2459},"Handle inbound SMS:",{"type":48,"value":2416},{"type":42,"tag":57,"props":2462,"children":2464},{"className":2463},[],[2465],{"type":48,"value":2466},"twilio-messaging-webhooks",{"type":42,"tag":2468,"props":2469,"children":2470},"style",{},[2471],{"type":48,"value":2472},"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":2474,"total":2679},[2475,2496,2519,2536,2552,2571,2590,2606,2622,2636,2648,2663],{"slug":2476,"name":2476,"fn":2477,"description":2478,"org":2479,"tags":2480,"stars":2493,"repoUrl":2494,"updatedAt":2495},"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},[2481,2484,2487,2490],{"name":2482,"slug":2483,"type":15},"Documents","documents",{"name":2485,"slug":2486,"type":15},"Healthcare","healthcare",{"name":2488,"slug":2489,"type":15},"Insurance","insurance",{"name":2491,"slug":2492,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":2497,"name":2497,"fn":2498,"description":2499,"org":2500,"tags":2501,"stars":2516,"repoUrl":2517,"updatedAt":2518},"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},[2502,2505,2507,2510,2513],{"name":2503,"slug":2504,"type":15},".NET","dotnet",{"name":2506,"slug":2497,"type":15},"ASP.NET Core",{"name":2508,"slug":2509,"type":15},"Blazor","blazor",{"name":2511,"slug":2512,"type":15},"C#","csharp",{"name":2514,"slug":2515,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":2520,"name":2520,"fn":2521,"description":2522,"org":2523,"tags":2524,"stars":2516,"repoUrl":2517,"updatedAt":2535},"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},[2525,2528,2531,2534],{"name":2526,"slug":2527,"type":15},"Apps SDK","apps-sdk",{"name":2529,"slug":2530,"type":15},"ChatGPT","chatgpt",{"name":2532,"slug":2533,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":2537,"name":2537,"fn":2538,"description":2539,"org":2540,"tags":2541,"stars":2516,"repoUrl":2517,"updatedAt":2551},"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},[2542,2545,2548],{"name":2543,"slug":2544,"type":15},"API Development","api-development",{"name":2546,"slug":2547,"type":15},"CLI","cli",{"name":2549,"slug":2550,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":2553,"name":2553,"fn":2554,"description":2555,"org":2556,"tags":2557,"stars":2516,"repoUrl":2517,"updatedAt":2570},"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},[2558,2561,2564,2567],{"name":2559,"slug":2560,"type":15},"Cloudflare","cloudflare",{"name":2562,"slug":2563,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":2565,"slug":2566,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":2568,"slug":2569,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":2572,"name":2572,"fn":2573,"description":2574,"org":2575,"tags":2576,"stars":2516,"repoUrl":2517,"updatedAt":2589},"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},[2577,2580,2583,2586],{"name":2578,"slug":2579,"type":15},"Productivity","productivity",{"name":2581,"slug":2582,"type":15},"Project Management","project-management",{"name":2584,"slug":2585,"type":15},"Strategy","strategy",{"name":2587,"slug":2588,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":2591,"name":2591,"fn":2592,"description":2593,"org":2594,"tags":2595,"stars":2516,"repoUrl":2517,"updatedAt":2605},"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},[2596,2599,2601,2604],{"name":2597,"slug":2598,"type":15},"Design","design",{"name":2600,"slug":2591,"type":15},"Figma",{"name":2602,"slug":2603,"type":15},"Frontend","frontend",{"name":2532,"slug":2533,"type":15},"2026-04-12T05:06:47.939943",{"slug":2607,"name":2607,"fn":2608,"description":2609,"org":2610,"tags":2611,"stars":2516,"repoUrl":2517,"updatedAt":2621},"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},[2612,2613,2616,2617,2618],{"name":2597,"slug":2598,"type":15},{"name":2614,"slug":2615,"type":15},"Design System","design-system",{"name":2600,"slug":2591,"type":15},{"name":2602,"slug":2603,"type":15},{"name":2619,"slug":2620,"type":15},"UI Components","ui-components","2026-05-10T05:59:52.971881",{"slug":2623,"name":2623,"fn":2624,"description":2625,"org":2626,"tags":2627,"stars":2516,"repoUrl":2517,"updatedAt":2635},"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},[2628,2629,2630,2633,2634],{"name":2597,"slug":2598,"type":15},{"name":2614,"slug":2615,"type":15},{"name":2631,"slug":2632,"type":15},"Documentation","documentation",{"name":2600,"slug":2591,"type":15},{"name":2602,"slug":2603,"type":15},"2026-05-16T06:07:47.821474",{"slug":2637,"name":2637,"fn":2638,"description":2639,"org":2640,"tags":2641,"stars":2516,"repoUrl":2517,"updatedAt":2647},"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},[2642,2643,2644,2645,2646],{"name":2597,"slug":2598,"type":15},{"name":2600,"slug":2591,"type":15},{"name":2602,"slug":2603,"type":15},{"name":2619,"slug":2620,"type":15},{"name":2514,"slug":2515,"type":15},"2026-05-16T06:07:40.583615",{"slug":2649,"name":2649,"fn":2650,"description":2651,"org":2652,"tags":2653,"stars":2516,"repoUrl":2517,"updatedAt":2662},"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},[2654,2657,2658,2661],{"name":2655,"slug":2656,"type":15},"Animation","animation",{"name":2549,"slug":2550,"type":15},{"name":2659,"slug":2660,"type":15},"Creative","creative",{"name":2597,"slug":2598,"type":15},"2026-05-02T05:31:48.48485",{"slug":2664,"name":2664,"fn":2665,"description":2666,"org":2667,"tags":2668,"stars":2516,"repoUrl":2517,"updatedAt":2678},"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},[2669,2670,2671,2674,2677],{"name":2659,"slug":2660,"type":15},{"name":2597,"slug":2598,"type":15},{"name":2672,"slug":2673,"type":15},"Image Generation","image-generation",{"name":2675,"slug":2676,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675,{"items":2681,"total":2794},[2682,2698,2714,2726,2744,2762,2782],{"slug":2683,"name":2683,"fn":2684,"description":2685,"org":2686,"tags":2687,"stars":25,"repoUrl":26,"updatedAt":27},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2688,2691,2694,2697],{"name":2689,"slug":2690,"type":15},"Accessibility","accessibility",{"name":2692,"slug":2693,"type":15},"Charts","charts",{"name":2695,"slug":2696,"type":15},"Data Visualization","data-visualization",{"name":2597,"slug":2598,"type":15},{"slug":2699,"name":2699,"fn":2700,"description":2701,"org":2702,"tags":2703,"stars":25,"repoUrl":26,"updatedAt":2713},"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},[2704,2707,2710],{"name":2705,"slug":2706,"type":15},"Agents","agents",{"name":2708,"slug":2709,"type":15},"Browser Automation","browser-automation",{"name":2711,"slug":2712,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":2715,"name":2715,"fn":2716,"description":2717,"org":2718,"tags":2719,"stars":25,"repoUrl":26,"updatedAt":2725},"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},[2720,2721,2724],{"name":2708,"slug":2709,"type":15},{"name":2722,"slug":2723,"type":15},"Local Development","local-development",{"name":2711,"slug":2712,"type":15},"2026-04-06T18:41:17.526867",{"slug":2727,"name":2727,"fn":2728,"description":2729,"org":2730,"tags":2731,"stars":25,"repoUrl":26,"updatedAt":2743},"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},[2732,2733,2734,2737,2740],{"name":2705,"slug":2706,"type":15},{"name":2565,"slug":2566,"type":15},{"name":2735,"slug":2736,"type":15},"SDK","sdk",{"name":2738,"slug":2739,"type":15},"Serverless","serverless",{"name":2741,"slug":2742,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":2745,"name":2745,"fn":2746,"description":2747,"org":2748,"tags":2749,"stars":25,"repoUrl":26,"updatedAt":2761},"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},[2750,2751,2754,2757,2758],{"name":2602,"slug":2603,"type":15},{"name":2752,"slug":2753,"type":15},"React","react",{"name":2755,"slug":2756,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":2619,"slug":2620,"type":15},{"name":2759,"slug":2760,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":2763,"name":2763,"fn":2764,"description":2765,"org":2766,"tags":2767,"stars":25,"repoUrl":26,"updatedAt":2781},"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},[2768,2771,2774,2777,2780],{"name":2769,"slug":2770,"type":15},"AI Infrastructure","ai-infrastructure",{"name":2772,"slug":2773,"type":15},"Cost Optimization","cost-optimization",{"name":2775,"slug":2776,"type":15},"LLM","llm",{"name":2778,"slug":2779,"type":15},"Performance","performance",{"name":2759,"slug":2760,"type":15},"2026-04-06T18:40:44.377464",{"slug":2783,"name":2783,"fn":2784,"description":2785,"org":2786,"tags":2787,"stars":25,"repoUrl":26,"updatedAt":2793},"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},[2788,2789,2792],{"name":2772,"slug":2773,"type":15},{"name":2790,"slug":2791,"type":15},"Database","database",{"name":2775,"slug":2776,"type":15},"2026-04-06T18:41:08.513425",600]