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