[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-twilio-twilio-conversation-orchestrator":3,"mdc--918rfc-key":33,"related-org-twilio-twilio-conversation-orchestrator":6897,"related-repo-twilio-twilio-conversation-orchestrator":7074},{"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-conversation-orchestrator","configure Twilio conversation capture and routing","Configure automatic conversation capture and routing with Twilio Conversation Orchestrator. Covers Configuration creation, channel capture rules, grouping types, status timeouts, Memory Store linkage, Intelligence linkage, and conversation lifecycle. Use this skill to automatically capture SMS, voice, WhatsApp, RCS, and web chat traffic into unified conversations without manually creating conversations or participants.\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},"Automation","automation",{"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:18.178155",null,7,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":26},[],"https:\u002F\u002Fgithub.com\u002Ftwilio\u002Fai\u002Ftree\u002FHEAD\u002Fskills\u002Ftwilio\u002Ftwilio-conversation-orchestrator","---\nname: twilio-conversation-orchestrator\ndescription: >\n  Configure automatic conversation capture and routing with Twilio Conversation\n  Orchestrator. Covers Configuration creation, channel capture rules, grouping\n  types, status timeouts, Memory Store linkage, Intelligence linkage, and\n  conversation lifecycle. Use this skill to automatically capture SMS, voice,\n  WhatsApp, RCS, and web chat traffic into unified conversations without\n  manually creating conversations or participants.\n---\n\n# Conversation Orchestrator\n\nDecision-making guide for Twilio's Conversation Orchestrator (Conversations v2) — automatic conversation capture and routing across Voice, SMS, WhatsApp, RCS, and web chat. Covers Configurations, capture rules, grouping types, channel settings, status timeouts, and linkage to Conversation Memory and Conversation Intelligence.\n\n> **GA** — Conversation Orchestrator is generally available.\n\n## Use Cases\n\nConversation Orchestrator powers **automatic conversation capture and integration with existing voice implementations** — replacing manual conversation creation with either:\n- **Passive ingestion**: Declarative capture rules that automatically capture traffic as it flows\n- **Active ingestion**: TwiML parameters or API calls that route existing implementations into conversations\n\n**Note:** Active and passive ingestion can be configured on a per-channel basis. For example, you can use passive capture rules for SMS while using active TwiML parameters for voice calls.\n\n## ⚠️ CRITICAL: Voice Double Billing Warning\n\n> **WARNING: You can be charged for STT (speech-to-text) twice on the same call if misconfigured.**\n\nIf you are using voice with ConversationRelay or Transcription in TwiML:\n\n**We do not recommend using passive voice capture rules (`captureRules`) in your Configuration when using active TwiML.**\n\nSee the full [Voice Double Billing Warning](#️-critical-voice-double-billing-warning-1) section below for details.\n\n### Unified Customer Context\n\nCapture all channels (voice, SMS, WhatsApp, RCS, CHAT (via Conversation API (classic))) into a single conversation thread per customer. Conversation Memory resolves identity across channels and maintains persistent context. **Start here** — this is the most common pattern.\n\n- **Grouping**: `GROUP_BY_PROFILE`\n- **Channels**: SMS + VOICE + WHATSAPP + RCS + CHAT (via Conversation API (classic))\n- **Linkage**: Memory Store (identity resolution) + Intelligence (analysis)\n\n### Channel-Isolated Analytics\n\nKeep voice transcripts separate from SMS threads for per-channel analysis. Intelligence operators run independently on each channel's conversation.\n\n- **Grouping**: `GROUP_BY_PARTICIPANT_ADDRESSES_AND_CHANNEL_TYPE`\n- **Channels**: SMS + VOICE (separate conversations)\n- **Linkage**: Intelligence (per-channel operators)\n\n### Agent Connect Integration\n\nCapture conversations for AI-to-human escalation via Agent Connect (TAC SDK). Uses address-pair grouping required by the SDK.\n\n- **Grouping**: `GROUP_BY_PARTICIPANT_ADDRESSES`\n- **Channels**: SMS or VOICE\n- **Linkage**: Memory Store + Intelligence + Agent Connect\n\n### Post-Conversation Memory Extraction\n\nAutomatically extract observations from conversations into Conversation Memory. Opt-in — configure once, every conversation feeds the memory loop.\n\n- **Config**: `memoryExtractionEnabled: true`\n- **Trigger**: INACTIVE and\u002For CLOSED lifecycle transitions (configurable)\n- **Result**: Observations and summaries written to linked Memory Store profiles\n\n## How It Works\n\n### Passive Ingestion (Capture Rules)\n\n```\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  1. Inbound\u002Foutbound traffic arrives (SMS, Voice, WhatsApp, RCS)           │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  2. Capture rules match on phone number patterns                           │\n│     - from\u002Fto with wildcards (e.g., from: *, to: +15551234567)             │\n│     - Per-channel rules (SMS, VOICE, WHATSAPP, RCS)                        │\n│     - Metadata filters (callType for CLIENT\u002FSIP)                           │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  3. Conversation auto-created (or existing one matched via grouping)        │\n│     - GROUP_BY_PROFILE: merge by Memory Profile identity                   │\n│     - GROUP_BY_PARTICIPANT_ADDRESSES: merge by address pair                │\n│     - GROUP_BY_..._AND_CHANNEL_TYPE: separate per channel                  │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  4. Linked services activate                                               │\n│     - Memory Store: identity resolution, profile auto-creation             │\n│     - Intelligence: operators fire per Communication or at close           │\n│     - Status timeouts: ACTIVE → INACTIVE → CLOSED lifecycle                │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  5. On conversation close                                                  │\n│     - Memory extraction: observations written to Memory Store              │\n│     - CONVERSATION_END Intelligence operators fire (Summary, etc.)         │\n│     - Status callbacks delivered (if configured)                           │\n└─────────────────────────────────────────────────────────────────────────────┘\n```\n\n### Active Ingestion (TwiML or API)\n\n```\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  1. Voice call arrives OR you create conversation via API                  │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  2a. TwiML: Pass conversationConfiguration or conversationId parameter      │\n│      - \u003CConversationRelay conversationConfiguration=\"CONFIG_ID\">           │\n│      - \u003CTranscription conversationId=\"CONV_ID\">                            │\n│  2b. API: POST to \u002Fv2\u002FConversations with participants                      │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  3. Conversation created or matched based on parameter                      │\n│     - conversationConfiguration: uses grouping rules                       │\n│     - conversationId: routes to specific conversation                      │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  4. Voice transcription or API communications added                         │\n│     - Same linked services activate (Memory Store, Intelligence)           │\n│     - Same lifecycle: ACTIVE → INACTIVE → CLOSED                           │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  5. On conversation close                                                  │\n│     - Memory extraction: observations written to Memory Store              │\n│     - CONVERSATION_END Intelligence operators fire (Summary, etc.)         │\n│     - Status callbacks delivered (if configured)                           │\n└─────────────────────────────────────────────────────────────────────────────┘\n```\n\n## Scope\n\n### CAN\n\n- Automatically capture SMS, voice, WhatsApp, RCS, and CHAT (via Conversation API (classic)) into Conversations via passive ingestion (capture rules) OR work with existing voice implementations via active ingestion (TwiML parameters: conversationConfiguration, conversationId)\n- Merge multiple channels into one Conversation thread via `GROUP_BY_PROFILE`\n- Link Memory Store for automatic identity resolution and observation extraction\n- Link multiple Intelligence Configurations for real-time and post-conversation analysis\n- Bridge Conversation API (classic) Services for browser SDK chat via `conversationsV1Bridge`\n- Configure per-channel capture rules with wildcard matching\n- Set independent timeout policies per channel\n- Add `statusCallbacks` for webhook notifications on conversation state changes\n- Pass `conversationConfiguration` or `conversationId` in `\u003CConversationRelay>` or `\u003CTranscription>` TwiML to create or route to a conversation (Active TwiML mode) — both parameters supported in both TwiML verbs\n- Close conversations explicitly via PATCH to trigger Memory extraction and CONVERSATION_END operators\n- List and filter Conversations by status, channel, and date range\n- Read Communications (messages + voice utterances) within a Conversation\n- Authenticate with Account SID\u002FAuth Token or API Key\u002FSecret\n\n### CANNOT\n\n- **Cannot update Configurations with PATCH** — PUT only, full replacement. Omitting fields deletes them. Always re-fetch before updating.\n- **Cannot exceed 10 Configurations per account** — Hard limit at GA. Each config supports up to 100 capture rules per channel. Delete unused configs to make room. Plan Configuration topology for large phone number portfolios accordingly (e.g., 101 numbers for one channel requires 2 configs).\n- **Cannot change grouping type after creation** — `conversationGroupingType` is immutable on a Configuration. Create a new config if you need a different grouping.\n- **Cannot capture CLIENT or SIP voice calls without explicit callType metadata** — PSTN is captured by default. Browser (Client SDK) and SIP calls require `metadata.callType` in capture rules.\n- **Not recommended to combine passive VOICE capture rules with active TwiML voice (ConversationRelay or Transcription with conversation parameters)** — You will be double-charged for STT. The system does not prevent this configuration, but it is not recommended. Passive voice capture uses Real-Time Transcription (RTT) under the hood. If you pass `conversationConfiguration` or `conversationId` in `\u003CConversationRelay>` or `\u003CTranscription>` TwiML, you are using active ingestion which has its own STT engine. Both engines will run = double STT billing. Use active TwiML (pass conversation parameters) OR passive capture rules (captureRules), not both for the same traffic. See the [Voice Double Billing Warning](#️-critical-voice-double-billing-warning) section above.\n- **Cannot detect failed Memory linkage** — If `memoryStoreId` points to a deleted or invalid store, capture still works but identity resolution and extraction silently fail. See `twilio-debugging-observability`.\n- **Cannot filter Intelligence operators by participant type** — Operators fire on ALL Communications (customer and agent). Use the operator prompt to specify which participant to analyze.\n- **Cannot extract Memory observations mid-conversation (ACTIVE state)** — Extraction is opt-in and can fire on INACTIVE and\u002For CLOSED lifecycle transitions, but not while the conversation is ACTIVE. For real-time Memory writes during an active conversation, post Observations directly via `twilio-conversation-memory`.\n- **Cannot have conversations pick up config changes retroactively** — Conversations pin the Configuration version at creation time. Close existing conversations to apply updated rules.\n- **Cannot use the POST response to get the Configuration ID** — Creation returns 202 with an operation. Poll the operation's `statusUrl` until `status` is `COMPLETED`, then retrieve the configuration ID from the operation result.\n- **No standalone operation** — Requires a Memory Store because Conversation Orchestrator uses profiles for identity resolution. `memoryStoreId` is mandatory when creating a Configuration.\n- **JSON-only API** — All Conversation Orchestrator endpoints require `Content-Type: application\u002Fjson`. Form-encoded bodies are rejected.\n\n## Quick Decision\n\n| Need | Use | Why |\n|------|-----|-----|\n| Already have ConversationRelay or Transcription voice implementation | Pass `conversationConfiguration` or `conversationId` in TwiML (Active ingestion) — do NOT add passive VOICE capture rules | More granular control over which calls are captured. Avoids double STT billing. |\n| Capture all messaging into unified customer conversations | Configuration with passive capture rules + Memory Store + `GROUP_BY_PROFILE` | Automatic capture with cross-channel identity resolution |\n| Keep voice and SMS conversations separate | Configuration with `GROUP_BY_PARTICIPANT_ADDRESSES_AND_CHANNEL_TYPE` | Channel-isolated threads for per-channel analytics |\n| Auto-extract customer observations from conversations | Set `memoryExtractionEnabled: true` on Configuration | Triggers on conversation close, writes to linked Memory Store |\n| Analyze conversations with Intelligence operators | Link `intelligenceConfigurationIds` on Configuration | Operators fire per Communication or at conversation close |\n| Capture browser voice calls (Client SDK) | Add VOICE capture rule with `metadata.callType: \"CLIENT\"` | PSTN-only by default; CLIENT needs explicit rule |\n| Capture CHAT (via Conversation API (classic)) | Set `conversationsV1Bridge.serviceId` on Configuration | CHAT flows through a Conversations (v1) Service bridged into Orchestrator |\n\n## ⚠️ CRITICAL: Voice Double Billing Warning\n\n> **WARNING: You can be charged for STT (speech-to-text) twice on the same call if misconfigured.**\n\n**We do not recommend using passive voice capture rules (`captureRules`) in your Configuration when using active TwiML.**\n\nWhen you pass `conversationConfiguration` or `conversationId` in your TwiML:\n- `\u003CConversationRelay conversationConfiguration=\"CONFIG_ID\">` — Active TwiML mode\n- `\u003CConversationRelay conversationId=\"CONVERSATION_ID\">` — Active TwiML mode  \n- `\u003CTranscription conversationConfiguration=\"CONFIG_ID\">` — Active TwiML mode\n- `\u003CTranscription conversationId=\"CONVERSATION_ID\">` — Active TwiML mode\n\nYou are using **active ingestion**. Your voice is already being captured and transcribed.\n\n**What causes double billing:**\n- Passive voice capture rules use Real-Time Transcription (RTT) under the hood\n- ConversationRelay\u002FTranscription use their own STT engines\n- If both are active on the same call = **you pay for BOTH STT engines**\n\n**Correct configuration for active voice (TwiML):**\n```json\n{\n  \"channelSettings\": {\n    \"VOICE\": {\n      \"statusTimeouts\": null  \u002F\u002F ✅ Define channel settings\n      \u002F\u002F ❌ NO captureRules — omit this field entirely\n    }\n  }\n}\n```\n\n**When to use passive voice capture rules:**\n- Human agent calls WITHOUT ConversationRelay or Transcription TwiML\n- You want automatic capture with no TwiML changes\n\n**When to use active voice (TwiML parameters):**\n- AI voice agents with ConversationRelay\n- Adding transcription to existing API-created conversations\n- Any scenario where you're already passing conversation parameters in TwiML\n\n## Decision Frameworks\n\n### Conversation Grouping\n\nThe `conversationGroupingType` on your configuration controls how new traffic groups into conversations.\n\n| Type | Behavior | When to use |\n|------|----------|-------------|\n| `GROUP_BY_PARTICIPANT_ADDRESSES_AND_CHANNEL_TYPE` | Separate conversations per channel. SMS and Voice between the same numbers create different conversations. | The default. Keeps channels separate. |\n| `GROUP_BY_PARTICIPANT_ADDRESSES` | Same conversation across channels when participants share an address. | Omnichannel on the same addresses—customer can switch between SMS and Voice seamlessly. |\n| `GROUP_BY_PROFILE` | Groups by customer profile. The same customer from different devices or channels goes to one conversation. | Preferred for production. Recommended when channels use different addresses (chat and voice). |\n\n**Immutable after creation.** Choose before creating the Configuration. To change grouping, create a new Configuration.\n\n### Supported Channels\n\nConversation Orchestrator supports voice, SMS, RCS, and WhatsApp channels. You can also bring Chat traffic in through the Conversations API (classic) bridge.\n\n| Channel | Address Format | Example | Ingestion Modes |\n|---------|---------------|---------|-----------------|\n| Voice (PSTN) | E.164 phone number | `+15559876543` | Passive and active |\n| Voice (CLIENT) | Client identity string | `agent-1` | Passive and active |\n| Voice (PUBLIC_SIP) | SIP URI or E.164 phone number | `sip:user@example.com` | Passive and active |\n| SMS | E.164 phone number | `+15551234567` | Passive and active |\n| RCS | E.164 phone number | `+15551234567` | Passive and active |\n| WhatsApp | E.164 phone number | `+15551234567` | Passive and active |\n| Chat | Identity string | `user123` | Conversations API (classic) bridge only |\n\n### Channel Configuration Details\n\n**Voice:**\n- Use `callType` metadata in passive capture rules to distinguish call types:\n  - `PSTN` — Standard phone calls over the public network\n  - `CLIENT` — In-app calls using Twilio Voice SDK\n  - `PUBLIC_SIP` — Calls over a SIP interface\n- When you save voice capture rules, Conversation Orchestrator automatically provisions call filtering and Real-Time Transcription\n- Each TTS fragment is a separate communication (3-5 per agent response)\n- Voice communications have `content.type` of `TRANSCRIPTION`\n- **Warning**: For dynamic or numerous client identities, use active TwiML instead of passive capture rules. Don't use wildcard identities with `CLIENT` call type.\n\n**SMS:**\n- Bidirectional capture rules needed (from: phone, to: * AND from: *, to: phone)\n- Communications have `content.type` of `TEXT`\n- Includes `deliveryStatus` in recipients array\n- Recommended timeouts: `inactive: 10, closed: 60`\n\n**RCS:**\n- Same pattern as SMS\n- Text body captured; media attachments are not added to conversations\n- Recommended timeouts: `inactive: 10, closed: 60`\n\n**WhatsApp:**\n- E.164 format addresses (with or without `whatsapp:` prefix)\n- Text and template messages supported\n- Media attachments on inbound\u002Foutbound messages are not added to conversations\n- Recommended timeouts: `inactive: 10, closed: 60`\n\n**Chat (via Conversations API (classic)):**\n- Only available through Conversations API (classic) bridge\n- Uses customer-defined identity strings\n- Configure `conversationsV1Bridge.serviceId` on Configuration\n- Classic `ConversationSid` carried on address as `channelId`\n- Recommended timeouts: `inactive: 15, closed: 60`\n\n## Integration Patterns\n\nCode samples use raw `fetch()` for clarity. All Conversation Orchestrator APIs use Basic Auth — see `twilio-iam-auth-setup`.\n\n### Authentication Helper\n\n```javascript\nconst CONVERSATIONS_V2_BASE = 'https:\u002F\u002Fconversations.twilio.com\u002Fv2';\n\nfunction getAuthHeaders() {\n  const credentials = Buffer.from(\n    `${process.env.TWILIO_ACCOUNT_SID}:${process.env.TWILIO_AUTH_TOKEN}`\n  ).toString('base64');\n  return {\n    'Authorization': `Basic ${credentials}`,\n    'Content-Type': 'application\u002Fjson',\n  };\n}\n```\n\n### Create a Configuration\n\n```javascript\nconst configResponse = await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations`,\n  {\n    method: 'POST',\n    headers: getAuthHeaders(),\n    body: JSON.stringify({\n      displayName: 'my-app-config',\n      description: 'Production conversation config',\n      conversationGroupingType: 'GROUP_BY_PROFILE',\n      memoryStoreId: 'mem_store_...', \u002F\u002F Required — create via Memory API first\n      memoryExtractionEnabled: true,\n      channelSettings: {\n        SMS: {\n          captureRules: [\n            { from: '+15551234567', to: '*', metadata: {} },\n            { from: '*', to: '+15551234567', metadata: {} },\n          ],\n          statusTimeouts: { inactive: 10, closed: 60 },\n        },\n        VOICE: {\n          captureRules: [\n            { from: '*', to: '+15551234567', metadata: {} },\n          ],\n        },\n      },\n    }),\n  }\n);\n\u002F\u002F May return 202 without config ID — poll GET \u002FControlPlane\u002FConfigurations to find by displayName\n```\n\n```python\nimport os, requests\n\naccount_sid = os.environ[\"TWILIO_ACCOUNT_SID\"]\nauth_token = os.environ[\"TWILIO_AUTH_TOKEN\"]\ntwilio_phone = os.environ[\"TWILIO_PHONE_NUMBER\"]\n\nconfig = requests.post(\n    \"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FControlPlane\u002FConfigurations\",\n    auth=(account_sid, auth_token),\n    json={\n        \"displayName\": \"my-app-config\",\n        \"description\": \"Production conversation config\",\n        \"conversationGroupingType\": \"GROUP_BY_PROFILE\",\n        \"memoryStoreId\": \"mem_store_...\",\n        \"memoryExtractionEnabled\": True,\n        \"channelSettings\": {\n            \"SMS\": {\n                \"captureRules\": [\n                    {\"from\": twilio_phone, \"to\": \"*\", \"metadata\": {}},\n                    {\"from\": \"*\", \"to\": twilio_phone, \"metadata\": {}}\n                ],\n                \"statusTimeouts\": {\"inactive\": 10, \"closed\": 60}\n            },\n            \"VOICE\": {\n                \"captureRules\": [\n                    {\"from\": \"*\", \"to\": twilio_phone, \"metadata\": {}}\n                ]\n            }\n        }\n    }\n).json()\n```\n\n### Update a Configuration (PUT — Full Replacement)\n\n```javascript\n\u002F\u002F Step 1: Fetch current config (ALWAYS re-fetch before updating)\nconst current = await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations\u002F${configId}`,\n  { headers: getAuthHeaders() }\n).then(r => r.json());\n\n\u002F\u002F Step 2: Modify the field you need\ncurrent.channelSettings.VOICE.captureRules.push(\n  { from: '*', to: '+15551234567', metadata: { callType: 'CLIENT' } }\n);\n\n\u002F\u002F Step 3: PUT the complete object back\nawait fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations\u002F${configId}`,\n  {\n    method: 'PUT',\n    headers: getAuthHeaders(),\n    body: JSON.stringify(current),\n  }\n);\n```\n\n```python\n# Fetch current config\ncurrent = requests.get(\n    f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FControlPlane\u002FConfigurations\u002F{config_id}\",\n    auth=(account_sid, auth_token)\n).json()\n\n# Modify and PUT the whole thing back\ncurrent[\"channelSettings\"][\"VOICE\"][\"captureRules\"].append(\n    {\"from\": \"*\", \"to\": twilio_phone, \"metadata\": {\"callType\": \"CLIENT\"}}\n)\n\nrequests.put(\n    f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FControlPlane\u002FConfigurations\u002F{config_id}\",\n    auth=(account_sid, auth_token),\n    json=current\n)\n```\n\n### Link Intelligence Configuration\n\n```javascript\n\u002F\u002F Fetch current config, add Intelligence, PUT back\nconst current = await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations\u002F${configId}`,\n  { headers: getAuthHeaders() }\n).then(r => r.json());\n\ncurrent.intelligenceConfigurationIds = [intelligenceConfigId];\n\nawait fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations\u002F${configId}`,\n  {\n    method: 'PUT',\n    headers: getAuthHeaders(),\n    body: JSON.stringify(current),\n  }\n);\n```\n\n### Read Conversations and Communications\n\n```javascript\n\u002F\u002F List active conversations\nconst conversations = await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FConversations?Status=ACTIVE&PageSize=10`,\n  { headers: getAuthHeaders() }\n).then(r => r.json());\n\nfor (const conv of conversations.conversations ?? []) {\n  \u002F\u002F Note: List view has minimal data. For full details, fetch individual conversation\n  console.log(`Conversation: ${conv.id}, Created: ${conv.createdAt || 'N\u002FA'}`);\n  \n  \u002F\u002F List communications (messages + voice utterances)\n  const comms = await fetch(\n    `${CONVERSATIONS_V2_BASE}\u002FConversations\u002F${conv.id}\u002FCommunications`,\n    { headers: getAuthHeaders() }\n  ).then(r => r.json());\n\n  for (const comm of comms.communications ?? []) {\n    \u002F\u002F Use optional chaining - channel and body may be undefined in list view\n    console.log(`[${comm.channel ?? 'N\u002FA'}] ${comm.body ?? 'N\u002FA'}`);\n  }\n}\n```\n\n```python\nconversations = requests.get(\n    \"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\",\n    auth=(account_sid, auth_token),\n    params={\"Status\": \"ACTIVE\", \"PageSize\": 10}\n).json()\n\nfor conv in conversations.get(\"conversations\", []):\n    conv_id = conv[\"id\"]\n    # Note: List view has minimal data. Use .get() for defensive access\n    print(f\"Conversation: {conv_id}, Created: {conv.get('createdAt', 'N\u002FA')}\")\n    \n    comms = requests.get(\n        f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\u002F{conv_id}\u002FCommunications\",\n        auth=(account_sid, auth_token)\n    ).json()\n\n    for comm in comms.get(\"communications\", []):\n        # Use .get() - channel and body may be missing in list view\n        print(f\"  [{comm.get('channel', 'N\u002FA')}] {comm.get('body', 'N\u002FA')}\")\n```\n\n### Close a Conversation\n\nClosing triggers Memory extraction (if enabled) and CONVERSATION_END Intelligence operators.\n\n```javascript\nawait fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FConversations\u002F${convId}`,\n  {\n    method: 'PATCH',\n    headers: getAuthHeaders(),\n    body: JSON.stringify({ status: 'CLOSED' }),\n  }\n);\n```\n\n```python\nrequests.patch(\n    f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\u002F{conv_id}\",\n    auth=(account_sid, auth_token),\n    json={\"status\": \"CLOSED\"}\n)\n```\n\n### Voice Integration Patterns\n\n**Active TwiML (recommended for AI voice agents):** Pass `conversationConfiguration` on `\u003CConversationRelay>` to create a new conversation. Do NOT add passive VOICE `captureRules` — this avoids double STT billing. See the [Voice Double Billing Warning](#️-critical-voice-double-billing-warning) section above.\n\n```xml\n\u003CResponse>\n  \u003CConnect>\n    \u003CConversationRelay\n      url=\"wss:\u002F\u002Fyour-relay\u002Fvoice\"\n      conversationConfiguration=\"CONFIG_ID_HERE\"\n      ttsProvider=\"ElevenLabs\"\n      voice=\"your-voice-id\"\n    \u002F>\n  \u003C\u002FConnect>\n\u003C\u002FResponse>\n```\n\nStill define VOICE in `channelSettings` for lifecycle\u002Ftimeouts — just omit `captureRules`:\n```json\n{\n  \"channelSettings\": {\n    \"VOICE\": {\n      \"statusTimeouts\": null\n    }\n  }\n}\n```\n\n**Attach voice to an existing conversation (Real-Time Transcription):** Use `\u003CTranscription>` with `conversationId` to add a voice call's transcription to a conversation you created via API:\n\n```xml\n\u003CResponse>\n  \u003CStart>\n    \u003CTranscription conversationId=\"CONVERSATION_ID\"\u002F>\n  \u003C\u002FStart>\n  \u003CSay>Welcome to support. How can I help you today?\u003C\u002FSay>\n\u003C\u002FResponse>\n```\n\n**Passive voice capture (human agent calls):** Use VOICE `captureRules` to automatically capture calls without TwiML changes. Appropriate for human agent scenarios where ConversationRelay is not used:\n```json\n{\n  \"VOICE\": {\n    \"captureRules\": [\n      { \"from\": \"*\", \"to\": \"+15551234567\", \"metadata\": {} }\n    ]\n  }\n}\n```\n\n> **Warning:** Do NOT combine passive VOICE capture rules with active TwiML voice. See the [Voice Double Billing Warning](#️-critical-voice-double-billing-warning) section above.\n\n## Gotchas\n\n### Setup\n\n1. **Memory Store is required.** You cannot create a Configuration without a `memoryStoreId`. Create the Memory Store first via `twilio-conversation-memory`.\n\n2. **JSON-only API.** All Conversation Orchestrator endpoints require `Content-Type: application\u002Fjson`. Form-encoded bodies are rejected. This matches Intelligence v3 but differs from most Twilio APIs.\n\n3. **Async creation.** POST to `\u002FControlPlane\u002FConfigurations` returns 202 with an operation. Poll the operation's `statusUrl` until `status` is `COMPLETED`, then retrieve the configuration ID from the operation result.\n\n### Configuration\n\n4. **PUT replaces everything.** The most common bug: fetching a config, modifying one field, PUTting back — but forgetting to include `channelSettings` or `memoryStoreId`. The API accepts the PUT and silently removes the omitted fields. Always re-fetch, modify, PUT.\n\n5. **Grouping type is immutable.** `conversationGroupingType` cannot be changed after creation. To switch grouping, create a new Configuration and close conversations on the old one.\n\n6. **10 Configuration limit per account.** Hard limit at GA (up to 100 capture rules per channel per config). Delete unused Configurations to make room. For customers with large phone number portfolios, partition numbers across multiple Configurations.\n\n7. **CLIENT voice capture is opt-in.** Browser-originated calls via the Twilio Client SDK are not captured by default VOICE rules. You need a separate capture rule with `\"metadata\": {\"callType\": \"CLIENT\"}`. SIP calls similarly need `{\"callType\": \"PUBLIC_SIP\"}`. PSTN is the only type captured by default.\n\n8. **`conversationConfiguration` (no \"Id\" suffix) is the correct TwiML attribute name.** The attribute on `\u003CConversationRelay>` and `\u003CTranscription>` is `conversationConfiguration`, NOT `conversationConfigurationId`. The incorrect name is silently ignored (unrecognized TwiML attributes produce no error), resulting in no conversation being created.\n\n### Runtime\n\n9. **Timeout precedence across channels.** If a customer is on a voice call and sends an SMS, both channels are active in the same Conversation (with `GROUP_BY_PROFILE`). When the voice call ends, the SMS channel's timeout still governs — the Conversation won't close until the SMS timeout expires. Channel close events are proposals, not commands.\n\n10. **Config versioning pins at creation.** Intelligence rules and capture rules are pinned to the Configuration version at conversation creation time. Upgrading Intelligence (adding operators, changing rules) doesn't affect existing conversations. Close active conversations to pick up the new version.\n\n11. **ConversationRelay TTS fragmentation.** ConversationRelay writes one Communication per TTS fragment, not per complete utterance. A single agent response may produce 3-5 Communications. Intelligence operators fire per Communication, so operator cost scales with fragment count.\n\n12. **Overly broad wildcard VOICE rules match multiple call types.** A rule `{\"from\": \"*\", \"to\": \"*\", \"metadata\": {\"callType\": \"PSTN\"}}` will match all PSTN calls in your account, not just those to\u002Ffrom specific numbers. If you also have CLIENT capture rules, each call could match multiple rules, leading to unexpected conversation grouping. Always use specific `from` or `to` addresses to limit rule scope.\n\n13. **Active TwiML voice and passive capture rules cause double STT billing.** See the [Voice Double Billing Warning](#️-critical-voice-double-billing-warning) section for full details. Do not use passive VOICE `captureRules` when passing conversation parameters in TwiML.\n\n### Observability\n\n14. **Silent Memory linkage failure.** If `memoryStoreId` points to a deleted or invalid store, capture still works but identity resolution and extraction silently fail. No error is returned. See `twilio-debugging-observability`.\n\n15. **No participant type filtering for Intelligence.** Operators fire on ALL Communications — customer messages AND agent responses. There is no config-level filter. Use the operator prompt to specify which participant to analyze.\n\n16. **Memory extraction is opt-in and fires on INACTIVE and\u002For CLOSED.** Extraction does not run automatically — it must be enabled. It can be configured to fire on the INACTIVE transition, the CLOSED transition, or both. It does NOT fire while a conversation is ACTIVE. For mid-conversation Memory writes, post directly to the Observations endpoint via `twilio-conversation-memory`.\n\n17. **List endpoints return partial data.** When listing Conversations or Communications via GET `\u002FConversations` or `\u002FConversations\u002F{id}\u002FCommunications`, response objects are missing fields that are present when fetching individual resources. Missing fields include `dateCreated` (list) vs `createdAt` (single GET), `channels`, `body`, and `channel`. Always use defensive field access (`conv?.createdAt` or `conv.get('createdAt')`) and fetch individual resources if you need complete data. Example:\n```javascript\n\u002F\u002F List returns partial data\nconst list = await fetch(`${BASE}\u002FConversations?PageSize=10`);\nfor (const conv of list.conversations) {\n  console.log(conv.dateCreated); \u002F\u002F undefined\n  console.log(conv.createdAt);   \u002F\u002F also undefined in list view\n  \n  \u002F\u002F Fetch full details if needed\n  const full = await fetch(`${BASE}\u002FConversations\u002F${conv.id}`);\n  console.log(full.createdAt);   \u002F\u002F ✅ present (note: 'createdAt' not 'dateCreated')\n}\n```\n\n## Related Resources\n\n- [Conversation Intelligence Skill](\u002F.claude\u002Fskills\u002Ftwilio-conversation-intelligence\u002FSKILL.md) — Intelligence Configuration, Language Operators, real-time and post-conversation analysis\n- [Customer Memory Skill](\u002F.claude\u002Fskills\u002Ftwilio-conversation-memory\u002FSKILL.md) — Memory Store, profiles, traits, observations, Recall\n- [ConversationRelay Skill](\u002F.claude\u002Fskills\u002Ftwilio-voice-conversation-relay\u002FSKILL.md) — Voice AI agent setup with WebSocket streaming\n- [Agent Connect Skill](\u002F.claude\u002Fskills\u002Ftwilio-agent-connect\u002FSKILL.md) — AI-to-human escalation via TAC SDK\n- [Debugging Skill](\u002F.claude\u002Fskills\u002Ftwilio-debugging-observability\u002FSKILL.md) — Error triage, Event Streams, linkage chain verification\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,47,53,68,75,87,112,122,128,139,144,161,175,182,194,233,239,244,279,285,290,325,331,336,374,380,386,398,404,413,419,425,543,549,782,788,995,1000,1010,1023,1041,1085,1097,1105,1128,1136,1283,1291,1304,1312,1330,1336,1342,1354,1444,1454,1460,1465,1676,1682,1690,1788,1796,1845,1853,1875,1883,1918,1926,1979,1985,2005,2011,2363,2369,3133,3387,3393,3899,4028,4034,4384,4390,5069,5224,5230,5235,5435,5480,5486,5522,5611,5629,5734,5758,5811,5828,6009,6027,6033,6039,6118,6124,6246,6252,6346,6352,6484,6827,6833,6891],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"conversation-orchestrator",[44],{"type":45,"value":46},"text","Conversation Orchestrator",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51],{"type":45,"value":52},"Decision-making guide for Twilio's Conversation Orchestrator (Conversations v2) — automatic conversation capture and routing across Voice, SMS, WhatsApp, RCS, and web chat. Covers Configurations, capture rules, grouping types, channel settings, status timeouts, and linkage to Conversation Memory and Conversation Intelligence.",{"type":39,"tag":54,"props":55,"children":56},"blockquote",{},[57],{"type":39,"tag":48,"props":58,"children":59},{},[60,66],{"type":39,"tag":61,"props":62,"children":63},"strong",{},[64],{"type":45,"value":65},"GA",{"type":45,"value":67}," — Conversation Orchestrator is generally available.",{"type":39,"tag":69,"props":70,"children":72},"h2",{"id":71},"use-cases",[73],{"type":45,"value":74},"Use Cases",{"type":39,"tag":48,"props":76,"children":77},{},[78,80,85],{"type":45,"value":79},"Conversation Orchestrator powers ",{"type":39,"tag":61,"props":81,"children":82},{},[83],{"type":45,"value":84},"automatic conversation capture and integration with existing voice implementations",{"type":45,"value":86}," — replacing manual conversation creation with either:",{"type":39,"tag":88,"props":89,"children":90},"ul",{},[91,102],{"type":39,"tag":92,"props":93,"children":94},"li",{},[95,100],{"type":39,"tag":61,"props":96,"children":97},{},[98],{"type":45,"value":99},"Passive ingestion",{"type":45,"value":101},": Declarative capture rules that automatically capture traffic as it flows",{"type":39,"tag":92,"props":103,"children":104},{},[105,110],{"type":39,"tag":61,"props":106,"children":107},{},[108],{"type":45,"value":109},"Active ingestion",{"type":45,"value":111},": TwiML parameters or API calls that route existing implementations into conversations",{"type":39,"tag":48,"props":113,"children":114},{},[115,120],{"type":39,"tag":61,"props":116,"children":117},{},[118],{"type":45,"value":119},"Note:",{"type":45,"value":121}," Active and passive ingestion can be configured on a per-channel basis. For example, you can use passive capture rules for SMS while using active TwiML parameters for voice calls.",{"type":39,"tag":69,"props":123,"children":125},{"id":124},"️-critical-voice-double-billing-warning",[126],{"type":45,"value":127},"⚠️ CRITICAL: Voice Double Billing Warning",{"type":39,"tag":54,"props":129,"children":130},{},[131],{"type":39,"tag":48,"props":132,"children":133},{},[134],{"type":39,"tag":61,"props":135,"children":136},{},[137],{"type":45,"value":138},"WARNING: You can be charged for STT (speech-to-text) twice on the same call if misconfigured.",{"type":39,"tag":48,"props":140,"children":141},{},[142],{"type":45,"value":143},"If you are using voice with ConversationRelay or Transcription in TwiML:",{"type":39,"tag":48,"props":145,"children":146},{},[147],{"type":39,"tag":61,"props":148,"children":149},{},[150,152,159],{"type":45,"value":151},"We do not recommend using passive voice capture rules (",{"type":39,"tag":153,"props":154,"children":156},"code",{"className":155},[],[157],{"type":45,"value":158},"captureRules",{"type":45,"value":160},") in your Configuration when using active TwiML.",{"type":39,"tag":48,"props":162,"children":163},{},[164,166,173],{"type":45,"value":165},"See the full ",{"type":39,"tag":167,"props":168,"children":170},"a",{"href":169},"#%EF%B8%8F-critical-voice-double-billing-warning-1",[171],{"type":45,"value":172},"Voice Double Billing Warning",{"type":45,"value":174}," section below for details.",{"type":39,"tag":176,"props":177,"children":179},"h3",{"id":178},"unified-customer-context",[180],{"type":45,"value":181},"Unified Customer Context",{"type":39,"tag":48,"props":183,"children":184},{},[185,187,192],{"type":45,"value":186},"Capture all channels (voice, SMS, WhatsApp, RCS, CHAT (via Conversation API (classic))) into a single conversation thread per customer. Conversation Memory resolves identity across channels and maintains persistent context. ",{"type":39,"tag":61,"props":188,"children":189},{},[190],{"type":45,"value":191},"Start here",{"type":45,"value":193}," — this is the most common pattern.",{"type":39,"tag":88,"props":195,"children":196},{},[197,213,223],{"type":39,"tag":92,"props":198,"children":199},{},[200,205,207],{"type":39,"tag":61,"props":201,"children":202},{},[203],{"type":45,"value":204},"Grouping",{"type":45,"value":206},": ",{"type":39,"tag":153,"props":208,"children":210},{"className":209},[],[211],{"type":45,"value":212},"GROUP_BY_PROFILE",{"type":39,"tag":92,"props":214,"children":215},{},[216,221],{"type":39,"tag":61,"props":217,"children":218},{},[219],{"type":45,"value":220},"Channels",{"type":45,"value":222},": SMS + VOICE + WHATSAPP + RCS + CHAT (via Conversation API (classic))",{"type":39,"tag":92,"props":224,"children":225},{},[226,231],{"type":39,"tag":61,"props":227,"children":228},{},[229],{"type":45,"value":230},"Linkage",{"type":45,"value":232},": Memory Store (identity resolution) + Intelligence (analysis)",{"type":39,"tag":176,"props":234,"children":236},{"id":235},"channel-isolated-analytics",[237],{"type":45,"value":238},"Channel-Isolated Analytics",{"type":39,"tag":48,"props":240,"children":241},{},[242],{"type":45,"value":243},"Keep voice transcripts separate from SMS threads for per-channel analysis. Intelligence operators run independently on each channel's conversation.",{"type":39,"tag":88,"props":245,"children":246},{},[247,261,270],{"type":39,"tag":92,"props":248,"children":249},{},[250,254,255],{"type":39,"tag":61,"props":251,"children":252},{},[253],{"type":45,"value":204},{"type":45,"value":206},{"type":39,"tag":153,"props":256,"children":258},{"className":257},[],[259],{"type":45,"value":260},"GROUP_BY_PARTICIPANT_ADDRESSES_AND_CHANNEL_TYPE",{"type":39,"tag":92,"props":262,"children":263},{},[264,268],{"type":39,"tag":61,"props":265,"children":266},{},[267],{"type":45,"value":220},{"type":45,"value":269},": SMS + VOICE (separate conversations)",{"type":39,"tag":92,"props":271,"children":272},{},[273,277],{"type":39,"tag":61,"props":274,"children":275},{},[276],{"type":45,"value":230},{"type":45,"value":278},": Intelligence (per-channel operators)",{"type":39,"tag":176,"props":280,"children":282},{"id":281},"agent-connect-integration",[283],{"type":45,"value":284},"Agent Connect Integration",{"type":39,"tag":48,"props":286,"children":287},{},[288],{"type":45,"value":289},"Capture conversations for AI-to-human escalation via Agent Connect (TAC SDK). Uses address-pair grouping required by the SDK.",{"type":39,"tag":88,"props":291,"children":292},{},[293,307,316],{"type":39,"tag":92,"props":294,"children":295},{},[296,300,301],{"type":39,"tag":61,"props":297,"children":298},{},[299],{"type":45,"value":204},{"type":45,"value":206},{"type":39,"tag":153,"props":302,"children":304},{"className":303},[],[305],{"type":45,"value":306},"GROUP_BY_PARTICIPANT_ADDRESSES",{"type":39,"tag":92,"props":308,"children":309},{},[310,314],{"type":39,"tag":61,"props":311,"children":312},{},[313],{"type":45,"value":220},{"type":45,"value":315},": SMS or VOICE",{"type":39,"tag":92,"props":317,"children":318},{},[319,323],{"type":39,"tag":61,"props":320,"children":321},{},[322],{"type":45,"value":230},{"type":45,"value":324},": Memory Store + Intelligence + Agent Connect",{"type":39,"tag":176,"props":326,"children":328},{"id":327},"post-conversation-memory-extraction",[329],{"type":45,"value":330},"Post-Conversation Memory Extraction",{"type":39,"tag":48,"props":332,"children":333},{},[334],{"type":45,"value":335},"Automatically extract observations from conversations into Conversation Memory. Opt-in — configure once, every conversation feeds the memory loop.",{"type":39,"tag":88,"props":337,"children":338},{},[339,354,364],{"type":39,"tag":92,"props":340,"children":341},{},[342,347,348],{"type":39,"tag":61,"props":343,"children":344},{},[345],{"type":45,"value":346},"Config",{"type":45,"value":206},{"type":39,"tag":153,"props":349,"children":351},{"className":350},[],[352],{"type":45,"value":353},"memoryExtractionEnabled: true",{"type":39,"tag":92,"props":355,"children":356},{},[357,362],{"type":39,"tag":61,"props":358,"children":359},{},[360],{"type":45,"value":361},"Trigger",{"type":45,"value":363},": INACTIVE and\u002For CLOSED lifecycle transitions (configurable)",{"type":39,"tag":92,"props":365,"children":366},{},[367,372],{"type":39,"tag":61,"props":368,"children":369},{},[370],{"type":45,"value":371},"Result",{"type":45,"value":373},": Observations and summaries written to linked Memory Store profiles",{"type":39,"tag":69,"props":375,"children":377},{"id":376},"how-it-works",[378],{"type":45,"value":379},"How It Works",{"type":39,"tag":176,"props":381,"children":383},{"id":382},"passive-ingestion-capture-rules",[384],{"type":45,"value":385},"Passive Ingestion (Capture Rules)",{"type":39,"tag":387,"props":388,"children":392},"pre",{"className":389,"code":391,"language":45},[390],"language-text","┌─────────────────────────────────────────────────────────────────────────────┐\n│  1. Inbound\u002Foutbound traffic arrives (SMS, Voice, WhatsApp, RCS)           │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  2. Capture rules match on phone number patterns                           │\n│     - from\u002Fto with wildcards (e.g., from: *, to: +15551234567)             │\n│     - Per-channel rules (SMS, VOICE, WHATSAPP, RCS)                        │\n│     - Metadata filters (callType for CLIENT\u002FSIP)                           │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  3. Conversation auto-created (or existing one matched via grouping)        │\n│     - GROUP_BY_PROFILE: merge by Memory Profile identity                   │\n│     - GROUP_BY_PARTICIPANT_ADDRESSES: merge by address pair                │\n│     - GROUP_BY_..._AND_CHANNEL_TYPE: separate per channel                  │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  4. Linked services activate                                               │\n│     - Memory Store: identity resolution, profile auto-creation             │\n│     - Intelligence: operators fire per Communication or at close           │\n│     - Status timeouts: ACTIVE → INACTIVE → CLOSED lifecycle                │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  5. On conversation close                                                  │\n│     - Memory extraction: observations written to Memory Store              │\n│     - CONVERSATION_END Intelligence operators fire (Summary, etc.)         │\n│     - Status callbacks delivered (if configured)                           │\n└─────────────────────────────────────────────────────────────────────────────┘\n",[393],{"type":39,"tag":153,"props":394,"children":396},{"__ignoreMap":395},"",[397],{"type":45,"value":391},{"type":39,"tag":176,"props":399,"children":401},{"id":400},"active-ingestion-twiml-or-api",[402],{"type":45,"value":403},"Active Ingestion (TwiML or API)",{"type":39,"tag":387,"props":405,"children":408},{"className":406,"code":407,"language":45},[390],"┌─────────────────────────────────────────────────────────────────────────────┐\n│  1. Voice call arrives OR you create conversation via API                  │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  2a. TwiML: Pass conversationConfiguration or conversationId parameter      │\n│      - \u003CConversationRelay conversationConfiguration=\"CONFIG_ID\">           │\n│      - \u003CTranscription conversationId=\"CONV_ID\">                            │\n│  2b. API: POST to \u002Fv2\u002FConversations with participants                      │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  3. Conversation created or matched based on parameter                      │\n│     - conversationConfiguration: uses grouping rules                       │\n│     - conversationId: routes to specific conversation                      │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  4. Voice transcription or API communications added                         │\n│     - Same linked services activate (Memory Store, Intelligence)           │\n│     - Same lifecycle: ACTIVE → INACTIVE → CLOSED                           │\n└─────────────────────────────────────────────────────────────────────────────┘\n                                      │\n                                      ▼\n┌─────────────────────────────────────────────────────────────────────────────┐\n│  5. On conversation close                                                  │\n│     - Memory extraction: observations written to Memory Store              │\n│     - CONVERSATION_END Intelligence operators fire (Summary, etc.)         │\n│     - Status callbacks delivered (if configured)                           │\n└─────────────────────────────────────────────────────────────────────────────┘\n",[409],{"type":39,"tag":153,"props":410,"children":411},{"__ignoreMap":395},[412],{"type":45,"value":407},{"type":39,"tag":69,"props":414,"children":416},{"id":415},"scope",[417],{"type":45,"value":418},"Scope",{"type":39,"tag":176,"props":420,"children":422},{"id":421},"can",[423],{"type":45,"value":424},"CAN",{"type":39,"tag":88,"props":426,"children":427},{},[428,433,443,448,453,464,469,474,487,523,528,533,538],{"type":39,"tag":92,"props":429,"children":430},{},[431],{"type":45,"value":432},"Automatically capture SMS, voice, WhatsApp, RCS, and CHAT (via Conversation API (classic)) into Conversations via passive ingestion (capture rules) OR work with existing voice implementations via active ingestion (TwiML parameters: conversationConfiguration, conversationId)",{"type":39,"tag":92,"props":434,"children":435},{},[436,438],{"type":45,"value":437},"Merge multiple channels into one Conversation thread via ",{"type":39,"tag":153,"props":439,"children":441},{"className":440},[],[442],{"type":45,"value":212},{"type":39,"tag":92,"props":444,"children":445},{},[446],{"type":45,"value":447},"Link Memory Store for automatic identity resolution and observation extraction",{"type":39,"tag":92,"props":449,"children":450},{},[451],{"type":45,"value":452},"Link multiple Intelligence Configurations for real-time and post-conversation analysis",{"type":39,"tag":92,"props":454,"children":455},{},[456,458],{"type":45,"value":457},"Bridge Conversation API (classic) Services for browser SDK chat via ",{"type":39,"tag":153,"props":459,"children":461},{"className":460},[],[462],{"type":45,"value":463},"conversationsV1Bridge",{"type":39,"tag":92,"props":465,"children":466},{},[467],{"type":45,"value":468},"Configure per-channel capture rules with wildcard matching",{"type":39,"tag":92,"props":470,"children":471},{},[472],{"type":45,"value":473},"Set independent timeout policies per channel",{"type":39,"tag":92,"props":475,"children":476},{},[477,479,485],{"type":45,"value":478},"Add ",{"type":39,"tag":153,"props":480,"children":482},{"className":481},[],[483],{"type":45,"value":484},"statusCallbacks",{"type":45,"value":486}," for webhook notifications on conversation state changes",{"type":39,"tag":92,"props":488,"children":489},{},[490,492,498,500,506,508,514,515,521],{"type":45,"value":491},"Pass ",{"type":39,"tag":153,"props":493,"children":495},{"className":494},[],[496],{"type":45,"value":497},"conversationConfiguration",{"type":45,"value":499}," or ",{"type":39,"tag":153,"props":501,"children":503},{"className":502},[],[504],{"type":45,"value":505},"conversationId",{"type":45,"value":507}," in ",{"type":39,"tag":153,"props":509,"children":511},{"className":510},[],[512],{"type":45,"value":513},"\u003CConversationRelay>",{"type":45,"value":499},{"type":39,"tag":153,"props":516,"children":518},{"className":517},[],[519],{"type":45,"value":520},"\u003CTranscription>",{"type":45,"value":522}," TwiML to create or route to a conversation (Active TwiML mode) — both parameters supported in both TwiML verbs",{"type":39,"tag":92,"props":524,"children":525},{},[526],{"type":45,"value":527},"Close conversations explicitly via PATCH to trigger Memory extraction and CONVERSATION_END operators",{"type":39,"tag":92,"props":529,"children":530},{},[531],{"type":45,"value":532},"List and filter Conversations by status, channel, and date range",{"type":39,"tag":92,"props":534,"children":535},{},[536],{"type":45,"value":537},"Read Communications (messages + voice utterances) within a Conversation",{"type":39,"tag":92,"props":539,"children":540},{},[541],{"type":45,"value":542},"Authenticate with Account SID\u002FAuth Token or API Key\u002FSecret",{"type":39,"tag":176,"props":544,"children":546},{"id":545},"cannot",[547],{"type":45,"value":548},"CANNOT",{"type":39,"tag":88,"props":550,"children":551},{},[552,562,572,590,608,650,676,686,703,713,747,764],{"type":39,"tag":92,"props":553,"children":554},{},[555,560],{"type":39,"tag":61,"props":556,"children":557},{},[558],{"type":45,"value":559},"Cannot update Configurations with PATCH",{"type":45,"value":561}," — PUT only, full replacement. Omitting fields deletes them. Always re-fetch before updating.",{"type":39,"tag":92,"props":563,"children":564},{},[565,570],{"type":39,"tag":61,"props":566,"children":567},{},[568],{"type":45,"value":569},"Cannot exceed 10 Configurations per account",{"type":45,"value":571}," — Hard limit at GA. Each config supports up to 100 capture rules per channel. Delete unused configs to make room. Plan Configuration topology for large phone number portfolios accordingly (e.g., 101 numbers for one channel requires 2 configs).",{"type":39,"tag":92,"props":573,"children":574},{},[575,580,582,588],{"type":39,"tag":61,"props":576,"children":577},{},[578],{"type":45,"value":579},"Cannot change grouping type after creation",{"type":45,"value":581}," — ",{"type":39,"tag":153,"props":583,"children":585},{"className":584},[],[586],{"type":45,"value":587},"conversationGroupingType",{"type":45,"value":589}," is immutable on a Configuration. Create a new config if you need a different grouping.",{"type":39,"tag":92,"props":591,"children":592},{},[593,598,600,606],{"type":39,"tag":61,"props":594,"children":595},{},[596],{"type":45,"value":597},"Cannot capture CLIENT or SIP voice calls without explicit callType metadata",{"type":45,"value":599}," — PSTN is captured by default. Browser (Client SDK) and SIP calls require ",{"type":39,"tag":153,"props":601,"children":603},{"className":602},[],[604],{"type":45,"value":605},"metadata.callType",{"type":45,"value":607}," in capture rules.",{"type":39,"tag":92,"props":609,"children":610},{},[611,616,618,623,624,629,630,635,636,641,643,648],{"type":39,"tag":61,"props":612,"children":613},{},[614],{"type":45,"value":615},"Not recommended to combine passive VOICE capture rules with active TwiML voice (ConversationRelay or Transcription with conversation parameters)",{"type":45,"value":617}," — You will be double-charged for STT. The system does not prevent this configuration, but it is not recommended. Passive voice capture uses Real-Time Transcription (RTT) under the hood. If you pass ",{"type":39,"tag":153,"props":619,"children":621},{"className":620},[],[622],{"type":45,"value":497},{"type":45,"value":499},{"type":39,"tag":153,"props":625,"children":627},{"className":626},[],[628],{"type":45,"value":505},{"type":45,"value":507},{"type":39,"tag":153,"props":631,"children":633},{"className":632},[],[634],{"type":45,"value":513},{"type":45,"value":499},{"type":39,"tag":153,"props":637,"children":639},{"className":638},[],[640],{"type":45,"value":520},{"type":45,"value":642}," TwiML, you are using active ingestion which has its own STT engine. Both engines will run = double STT billing. Use active TwiML (pass conversation parameters) OR passive capture rules (captureRules), not both for the same traffic. See the ",{"type":39,"tag":167,"props":644,"children":646},{"href":645},"#%EF%B8%8F-critical-voice-double-billing-warning",[647],{"type":45,"value":172},{"type":45,"value":649}," section above.",{"type":39,"tag":92,"props":651,"children":652},{},[653,658,660,666,668,674],{"type":39,"tag":61,"props":654,"children":655},{},[656],{"type":45,"value":657},"Cannot detect failed Memory linkage",{"type":45,"value":659}," — If ",{"type":39,"tag":153,"props":661,"children":663},{"className":662},[],[664],{"type":45,"value":665},"memoryStoreId",{"type":45,"value":667}," points to a deleted or invalid store, capture still works but identity resolution and extraction silently fail. See ",{"type":39,"tag":153,"props":669,"children":671},{"className":670},[],[672],{"type":45,"value":673},"twilio-debugging-observability",{"type":45,"value":675},".",{"type":39,"tag":92,"props":677,"children":678},{},[679,684],{"type":39,"tag":61,"props":680,"children":681},{},[682],{"type":45,"value":683},"Cannot filter Intelligence operators by participant type",{"type":45,"value":685}," — Operators fire on ALL Communications (customer and agent). Use the operator prompt to specify which participant to analyze.",{"type":39,"tag":92,"props":687,"children":688},{},[689,694,696,702],{"type":39,"tag":61,"props":690,"children":691},{},[692],{"type":45,"value":693},"Cannot extract Memory observations mid-conversation (ACTIVE state)",{"type":45,"value":695}," — Extraction is opt-in and can fire on INACTIVE and\u002For CLOSED lifecycle transitions, but not while the conversation is ACTIVE. For real-time Memory writes during an active conversation, post Observations directly via ",{"type":39,"tag":153,"props":697,"children":699},{"className":698},[],[700],{"type":45,"value":701},"twilio-conversation-memory",{"type":45,"value":675},{"type":39,"tag":92,"props":704,"children":705},{},[706,711],{"type":39,"tag":61,"props":707,"children":708},{},[709],{"type":45,"value":710},"Cannot have conversations pick up config changes retroactively",{"type":45,"value":712}," — Conversations pin the Configuration version at creation time. Close existing conversations to apply updated rules.",{"type":39,"tag":92,"props":714,"children":715},{},[716,721,723,729,731,737,739,745],{"type":39,"tag":61,"props":717,"children":718},{},[719],{"type":45,"value":720},"Cannot use the POST response to get the Configuration ID",{"type":45,"value":722}," — Creation returns 202 with an operation. Poll the operation's ",{"type":39,"tag":153,"props":724,"children":726},{"className":725},[],[727],{"type":45,"value":728},"statusUrl",{"type":45,"value":730}," until ",{"type":39,"tag":153,"props":732,"children":734},{"className":733},[],[735],{"type":45,"value":736},"status",{"type":45,"value":738}," is ",{"type":39,"tag":153,"props":740,"children":742},{"className":741},[],[743],{"type":45,"value":744},"COMPLETED",{"type":45,"value":746},", then retrieve the configuration ID from the operation result.",{"type":39,"tag":92,"props":748,"children":749},{},[750,755,757,762],{"type":39,"tag":61,"props":751,"children":752},{},[753],{"type":45,"value":754},"No standalone operation",{"type":45,"value":756}," — Requires a Memory Store because Conversation Orchestrator uses profiles for identity resolution. ",{"type":39,"tag":153,"props":758,"children":760},{"className":759},[],[761],{"type":45,"value":665},{"type":45,"value":763}," is mandatory when creating a Configuration.",{"type":39,"tag":92,"props":765,"children":766},{},[767,772,774,780],{"type":39,"tag":61,"props":768,"children":769},{},[770],{"type":45,"value":771},"JSON-only API",{"type":45,"value":773}," — All Conversation Orchestrator endpoints require ",{"type":39,"tag":153,"props":775,"children":777},{"className":776},[],[778],{"type":45,"value":779},"Content-Type: application\u002Fjson",{"type":45,"value":781},". Form-encoded bodies are rejected.",{"type":39,"tag":69,"props":783,"children":785},{"id":784},"quick-decision",[786],{"type":45,"value":787},"Quick Decision",{"type":39,"tag":789,"props":790,"children":791},"table",{},[792,816],{"type":39,"tag":793,"props":794,"children":795},"thead",{},[796],{"type":39,"tag":797,"props":798,"children":799},"tr",{},[800,806,811],{"type":39,"tag":801,"props":802,"children":803},"th",{},[804],{"type":45,"value":805},"Need",{"type":39,"tag":801,"props":807,"children":808},{},[809],{"type":45,"value":810},"Use",{"type":39,"tag":801,"props":812,"children":813},{},[814],{"type":45,"value":815},"Why",{"type":39,"tag":817,"props":818,"children":819},"tbody",{},[820,851,874,897,922,947,971],{"type":39,"tag":797,"props":821,"children":822},{},[823,829,846],{"type":39,"tag":824,"props":825,"children":826},"td",{},[827],{"type":45,"value":828},"Already have ConversationRelay or Transcription voice implementation",{"type":39,"tag":824,"props":830,"children":831},{},[832,833,838,839,844],{"type":45,"value":491},{"type":39,"tag":153,"props":834,"children":836},{"className":835},[],[837],{"type":45,"value":497},{"type":45,"value":499},{"type":39,"tag":153,"props":840,"children":842},{"className":841},[],[843],{"type":45,"value":505},{"type":45,"value":845}," in TwiML (Active ingestion) — do NOT add passive VOICE capture rules",{"type":39,"tag":824,"props":847,"children":848},{},[849],{"type":45,"value":850},"More granular control over which calls are captured. Avoids double STT billing.",{"type":39,"tag":797,"props":852,"children":853},{},[854,859,869],{"type":39,"tag":824,"props":855,"children":856},{},[857],{"type":45,"value":858},"Capture all messaging into unified customer conversations",{"type":39,"tag":824,"props":860,"children":861},{},[862,864],{"type":45,"value":863},"Configuration with passive capture rules + Memory Store + ",{"type":39,"tag":153,"props":865,"children":867},{"className":866},[],[868],{"type":45,"value":212},{"type":39,"tag":824,"props":870,"children":871},{},[872],{"type":45,"value":873},"Automatic capture with cross-channel identity resolution",{"type":39,"tag":797,"props":875,"children":876},{},[877,882,892],{"type":39,"tag":824,"props":878,"children":879},{},[880],{"type":45,"value":881},"Keep voice and SMS conversations separate",{"type":39,"tag":824,"props":883,"children":884},{},[885,887],{"type":45,"value":886},"Configuration with ",{"type":39,"tag":153,"props":888,"children":890},{"className":889},[],[891],{"type":45,"value":260},{"type":39,"tag":824,"props":893,"children":894},{},[895],{"type":45,"value":896},"Channel-isolated threads for per-channel analytics",{"type":39,"tag":797,"props":898,"children":899},{},[900,905,917],{"type":39,"tag":824,"props":901,"children":902},{},[903],{"type":45,"value":904},"Auto-extract customer observations from conversations",{"type":39,"tag":824,"props":906,"children":907},{},[908,910,915],{"type":45,"value":909},"Set ",{"type":39,"tag":153,"props":911,"children":913},{"className":912},[],[914],{"type":45,"value":353},{"type":45,"value":916}," on Configuration",{"type":39,"tag":824,"props":918,"children":919},{},[920],{"type":45,"value":921},"Triggers on conversation close, writes to linked Memory Store",{"type":39,"tag":797,"props":923,"children":924},{},[925,930,942],{"type":39,"tag":824,"props":926,"children":927},{},[928],{"type":45,"value":929},"Analyze conversations with Intelligence operators",{"type":39,"tag":824,"props":931,"children":932},{},[933,935,941],{"type":45,"value":934},"Link ",{"type":39,"tag":153,"props":936,"children":938},{"className":937},[],[939],{"type":45,"value":940},"intelligenceConfigurationIds",{"type":45,"value":916},{"type":39,"tag":824,"props":943,"children":944},{},[945],{"type":45,"value":946},"Operators fire per Communication or at conversation close",{"type":39,"tag":797,"props":948,"children":949},{},[950,955,966],{"type":39,"tag":824,"props":951,"children":952},{},[953],{"type":45,"value":954},"Capture browser voice calls (Client SDK)",{"type":39,"tag":824,"props":956,"children":957},{},[958,960],{"type":45,"value":959},"Add VOICE capture rule with ",{"type":39,"tag":153,"props":961,"children":963},{"className":962},[],[964],{"type":45,"value":965},"metadata.callType: \"CLIENT\"",{"type":39,"tag":824,"props":967,"children":968},{},[969],{"type":45,"value":970},"PSTN-only by default; CLIENT needs explicit rule",{"type":39,"tag":797,"props":972,"children":973},{},[974,979,990],{"type":39,"tag":824,"props":975,"children":976},{},[977],{"type":45,"value":978},"Capture CHAT (via Conversation API (classic))",{"type":39,"tag":824,"props":980,"children":981},{},[982,983,989],{"type":45,"value":909},{"type":39,"tag":153,"props":984,"children":986},{"className":985},[],[987],{"type":45,"value":988},"conversationsV1Bridge.serviceId",{"type":45,"value":916},{"type":39,"tag":824,"props":991,"children":992},{},[993],{"type":45,"value":994},"CHAT flows through a Conversations (v1) Service bridged into Orchestrator",{"type":39,"tag":69,"props":996,"children":998},{"id":997},"️-critical-voice-double-billing-warning-1",[999],{"type":45,"value":127},{"type":39,"tag":54,"props":1001,"children":1002},{},[1003],{"type":39,"tag":48,"props":1004,"children":1005},{},[1006],{"type":39,"tag":61,"props":1007,"children":1008},{},[1009],{"type":45,"value":138},{"type":39,"tag":48,"props":1011,"children":1012},{},[1013],{"type":39,"tag":61,"props":1014,"children":1015},{},[1016,1017,1022],{"type":45,"value":151},{"type":39,"tag":153,"props":1018,"children":1020},{"className":1019},[],[1021],{"type":45,"value":158},{"type":45,"value":160},{"type":39,"tag":48,"props":1024,"children":1025},{},[1026,1028,1033,1034,1039],{"type":45,"value":1027},"When you pass ",{"type":39,"tag":153,"props":1029,"children":1031},{"className":1030},[],[1032],{"type":45,"value":497},{"type":45,"value":499},{"type":39,"tag":153,"props":1035,"children":1037},{"className":1036},[],[1038],{"type":45,"value":505},{"type":45,"value":1040}," in your TwiML:",{"type":39,"tag":88,"props":1042,"children":1043},{},[1044,1055,1065,1075],{"type":39,"tag":92,"props":1045,"children":1046},{},[1047,1053],{"type":39,"tag":153,"props":1048,"children":1050},{"className":1049},[],[1051],{"type":45,"value":1052},"\u003CConversationRelay conversationConfiguration=\"CONFIG_ID\">",{"type":45,"value":1054}," — Active TwiML mode",{"type":39,"tag":92,"props":1056,"children":1057},{},[1058,1064],{"type":39,"tag":153,"props":1059,"children":1061},{"className":1060},[],[1062],{"type":45,"value":1063},"\u003CConversationRelay conversationId=\"CONVERSATION_ID\">",{"type":45,"value":1054},{"type":39,"tag":92,"props":1066,"children":1067},{},[1068,1074],{"type":39,"tag":153,"props":1069,"children":1071},{"className":1070},[],[1072],{"type":45,"value":1073},"\u003CTranscription conversationConfiguration=\"CONFIG_ID\">",{"type":45,"value":1054},{"type":39,"tag":92,"props":1076,"children":1077},{},[1078,1084],{"type":39,"tag":153,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":45,"value":1083},"\u003CTranscription conversationId=\"CONVERSATION_ID\">",{"type":45,"value":1054},{"type":39,"tag":48,"props":1086,"children":1087},{},[1088,1090,1095],{"type":45,"value":1089},"You are using ",{"type":39,"tag":61,"props":1091,"children":1092},{},[1093],{"type":45,"value":1094},"active ingestion",{"type":45,"value":1096},". Your voice is already being captured and transcribed.",{"type":39,"tag":48,"props":1098,"children":1099},{},[1100],{"type":39,"tag":61,"props":1101,"children":1102},{},[1103],{"type":45,"value":1104},"What causes double billing:",{"type":39,"tag":88,"props":1106,"children":1107},{},[1108,1113,1118],{"type":39,"tag":92,"props":1109,"children":1110},{},[1111],{"type":45,"value":1112},"Passive voice capture rules use Real-Time Transcription (RTT) under the hood",{"type":39,"tag":92,"props":1114,"children":1115},{},[1116],{"type":45,"value":1117},"ConversationRelay\u002FTranscription use their own STT engines",{"type":39,"tag":92,"props":1119,"children":1120},{},[1121,1123],{"type":45,"value":1122},"If both are active on the same call = ",{"type":39,"tag":61,"props":1124,"children":1125},{},[1126],{"type":45,"value":1127},"you pay for BOTH STT engines",{"type":39,"tag":48,"props":1129,"children":1130},{},[1131],{"type":39,"tag":61,"props":1132,"children":1133},{},[1134],{"type":45,"value":1135},"Correct configuration for active voice (TwiML):",{"type":39,"tag":387,"props":1137,"children":1141},{"className":1138,"code":1139,"language":1140,"meta":395,"style":395},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"channelSettings\": {\n    \"VOICE\": {\n      \"statusTimeouts\": null  \u002F\u002F ✅ Define channel settings\n      \u002F\u002F ❌ NO captureRules — omit this field entirely\n    }\n  }\n}\n","json",[1142],{"type":39,"tag":153,"props":1143,"children":1144},{"__ignoreMap":395},[1145,1157,1187,1214,1248,1257,1266,1274],{"type":39,"tag":1146,"props":1147,"children":1150},"span",{"class":1148,"line":1149},"line",1,[1151],{"type":39,"tag":1146,"props":1152,"children":1154},{"style":1153},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1155],{"type":45,"value":1156},"{\n",{"type":39,"tag":1146,"props":1158,"children":1160},{"class":1148,"line":1159},2,[1161,1166,1172,1177,1182],{"type":39,"tag":1146,"props":1162,"children":1163},{"style":1153},[1164],{"type":45,"value":1165},"  \"",{"type":39,"tag":1146,"props":1167,"children":1169},{"style":1168},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1170],{"type":45,"value":1171},"channelSettings",{"type":39,"tag":1146,"props":1173,"children":1174},{"style":1153},[1175],{"type":45,"value":1176},"\"",{"type":39,"tag":1146,"props":1178,"children":1179},{"style":1153},[1180],{"type":45,"value":1181},":",{"type":39,"tag":1146,"props":1183,"children":1184},{"style":1153},[1185],{"type":45,"value":1186}," {\n",{"type":39,"tag":1146,"props":1188,"children":1190},{"class":1148,"line":1189},3,[1191,1196,1202,1206,1210],{"type":39,"tag":1146,"props":1192,"children":1193},{"style":1153},[1194],{"type":45,"value":1195},"    \"",{"type":39,"tag":1146,"props":1197,"children":1199},{"style":1198},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1200],{"type":45,"value":1201},"VOICE",{"type":39,"tag":1146,"props":1203,"children":1204},{"style":1153},[1205],{"type":45,"value":1176},{"type":39,"tag":1146,"props":1207,"children":1208},{"style":1153},[1209],{"type":45,"value":1181},{"type":39,"tag":1146,"props":1211,"children":1212},{"style":1153},[1213],{"type":45,"value":1186},{"type":39,"tag":1146,"props":1215,"children":1217},{"class":1148,"line":1216},4,[1218,1223,1229,1233,1237,1242],{"type":39,"tag":1146,"props":1219,"children":1220},{"style":1153},[1221],{"type":45,"value":1222},"      \"",{"type":39,"tag":1146,"props":1224,"children":1226},{"style":1225},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1227],{"type":45,"value":1228},"statusTimeouts",{"type":39,"tag":1146,"props":1230,"children":1231},{"style":1153},[1232],{"type":45,"value":1176},{"type":39,"tag":1146,"props":1234,"children":1235},{"style":1153},[1236],{"type":45,"value":1181},{"type":39,"tag":1146,"props":1238,"children":1239},{"style":1153},[1240],{"type":45,"value":1241}," null",{"type":39,"tag":1146,"props":1243,"children":1245},{"style":1244},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1246],{"type":45,"value":1247},"  \u002F\u002F ✅ Define channel settings\n",{"type":39,"tag":1146,"props":1249,"children":1251},{"class":1148,"line":1250},5,[1252],{"type":39,"tag":1146,"props":1253,"children":1254},{"style":1244},[1255],{"type":45,"value":1256},"      \u002F\u002F ❌ NO captureRules — omit this field entirely\n",{"type":39,"tag":1146,"props":1258,"children":1260},{"class":1148,"line":1259},6,[1261],{"type":39,"tag":1146,"props":1262,"children":1263},{"style":1153},[1264],{"type":45,"value":1265},"    }\n",{"type":39,"tag":1146,"props":1267,"children":1268},{"class":1148,"line":27},[1269],{"type":39,"tag":1146,"props":1270,"children":1271},{"style":1153},[1272],{"type":45,"value":1273},"  }\n",{"type":39,"tag":1146,"props":1275,"children":1277},{"class":1148,"line":1276},8,[1278],{"type":39,"tag":1146,"props":1279,"children":1280},{"style":1153},[1281],{"type":45,"value":1282},"}\n",{"type":39,"tag":48,"props":1284,"children":1285},{},[1286],{"type":39,"tag":61,"props":1287,"children":1288},{},[1289],{"type":45,"value":1290},"When to use passive voice capture rules:",{"type":39,"tag":88,"props":1292,"children":1293},{},[1294,1299],{"type":39,"tag":92,"props":1295,"children":1296},{},[1297],{"type":45,"value":1298},"Human agent calls WITHOUT ConversationRelay or Transcription TwiML",{"type":39,"tag":92,"props":1300,"children":1301},{},[1302],{"type":45,"value":1303},"You want automatic capture with no TwiML changes",{"type":39,"tag":48,"props":1305,"children":1306},{},[1307],{"type":39,"tag":61,"props":1308,"children":1309},{},[1310],{"type":45,"value":1311},"When to use active voice (TwiML parameters):",{"type":39,"tag":88,"props":1313,"children":1314},{},[1315,1320,1325],{"type":39,"tag":92,"props":1316,"children":1317},{},[1318],{"type":45,"value":1319},"AI voice agents with ConversationRelay",{"type":39,"tag":92,"props":1321,"children":1322},{},[1323],{"type":45,"value":1324},"Adding transcription to existing API-created conversations",{"type":39,"tag":92,"props":1326,"children":1327},{},[1328],{"type":45,"value":1329},"Any scenario where you're already passing conversation parameters in TwiML",{"type":39,"tag":69,"props":1331,"children":1333},{"id":1332},"decision-frameworks",[1334],{"type":45,"value":1335},"Decision Frameworks",{"type":39,"tag":176,"props":1337,"children":1339},{"id":1338},"conversation-grouping",[1340],{"type":45,"value":1341},"Conversation Grouping",{"type":39,"tag":48,"props":1343,"children":1344},{},[1345,1347,1352],{"type":45,"value":1346},"The ",{"type":39,"tag":153,"props":1348,"children":1350},{"className":1349},[],[1351],{"type":45,"value":587},{"type":45,"value":1353}," on your configuration controls how new traffic groups into conversations.",{"type":39,"tag":789,"props":1355,"children":1356},{},[1357,1378],{"type":39,"tag":793,"props":1358,"children":1359},{},[1360],{"type":39,"tag":797,"props":1361,"children":1362},{},[1363,1368,1373],{"type":39,"tag":801,"props":1364,"children":1365},{},[1366],{"type":45,"value":1367},"Type",{"type":39,"tag":801,"props":1369,"children":1370},{},[1371],{"type":45,"value":1372},"Behavior",{"type":39,"tag":801,"props":1374,"children":1375},{},[1376],{"type":45,"value":1377},"When to use",{"type":39,"tag":817,"props":1379,"children":1380},{},[1381,1402,1423],{"type":39,"tag":797,"props":1382,"children":1383},{},[1384,1392,1397],{"type":39,"tag":824,"props":1385,"children":1386},{},[1387],{"type":39,"tag":153,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":45,"value":260},{"type":39,"tag":824,"props":1393,"children":1394},{},[1395],{"type":45,"value":1396},"Separate conversations per channel. SMS and Voice between the same numbers create different conversations.",{"type":39,"tag":824,"props":1398,"children":1399},{},[1400],{"type":45,"value":1401},"The default. Keeps channels separate.",{"type":39,"tag":797,"props":1403,"children":1404},{},[1405,1413,1418],{"type":39,"tag":824,"props":1406,"children":1407},{},[1408],{"type":39,"tag":153,"props":1409,"children":1411},{"className":1410},[],[1412],{"type":45,"value":306},{"type":39,"tag":824,"props":1414,"children":1415},{},[1416],{"type":45,"value":1417},"Same conversation across channels when participants share an address.",{"type":39,"tag":824,"props":1419,"children":1420},{},[1421],{"type":45,"value":1422},"Omnichannel on the same addresses—customer can switch between SMS and Voice seamlessly.",{"type":39,"tag":797,"props":1424,"children":1425},{},[1426,1434,1439],{"type":39,"tag":824,"props":1427,"children":1428},{},[1429],{"type":39,"tag":153,"props":1430,"children":1432},{"className":1431},[],[1433],{"type":45,"value":212},{"type":39,"tag":824,"props":1435,"children":1436},{},[1437],{"type":45,"value":1438},"Groups by customer profile. The same customer from different devices or channels goes to one conversation.",{"type":39,"tag":824,"props":1440,"children":1441},{},[1442],{"type":45,"value":1443},"Preferred for production. Recommended when channels use different addresses (chat and voice).",{"type":39,"tag":48,"props":1445,"children":1446},{},[1447,1452],{"type":39,"tag":61,"props":1448,"children":1449},{},[1450],{"type":45,"value":1451},"Immutable after creation.",{"type":45,"value":1453}," Choose before creating the Configuration. To change grouping, create a new Configuration.",{"type":39,"tag":176,"props":1455,"children":1457},{"id":1456},"supported-channels",[1458],{"type":45,"value":1459},"Supported Channels",{"type":39,"tag":48,"props":1461,"children":1462},{},[1463],{"type":45,"value":1464},"Conversation Orchestrator supports voice, SMS, RCS, and WhatsApp channels. You can also bring Chat traffic in through the Conversations API (classic) bridge.",{"type":39,"tag":789,"props":1466,"children":1467},{},[1468,1494],{"type":39,"tag":793,"props":1469,"children":1470},{},[1471],{"type":39,"tag":797,"props":1472,"children":1473},{},[1474,1479,1484,1489],{"type":39,"tag":801,"props":1475,"children":1476},{},[1477],{"type":45,"value":1478},"Channel",{"type":39,"tag":801,"props":1480,"children":1481},{},[1482],{"type":45,"value":1483},"Address Format",{"type":39,"tag":801,"props":1485,"children":1486},{},[1487],{"type":45,"value":1488},"Example",{"type":39,"tag":801,"props":1490,"children":1491},{},[1492],{"type":45,"value":1493},"Ingestion Modes",{"type":39,"tag":817,"props":1495,"children":1496},{},[1497,1524,1550,1576,1601,1625,1649],{"type":39,"tag":797,"props":1498,"children":1499},{},[1500,1505,1510,1519],{"type":39,"tag":824,"props":1501,"children":1502},{},[1503],{"type":45,"value":1504},"Voice (PSTN)",{"type":39,"tag":824,"props":1506,"children":1507},{},[1508],{"type":45,"value":1509},"E.164 phone number",{"type":39,"tag":824,"props":1511,"children":1512},{},[1513],{"type":39,"tag":153,"props":1514,"children":1516},{"className":1515},[],[1517],{"type":45,"value":1518},"+15559876543",{"type":39,"tag":824,"props":1520,"children":1521},{},[1522],{"type":45,"value":1523},"Passive and active",{"type":39,"tag":797,"props":1525,"children":1526},{},[1527,1532,1537,1546],{"type":39,"tag":824,"props":1528,"children":1529},{},[1530],{"type":45,"value":1531},"Voice (CLIENT)",{"type":39,"tag":824,"props":1533,"children":1534},{},[1535],{"type":45,"value":1536},"Client identity string",{"type":39,"tag":824,"props":1538,"children":1539},{},[1540],{"type":39,"tag":153,"props":1541,"children":1543},{"className":1542},[],[1544],{"type":45,"value":1545},"agent-1",{"type":39,"tag":824,"props":1547,"children":1548},{},[1549],{"type":45,"value":1523},{"type":39,"tag":797,"props":1551,"children":1552},{},[1553,1558,1563,1572],{"type":39,"tag":824,"props":1554,"children":1555},{},[1556],{"type":45,"value":1557},"Voice (PUBLIC_SIP)",{"type":39,"tag":824,"props":1559,"children":1560},{},[1561],{"type":45,"value":1562},"SIP URI or E.164 phone number",{"type":39,"tag":824,"props":1564,"children":1565},{},[1566],{"type":39,"tag":153,"props":1567,"children":1569},{"className":1568},[],[1570],{"type":45,"value":1571},"sip:user@example.com",{"type":39,"tag":824,"props":1573,"children":1574},{},[1575],{"type":45,"value":1523},{"type":39,"tag":797,"props":1577,"children":1578},{},[1579,1584,1588,1597],{"type":39,"tag":824,"props":1580,"children":1581},{},[1582],{"type":45,"value":1583},"SMS",{"type":39,"tag":824,"props":1585,"children":1586},{},[1587],{"type":45,"value":1509},{"type":39,"tag":824,"props":1589,"children":1590},{},[1591],{"type":39,"tag":153,"props":1592,"children":1594},{"className":1593},[],[1595],{"type":45,"value":1596},"+15551234567",{"type":39,"tag":824,"props":1598,"children":1599},{},[1600],{"type":45,"value":1523},{"type":39,"tag":797,"props":1602,"children":1603},{},[1604,1609,1613,1621],{"type":39,"tag":824,"props":1605,"children":1606},{},[1607],{"type":45,"value":1608},"RCS",{"type":39,"tag":824,"props":1610,"children":1611},{},[1612],{"type":45,"value":1509},{"type":39,"tag":824,"props":1614,"children":1615},{},[1616],{"type":39,"tag":153,"props":1617,"children":1619},{"className":1618},[],[1620],{"type":45,"value":1596},{"type":39,"tag":824,"props":1622,"children":1623},{},[1624],{"type":45,"value":1523},{"type":39,"tag":797,"props":1626,"children":1627},{},[1628,1633,1637,1645],{"type":39,"tag":824,"props":1629,"children":1630},{},[1631],{"type":45,"value":1632},"WhatsApp",{"type":39,"tag":824,"props":1634,"children":1635},{},[1636],{"type":45,"value":1509},{"type":39,"tag":824,"props":1638,"children":1639},{},[1640],{"type":39,"tag":153,"props":1641,"children":1643},{"className":1642},[],[1644],{"type":45,"value":1596},{"type":39,"tag":824,"props":1646,"children":1647},{},[1648],{"type":45,"value":1523},{"type":39,"tag":797,"props":1650,"children":1651},{},[1652,1657,1662,1671],{"type":39,"tag":824,"props":1653,"children":1654},{},[1655],{"type":45,"value":1656},"Chat",{"type":39,"tag":824,"props":1658,"children":1659},{},[1660],{"type":45,"value":1661},"Identity string",{"type":39,"tag":824,"props":1663,"children":1664},{},[1665],{"type":39,"tag":153,"props":1666,"children":1668},{"className":1667},[],[1669],{"type":45,"value":1670},"user123",{"type":39,"tag":824,"props":1672,"children":1673},{},[1674],{"type":45,"value":1675},"Conversations API (classic) bridge only",{"type":39,"tag":176,"props":1677,"children":1679},{"id":1678},"channel-configuration-details",[1680],{"type":45,"value":1681},"Channel Configuration Details",{"type":39,"tag":48,"props":1683,"children":1684},{},[1685],{"type":39,"tag":61,"props":1686,"children":1687},{},[1688],{"type":45,"value":1689},"Voice:",{"type":39,"tag":88,"props":1691,"children":1692},{},[1693,1742,1747,1752,1771],{"type":39,"tag":92,"props":1694,"children":1695},{},[1696,1698,1704,1706],{"type":45,"value":1697},"Use ",{"type":39,"tag":153,"props":1699,"children":1701},{"className":1700},[],[1702],{"type":45,"value":1703},"callType",{"type":45,"value":1705}," metadata in passive capture rules to distinguish call types:\n",{"type":39,"tag":88,"props":1707,"children":1708},{},[1709,1720,1731],{"type":39,"tag":92,"props":1710,"children":1711},{},[1712,1718],{"type":39,"tag":153,"props":1713,"children":1715},{"className":1714},[],[1716],{"type":45,"value":1717},"PSTN",{"type":45,"value":1719}," — Standard phone calls over the public network",{"type":39,"tag":92,"props":1721,"children":1722},{},[1723,1729],{"type":39,"tag":153,"props":1724,"children":1726},{"className":1725},[],[1727],{"type":45,"value":1728},"CLIENT",{"type":45,"value":1730}," — In-app calls using Twilio Voice SDK",{"type":39,"tag":92,"props":1732,"children":1733},{},[1734,1740],{"type":39,"tag":153,"props":1735,"children":1737},{"className":1736},[],[1738],{"type":45,"value":1739},"PUBLIC_SIP",{"type":45,"value":1741}," — Calls over a SIP interface",{"type":39,"tag":92,"props":1743,"children":1744},{},[1745],{"type":45,"value":1746},"When you save voice capture rules, Conversation Orchestrator automatically provisions call filtering and Real-Time Transcription",{"type":39,"tag":92,"props":1748,"children":1749},{},[1750],{"type":45,"value":1751},"Each TTS fragment is a separate communication (3-5 per agent response)",{"type":39,"tag":92,"props":1753,"children":1754},{},[1755,1757,1763,1765],{"type":45,"value":1756},"Voice communications have ",{"type":39,"tag":153,"props":1758,"children":1760},{"className":1759},[],[1761],{"type":45,"value":1762},"content.type",{"type":45,"value":1764}," of ",{"type":39,"tag":153,"props":1766,"children":1768},{"className":1767},[],[1769],{"type":45,"value":1770},"TRANSCRIPTION",{"type":39,"tag":92,"props":1772,"children":1773},{},[1774,1779,1781,1786],{"type":39,"tag":61,"props":1775,"children":1776},{},[1777],{"type":45,"value":1778},"Warning",{"type":45,"value":1780},": For dynamic or numerous client identities, use active TwiML instead of passive capture rules. Don't use wildcard identities with ",{"type":39,"tag":153,"props":1782,"children":1784},{"className":1783},[],[1785],{"type":45,"value":1728},{"type":45,"value":1787}," call type.",{"type":39,"tag":48,"props":1789,"children":1790},{},[1791],{"type":39,"tag":61,"props":1792,"children":1793},{},[1794],{"type":45,"value":1795},"SMS:",{"type":39,"tag":88,"props":1797,"children":1798},{},[1799,1804,1821,1834],{"type":39,"tag":92,"props":1800,"children":1801},{},[1802],{"type":45,"value":1803},"Bidirectional capture rules needed (from: phone, to: * AND from: *, to: phone)",{"type":39,"tag":92,"props":1805,"children":1806},{},[1807,1809,1814,1815],{"type":45,"value":1808},"Communications have ",{"type":39,"tag":153,"props":1810,"children":1812},{"className":1811},[],[1813],{"type":45,"value":1762},{"type":45,"value":1764},{"type":39,"tag":153,"props":1816,"children":1818},{"className":1817},[],[1819],{"type":45,"value":1820},"TEXT",{"type":39,"tag":92,"props":1822,"children":1823},{},[1824,1826,1832],{"type":45,"value":1825},"Includes ",{"type":39,"tag":153,"props":1827,"children":1829},{"className":1828},[],[1830],{"type":45,"value":1831},"deliveryStatus",{"type":45,"value":1833}," in recipients array",{"type":39,"tag":92,"props":1835,"children":1836},{},[1837,1839],{"type":45,"value":1838},"Recommended timeouts: ",{"type":39,"tag":153,"props":1840,"children":1842},{"className":1841},[],[1843],{"type":45,"value":1844},"inactive: 10, closed: 60",{"type":39,"tag":48,"props":1846,"children":1847},{},[1848],{"type":39,"tag":61,"props":1849,"children":1850},{},[1851],{"type":45,"value":1852},"RCS:",{"type":39,"tag":88,"props":1854,"children":1855},{},[1856,1861,1866],{"type":39,"tag":92,"props":1857,"children":1858},{},[1859],{"type":45,"value":1860},"Same pattern as SMS",{"type":39,"tag":92,"props":1862,"children":1863},{},[1864],{"type":45,"value":1865},"Text body captured; media attachments are not added to conversations",{"type":39,"tag":92,"props":1867,"children":1868},{},[1869,1870],{"type":45,"value":1838},{"type":39,"tag":153,"props":1871,"children":1873},{"className":1872},[],[1874],{"type":45,"value":1844},{"type":39,"tag":48,"props":1876,"children":1877},{},[1878],{"type":39,"tag":61,"props":1879,"children":1880},{},[1881],{"type":45,"value":1882},"WhatsApp:",{"type":39,"tag":88,"props":1884,"children":1885},{},[1886,1899,1904,1909],{"type":39,"tag":92,"props":1887,"children":1888},{},[1889,1891,1897],{"type":45,"value":1890},"E.164 format addresses (with or without ",{"type":39,"tag":153,"props":1892,"children":1894},{"className":1893},[],[1895],{"type":45,"value":1896},"whatsapp:",{"type":45,"value":1898}," prefix)",{"type":39,"tag":92,"props":1900,"children":1901},{},[1902],{"type":45,"value":1903},"Text and template messages supported",{"type":39,"tag":92,"props":1905,"children":1906},{},[1907],{"type":45,"value":1908},"Media attachments on inbound\u002Foutbound messages are not added to conversations",{"type":39,"tag":92,"props":1910,"children":1911},{},[1912,1913],{"type":45,"value":1838},{"type":39,"tag":153,"props":1914,"children":1916},{"className":1915},[],[1917],{"type":45,"value":1844},{"type":39,"tag":48,"props":1919,"children":1920},{},[1921],{"type":39,"tag":61,"props":1922,"children":1923},{},[1924],{"type":45,"value":1925},"Chat (via Conversations API (classic)):",{"type":39,"tag":88,"props":1927,"children":1928},{},[1929,1934,1939,1950,1969],{"type":39,"tag":92,"props":1930,"children":1931},{},[1932],{"type":45,"value":1933},"Only available through Conversations API (classic) bridge",{"type":39,"tag":92,"props":1935,"children":1936},{},[1937],{"type":45,"value":1938},"Uses customer-defined identity strings",{"type":39,"tag":92,"props":1940,"children":1941},{},[1942,1944,1949],{"type":45,"value":1943},"Configure ",{"type":39,"tag":153,"props":1945,"children":1947},{"className":1946},[],[1948],{"type":45,"value":988},{"type":45,"value":916},{"type":39,"tag":92,"props":1951,"children":1952},{},[1953,1955,1961,1963],{"type":45,"value":1954},"Classic ",{"type":39,"tag":153,"props":1956,"children":1958},{"className":1957},[],[1959],{"type":45,"value":1960},"ConversationSid",{"type":45,"value":1962}," carried on address as ",{"type":39,"tag":153,"props":1964,"children":1966},{"className":1965},[],[1967],{"type":45,"value":1968},"channelId",{"type":39,"tag":92,"props":1970,"children":1971},{},[1972,1973],{"type":45,"value":1838},{"type":39,"tag":153,"props":1974,"children":1976},{"className":1975},[],[1977],{"type":45,"value":1978},"inactive: 15, closed: 60",{"type":39,"tag":69,"props":1980,"children":1982},{"id":1981},"integration-patterns",[1983],{"type":45,"value":1984},"Integration Patterns",{"type":39,"tag":48,"props":1986,"children":1987},{},[1988,1990,1996,1998,2004],{"type":45,"value":1989},"Code samples use raw ",{"type":39,"tag":153,"props":1991,"children":1993},{"className":1992},[],[1994],{"type":45,"value":1995},"fetch()",{"type":45,"value":1997}," for clarity. All Conversation Orchestrator APIs use Basic Auth — see ",{"type":39,"tag":153,"props":1999,"children":2001},{"className":2000},[],[2002],{"type":45,"value":2003},"twilio-iam-auth-setup",{"type":45,"value":675},{"type":39,"tag":176,"props":2006,"children":2008},{"id":2007},"authentication-helper",[2009],{"type":45,"value":2010},"Authentication Helper",{"type":39,"tag":387,"props":2012,"children":2016},{"className":2013,"code":2014,"language":2015,"meta":395,"style":395},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const CONVERSATIONS_V2_BASE = 'https:\u002F\u002Fconversations.twilio.com\u002Fv2';\n\nfunction getAuthHeaders() {\n  const credentials = Buffer.from(\n    `${process.env.TWILIO_ACCOUNT_SID}:${process.env.TWILIO_AUTH_TOKEN}`\n  ).toString('base64');\n  return {\n    'Authorization': `Basic ${credentials}`,\n    'Content-Type': 'application\u002Fjson',\n  };\n}\n","javascript",[2017],{"type":39,"tag":153,"props":2018,"children":2019},{"__ignoreMap":395},[2020,2060,2069,2092,2130,2201,2245,2258,2308,2346,2355],{"type":39,"tag":1146,"props":2021,"children":2022},{"class":1148,"line":1149},[2023,2028,2034,2039,2044,2050,2055],{"type":39,"tag":1146,"props":2024,"children":2025},{"style":1168},[2026],{"type":45,"value":2027},"const",{"type":39,"tag":1146,"props":2029,"children":2031},{"style":2030},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[2032],{"type":45,"value":2033}," CONVERSATIONS_V2_BASE ",{"type":39,"tag":1146,"props":2035,"children":2036},{"style":1153},[2037],{"type":45,"value":2038},"=",{"type":39,"tag":1146,"props":2040,"children":2041},{"style":1153},[2042],{"type":45,"value":2043}," '",{"type":39,"tag":1146,"props":2045,"children":2047},{"style":2046},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[2048],{"type":45,"value":2049},"https:\u002F\u002Fconversations.twilio.com\u002Fv2",{"type":39,"tag":1146,"props":2051,"children":2052},{"style":1153},[2053],{"type":45,"value":2054},"'",{"type":39,"tag":1146,"props":2056,"children":2057},{"style":1153},[2058],{"type":45,"value":2059},";\n",{"type":39,"tag":1146,"props":2061,"children":2062},{"class":1148,"line":1159},[2063],{"type":39,"tag":1146,"props":2064,"children":2066},{"emptyLinePlaceholder":2065},true,[2067],{"type":45,"value":2068},"\n",{"type":39,"tag":1146,"props":2070,"children":2071},{"class":1148,"line":1189},[2072,2077,2083,2088],{"type":39,"tag":1146,"props":2073,"children":2074},{"style":1168},[2075],{"type":45,"value":2076},"function",{"type":39,"tag":1146,"props":2078,"children":2080},{"style":2079},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[2081],{"type":45,"value":2082}," getAuthHeaders",{"type":39,"tag":1146,"props":2084,"children":2085},{"style":1153},[2086],{"type":45,"value":2087},"()",{"type":39,"tag":1146,"props":2089,"children":2090},{"style":1153},[2091],{"type":45,"value":1186},{"type":39,"tag":1146,"props":2093,"children":2094},{"class":1148,"line":1216},[2095,2100,2105,2110,2115,2119,2124],{"type":39,"tag":1146,"props":2096,"children":2097},{"style":1168},[2098],{"type":45,"value":2099},"  const",{"type":39,"tag":1146,"props":2101,"children":2102},{"style":2030},[2103],{"type":45,"value":2104}," credentials",{"type":39,"tag":1146,"props":2106,"children":2107},{"style":1153},[2108],{"type":45,"value":2109}," =",{"type":39,"tag":1146,"props":2111,"children":2112},{"style":2030},[2113],{"type":45,"value":2114}," Buffer",{"type":39,"tag":1146,"props":2116,"children":2117},{"style":1153},[2118],{"type":45,"value":675},{"type":39,"tag":1146,"props":2120,"children":2121},{"style":2079},[2122],{"type":45,"value":2123},"from",{"type":39,"tag":1146,"props":2125,"children":2127},{"style":2126},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[2128],{"type":45,"value":2129},"(\n",{"type":39,"tag":1146,"props":2131,"children":2132},{"class":1148,"line":1250},[2133,2138,2143,2147,2152,2156,2161,2166,2170,2175,2179,2183,2187,2191,2196],{"type":39,"tag":1146,"props":2134,"children":2135},{"style":1153},[2136],{"type":45,"value":2137},"    `${",{"type":39,"tag":1146,"props":2139,"children":2140},{"style":2030},[2141],{"type":45,"value":2142},"process",{"type":39,"tag":1146,"props":2144,"children":2145},{"style":1153},[2146],{"type":45,"value":675},{"type":39,"tag":1146,"props":2148,"children":2149},{"style":2030},[2150],{"type":45,"value":2151},"env",{"type":39,"tag":1146,"props":2153,"children":2154},{"style":1153},[2155],{"type":45,"value":675},{"type":39,"tag":1146,"props":2157,"children":2158},{"style":2030},[2159],{"type":45,"value":2160},"TWILIO_ACCOUNT_SID",{"type":39,"tag":1146,"props":2162,"children":2163},{"style":1153},[2164],{"type":45,"value":2165},"}",{"type":39,"tag":1146,"props":2167,"children":2168},{"style":2046},[2169],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2171,"children":2172},{"style":1153},[2173],{"type":45,"value":2174},"${",{"type":39,"tag":1146,"props":2176,"children":2177},{"style":2030},[2178],{"type":45,"value":2142},{"type":39,"tag":1146,"props":2180,"children":2181},{"style":1153},[2182],{"type":45,"value":675},{"type":39,"tag":1146,"props":2184,"children":2185},{"style":2030},[2186],{"type":45,"value":2151},{"type":39,"tag":1146,"props":2188,"children":2189},{"style":1153},[2190],{"type":45,"value":675},{"type":39,"tag":1146,"props":2192,"children":2193},{"style":2030},[2194],{"type":45,"value":2195},"TWILIO_AUTH_TOKEN",{"type":39,"tag":1146,"props":2197,"children":2198},{"style":1153},[2199],{"type":45,"value":2200},"}`\n",{"type":39,"tag":1146,"props":2202,"children":2203},{"class":1148,"line":1259},[2204,2209,2213,2218,2223,2227,2232,2236,2241],{"type":39,"tag":1146,"props":2205,"children":2206},{"style":2126},[2207],{"type":45,"value":2208},"  )",{"type":39,"tag":1146,"props":2210,"children":2211},{"style":1153},[2212],{"type":45,"value":675},{"type":39,"tag":1146,"props":2214,"children":2215},{"style":2079},[2216],{"type":45,"value":2217},"toString",{"type":39,"tag":1146,"props":2219,"children":2220},{"style":2126},[2221],{"type":45,"value":2222},"(",{"type":39,"tag":1146,"props":2224,"children":2225},{"style":1153},[2226],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2228,"children":2229},{"style":2046},[2230],{"type":45,"value":2231},"base64",{"type":39,"tag":1146,"props":2233,"children":2234},{"style":1153},[2235],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2237,"children":2238},{"style":2126},[2239],{"type":45,"value":2240},")",{"type":39,"tag":1146,"props":2242,"children":2243},{"style":1153},[2244],{"type":45,"value":2059},{"type":39,"tag":1146,"props":2246,"children":2247},{"class":1148,"line":27},[2248,2254],{"type":39,"tag":1146,"props":2249,"children":2251},{"style":2250},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[2252],{"type":45,"value":2253},"  return",{"type":39,"tag":1146,"props":2255,"children":2256},{"style":1153},[2257],{"type":45,"value":1186},{"type":39,"tag":1146,"props":2259,"children":2260},{"class":1148,"line":1276},[2261,2266,2271,2275,2279,2284,2289,2293,2298,2303],{"type":39,"tag":1146,"props":2262,"children":2263},{"style":1153},[2264],{"type":45,"value":2265},"    '",{"type":39,"tag":1146,"props":2267,"children":2268},{"style":2126},[2269],{"type":45,"value":2270},"Authorization",{"type":39,"tag":1146,"props":2272,"children":2273},{"style":1153},[2274],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2276,"children":2277},{"style":1153},[2278],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2280,"children":2281},{"style":1153},[2282],{"type":45,"value":2283}," `",{"type":39,"tag":1146,"props":2285,"children":2286},{"style":2046},[2287],{"type":45,"value":2288},"Basic ",{"type":39,"tag":1146,"props":2290,"children":2291},{"style":1153},[2292],{"type":45,"value":2174},{"type":39,"tag":1146,"props":2294,"children":2295},{"style":2030},[2296],{"type":45,"value":2297},"credentials",{"type":39,"tag":1146,"props":2299,"children":2300},{"style":1153},[2301],{"type":45,"value":2302},"}`",{"type":39,"tag":1146,"props":2304,"children":2305},{"style":1153},[2306],{"type":45,"value":2307},",\n",{"type":39,"tag":1146,"props":2309,"children":2311},{"class":1148,"line":2310},9,[2312,2316,2321,2325,2329,2333,2338,2342],{"type":39,"tag":1146,"props":2313,"children":2314},{"style":1153},[2315],{"type":45,"value":2265},{"type":39,"tag":1146,"props":2317,"children":2318},{"style":2126},[2319],{"type":45,"value":2320},"Content-Type",{"type":39,"tag":1146,"props":2322,"children":2323},{"style":1153},[2324],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2326,"children":2327},{"style":1153},[2328],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2330,"children":2331},{"style":1153},[2332],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2334,"children":2335},{"style":2046},[2336],{"type":45,"value":2337},"application\u002Fjson",{"type":39,"tag":1146,"props":2339,"children":2340},{"style":1153},[2341],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2343,"children":2344},{"style":1153},[2345],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2347,"children":2349},{"class":1148,"line":2348},10,[2350],{"type":39,"tag":1146,"props":2351,"children":2352},{"style":1153},[2353],{"type":45,"value":2354},"  };\n",{"type":39,"tag":1146,"props":2356,"children":2358},{"class":1148,"line":2357},11,[2359],{"type":39,"tag":1146,"props":2360,"children":2361},{"style":1153},[2362],{"type":45,"value":1282},{"type":39,"tag":176,"props":2364,"children":2366},{"id":2365},"create-a-configuration",[2367],{"type":45,"value":2368},"Create a Configuration",{"type":39,"tag":387,"props":2370,"children":2372},{"className":2013,"code":2371,"language":2015,"meta":395,"style":395},"const configResponse = await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations`,\n  {\n    method: 'POST',\n    headers: getAuthHeaders(),\n    body: JSON.stringify({\n      displayName: 'my-app-config',\n      description: 'Production conversation config',\n      conversationGroupingType: 'GROUP_BY_PROFILE',\n      memoryStoreId: 'mem_store_...', \u002F\u002F Required — create via Memory API first\n      memoryExtractionEnabled: true,\n      channelSettings: {\n        SMS: {\n          captureRules: [\n            { from: '+15551234567', to: '*', metadata: {} },\n            { from: '*', to: '+15551234567', metadata: {} },\n          ],\n          statusTimeouts: { inactive: 10, closed: 60 },\n        },\n        VOICE: {\n          captureRules: [\n            { from: '*', to: '+15551234567', metadata: {} },\n          ],\n        },\n      },\n    }),\n  }\n);\n\u002F\u002F May return 202 without config ID — poll GET \u002FControlPlane\u002FConfigurations to find by displayName\n",[2373],{"type":39,"tag":153,"props":2374,"children":2375},{"__ignoreMap":395},[2376,2406,2437,2445,2474,2498,2532,2561,2590,2618,2653,2675,2692,2709,2727,2806,2878,2891,2945,2954,2971,2987,3059,3071,3079,3087,3104,3112,3124],{"type":39,"tag":1146,"props":2377,"children":2378},{"class":1148,"line":1149},[2379,2383,2388,2392,2397,2402],{"type":39,"tag":1146,"props":2380,"children":2381},{"style":1168},[2382],{"type":45,"value":2027},{"type":39,"tag":1146,"props":2384,"children":2385},{"style":2030},[2386],{"type":45,"value":2387}," configResponse ",{"type":39,"tag":1146,"props":2389,"children":2390},{"style":1153},[2391],{"type":45,"value":2038},{"type":39,"tag":1146,"props":2393,"children":2394},{"style":2250},[2395],{"type":45,"value":2396}," await",{"type":39,"tag":1146,"props":2398,"children":2399},{"style":2079},[2400],{"type":45,"value":2401}," fetch",{"type":39,"tag":1146,"props":2403,"children":2404},{"style":2030},[2405],{"type":45,"value":2129},{"type":39,"tag":1146,"props":2407,"children":2408},{"class":1148,"line":1159},[2409,2414,2419,2423,2428,2433],{"type":39,"tag":1146,"props":2410,"children":2411},{"style":1153},[2412],{"type":45,"value":2413},"  `${",{"type":39,"tag":1146,"props":2415,"children":2416},{"style":2030},[2417],{"type":45,"value":2418},"CONVERSATIONS_V2_BASE",{"type":39,"tag":1146,"props":2420,"children":2421},{"style":1153},[2422],{"type":45,"value":2165},{"type":39,"tag":1146,"props":2424,"children":2425},{"style":2046},[2426],{"type":45,"value":2427},"\u002FControlPlane\u002FConfigurations",{"type":39,"tag":1146,"props":2429,"children":2430},{"style":1153},[2431],{"type":45,"value":2432},"`",{"type":39,"tag":1146,"props":2434,"children":2435},{"style":1153},[2436],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2438,"children":2439},{"class":1148,"line":1189},[2440],{"type":39,"tag":1146,"props":2441,"children":2442},{"style":1153},[2443],{"type":45,"value":2444},"  {\n",{"type":39,"tag":1146,"props":2446,"children":2447},{"class":1148,"line":1216},[2448,2453,2457,2461,2466,2470],{"type":39,"tag":1146,"props":2449,"children":2450},{"style":2126},[2451],{"type":45,"value":2452},"    method",{"type":39,"tag":1146,"props":2454,"children":2455},{"style":1153},[2456],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2458,"children":2459},{"style":1153},[2460],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2462,"children":2463},{"style":2046},[2464],{"type":45,"value":2465},"POST",{"type":39,"tag":1146,"props":2467,"children":2468},{"style":1153},[2469],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2471,"children":2472},{"style":1153},[2473],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2475,"children":2476},{"class":1148,"line":1250},[2477,2482,2486,2490,2494],{"type":39,"tag":1146,"props":2478,"children":2479},{"style":2126},[2480],{"type":45,"value":2481},"    headers",{"type":39,"tag":1146,"props":2483,"children":2484},{"style":1153},[2485],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2487,"children":2488},{"style":2079},[2489],{"type":45,"value":2082},{"type":39,"tag":1146,"props":2491,"children":2492},{"style":2030},[2493],{"type":45,"value":2087},{"type":39,"tag":1146,"props":2495,"children":2496},{"style":1153},[2497],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2499,"children":2500},{"class":1148,"line":1259},[2501,2506,2510,2515,2519,2524,2528],{"type":39,"tag":1146,"props":2502,"children":2503},{"style":2126},[2504],{"type":45,"value":2505},"    body",{"type":39,"tag":1146,"props":2507,"children":2508},{"style":1153},[2509],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2511,"children":2512},{"style":2030},[2513],{"type":45,"value":2514}," JSON",{"type":39,"tag":1146,"props":2516,"children":2517},{"style":1153},[2518],{"type":45,"value":675},{"type":39,"tag":1146,"props":2520,"children":2521},{"style":2079},[2522],{"type":45,"value":2523},"stringify",{"type":39,"tag":1146,"props":2525,"children":2526},{"style":2030},[2527],{"type":45,"value":2222},{"type":39,"tag":1146,"props":2529,"children":2530},{"style":1153},[2531],{"type":45,"value":1156},{"type":39,"tag":1146,"props":2533,"children":2534},{"class":1148,"line":27},[2535,2540,2544,2548,2553,2557],{"type":39,"tag":1146,"props":2536,"children":2537},{"style":2126},[2538],{"type":45,"value":2539},"      displayName",{"type":39,"tag":1146,"props":2541,"children":2542},{"style":1153},[2543],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2545,"children":2546},{"style":1153},[2547],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2549,"children":2550},{"style":2046},[2551],{"type":45,"value":2552},"my-app-config",{"type":39,"tag":1146,"props":2554,"children":2555},{"style":1153},[2556],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2558,"children":2559},{"style":1153},[2560],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2562,"children":2563},{"class":1148,"line":1276},[2564,2569,2573,2577,2582,2586],{"type":39,"tag":1146,"props":2565,"children":2566},{"style":2126},[2567],{"type":45,"value":2568},"      description",{"type":39,"tag":1146,"props":2570,"children":2571},{"style":1153},[2572],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2574,"children":2575},{"style":1153},[2576],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2578,"children":2579},{"style":2046},[2580],{"type":45,"value":2581},"Production conversation config",{"type":39,"tag":1146,"props":2583,"children":2584},{"style":1153},[2585],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2587,"children":2588},{"style":1153},[2589],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2591,"children":2592},{"class":1148,"line":2310},[2593,2598,2602,2606,2610,2614],{"type":39,"tag":1146,"props":2594,"children":2595},{"style":2126},[2596],{"type":45,"value":2597},"      conversationGroupingType",{"type":39,"tag":1146,"props":2599,"children":2600},{"style":1153},[2601],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2603,"children":2604},{"style":1153},[2605],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2607,"children":2608},{"style":2046},[2609],{"type":45,"value":212},{"type":39,"tag":1146,"props":2611,"children":2612},{"style":1153},[2613],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2615,"children":2616},{"style":1153},[2617],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2619,"children":2620},{"class":1148,"line":2348},[2621,2626,2630,2634,2639,2643,2648],{"type":39,"tag":1146,"props":2622,"children":2623},{"style":2126},[2624],{"type":45,"value":2625},"      memoryStoreId",{"type":39,"tag":1146,"props":2627,"children":2628},{"style":1153},[2629],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2631,"children":2632},{"style":1153},[2633],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2635,"children":2636},{"style":2046},[2637],{"type":45,"value":2638},"mem_store_...",{"type":39,"tag":1146,"props":2640,"children":2641},{"style":1153},[2642],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2644,"children":2645},{"style":1153},[2646],{"type":45,"value":2647},",",{"type":39,"tag":1146,"props":2649,"children":2650},{"style":1244},[2651],{"type":45,"value":2652}," \u002F\u002F Required — create via Memory API first\n",{"type":39,"tag":1146,"props":2654,"children":2655},{"class":1148,"line":2357},[2656,2661,2665,2671],{"type":39,"tag":1146,"props":2657,"children":2658},{"style":2126},[2659],{"type":45,"value":2660},"      memoryExtractionEnabled",{"type":39,"tag":1146,"props":2662,"children":2663},{"style":1153},[2664],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2666,"children":2668},{"style":2667},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[2669],{"type":45,"value":2670}," true",{"type":39,"tag":1146,"props":2672,"children":2673},{"style":1153},[2674],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2676,"children":2678},{"class":1148,"line":2677},12,[2679,2684,2688],{"type":39,"tag":1146,"props":2680,"children":2681},{"style":2126},[2682],{"type":45,"value":2683},"      channelSettings",{"type":39,"tag":1146,"props":2685,"children":2686},{"style":1153},[2687],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2689,"children":2690},{"style":1153},[2691],{"type":45,"value":1186},{"type":39,"tag":1146,"props":2693,"children":2695},{"class":1148,"line":2694},13,[2696,2701,2705],{"type":39,"tag":1146,"props":2697,"children":2698},{"style":2126},[2699],{"type":45,"value":2700},"        SMS",{"type":39,"tag":1146,"props":2702,"children":2703},{"style":1153},[2704],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2706,"children":2707},{"style":1153},[2708],{"type":45,"value":1186},{"type":39,"tag":1146,"props":2710,"children":2712},{"class":1148,"line":2711},14,[2713,2718,2722],{"type":39,"tag":1146,"props":2714,"children":2715},{"style":2126},[2716],{"type":45,"value":2717},"          captureRules",{"type":39,"tag":1146,"props":2719,"children":2720},{"style":1153},[2721],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2723,"children":2724},{"style":2030},[2725],{"type":45,"value":2726}," [\n",{"type":39,"tag":1146,"props":2728,"children":2730},{"class":1148,"line":2729},15,[2731,2736,2741,2745,2749,2753,2757,2761,2766,2770,2774,2779,2783,2787,2792,2796,2801],{"type":39,"tag":1146,"props":2732,"children":2733},{"style":1153},[2734],{"type":45,"value":2735},"            {",{"type":39,"tag":1146,"props":2737,"children":2738},{"style":2126},[2739],{"type":45,"value":2740}," from",{"type":39,"tag":1146,"props":2742,"children":2743},{"style":1153},[2744],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2746,"children":2747},{"style":1153},[2748],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2750,"children":2751},{"style":2046},[2752],{"type":45,"value":1596},{"type":39,"tag":1146,"props":2754,"children":2755},{"style":1153},[2756],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2758,"children":2759},{"style":1153},[2760],{"type":45,"value":2647},{"type":39,"tag":1146,"props":2762,"children":2763},{"style":2126},[2764],{"type":45,"value":2765}," to",{"type":39,"tag":1146,"props":2767,"children":2768},{"style":1153},[2769],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2771,"children":2772},{"style":1153},[2773],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2775,"children":2776},{"style":2046},[2777],{"type":45,"value":2778},"*",{"type":39,"tag":1146,"props":2780,"children":2781},{"style":1153},[2782],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2784,"children":2785},{"style":1153},[2786],{"type":45,"value":2647},{"type":39,"tag":1146,"props":2788,"children":2789},{"style":2126},[2790],{"type":45,"value":2791}," metadata",{"type":39,"tag":1146,"props":2793,"children":2794},{"style":1153},[2795],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2797,"children":2798},{"style":1153},[2799],{"type":45,"value":2800}," {}",{"type":39,"tag":1146,"props":2802,"children":2803},{"style":1153},[2804],{"type":45,"value":2805}," },\n",{"type":39,"tag":1146,"props":2807,"children":2809},{"class":1148,"line":2808},16,[2810,2814,2818,2822,2826,2830,2834,2838,2842,2846,2850,2854,2858,2862,2866,2870,2874],{"type":39,"tag":1146,"props":2811,"children":2812},{"style":1153},[2813],{"type":45,"value":2735},{"type":39,"tag":1146,"props":2815,"children":2816},{"style":2126},[2817],{"type":45,"value":2740},{"type":39,"tag":1146,"props":2819,"children":2820},{"style":1153},[2821],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2823,"children":2824},{"style":1153},[2825],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2827,"children":2828},{"style":2046},[2829],{"type":45,"value":2778},{"type":39,"tag":1146,"props":2831,"children":2832},{"style":1153},[2833],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2835,"children":2836},{"style":1153},[2837],{"type":45,"value":2647},{"type":39,"tag":1146,"props":2839,"children":2840},{"style":2126},[2841],{"type":45,"value":2765},{"type":39,"tag":1146,"props":2843,"children":2844},{"style":1153},[2845],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2847,"children":2848},{"style":1153},[2849],{"type":45,"value":2043},{"type":39,"tag":1146,"props":2851,"children":2852},{"style":2046},[2853],{"type":45,"value":1596},{"type":39,"tag":1146,"props":2855,"children":2856},{"style":1153},[2857],{"type":45,"value":2054},{"type":39,"tag":1146,"props":2859,"children":2860},{"style":1153},[2861],{"type":45,"value":2647},{"type":39,"tag":1146,"props":2863,"children":2864},{"style":2126},[2865],{"type":45,"value":2791},{"type":39,"tag":1146,"props":2867,"children":2868},{"style":1153},[2869],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2871,"children":2872},{"style":1153},[2873],{"type":45,"value":2800},{"type":39,"tag":1146,"props":2875,"children":2876},{"style":1153},[2877],{"type":45,"value":2805},{"type":39,"tag":1146,"props":2879,"children":2881},{"class":1148,"line":2880},17,[2882,2887],{"type":39,"tag":1146,"props":2883,"children":2884},{"style":2030},[2885],{"type":45,"value":2886},"          ]",{"type":39,"tag":1146,"props":2888,"children":2889},{"style":1153},[2890],{"type":45,"value":2307},{"type":39,"tag":1146,"props":2892,"children":2894},{"class":1148,"line":2893},18,[2895,2900,2904,2909,2914,2918,2923,2927,2932,2936,2941],{"type":39,"tag":1146,"props":2896,"children":2897},{"style":2126},[2898],{"type":45,"value":2899},"          statusTimeouts",{"type":39,"tag":1146,"props":2901,"children":2902},{"style":1153},[2903],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2905,"children":2906},{"style":1153},[2907],{"type":45,"value":2908}," {",{"type":39,"tag":1146,"props":2910,"children":2911},{"style":2126},[2912],{"type":45,"value":2913}," inactive",{"type":39,"tag":1146,"props":2915,"children":2916},{"style":1153},[2917],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2919,"children":2920},{"style":1225},[2921],{"type":45,"value":2922}," 10",{"type":39,"tag":1146,"props":2924,"children":2925},{"style":1153},[2926],{"type":45,"value":2647},{"type":39,"tag":1146,"props":2928,"children":2929},{"style":2126},[2930],{"type":45,"value":2931}," closed",{"type":39,"tag":1146,"props":2933,"children":2934},{"style":1153},[2935],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2937,"children":2938},{"style":1225},[2939],{"type":45,"value":2940}," 60",{"type":39,"tag":1146,"props":2942,"children":2943},{"style":1153},[2944],{"type":45,"value":2805},{"type":39,"tag":1146,"props":2946,"children":2948},{"class":1148,"line":2947},19,[2949],{"type":39,"tag":1146,"props":2950,"children":2951},{"style":1153},[2952],{"type":45,"value":2953},"        },\n",{"type":39,"tag":1146,"props":2955,"children":2957},{"class":1148,"line":2956},20,[2958,2963,2967],{"type":39,"tag":1146,"props":2959,"children":2960},{"style":2126},[2961],{"type":45,"value":2962},"        VOICE",{"type":39,"tag":1146,"props":2964,"children":2965},{"style":1153},[2966],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2968,"children":2969},{"style":1153},[2970],{"type":45,"value":1186},{"type":39,"tag":1146,"props":2972,"children":2974},{"class":1148,"line":2973},21,[2975,2979,2983],{"type":39,"tag":1146,"props":2976,"children":2977},{"style":2126},[2978],{"type":45,"value":2717},{"type":39,"tag":1146,"props":2980,"children":2981},{"style":1153},[2982],{"type":45,"value":1181},{"type":39,"tag":1146,"props":2984,"children":2985},{"style":2030},[2986],{"type":45,"value":2726},{"type":39,"tag":1146,"props":2988,"children":2990},{"class":1148,"line":2989},22,[2991,2995,2999,3003,3007,3011,3015,3019,3023,3027,3031,3035,3039,3043,3047,3051,3055],{"type":39,"tag":1146,"props":2992,"children":2993},{"style":1153},[2994],{"type":45,"value":2735},{"type":39,"tag":1146,"props":2996,"children":2997},{"style":2126},[2998],{"type":45,"value":2740},{"type":39,"tag":1146,"props":3000,"children":3001},{"style":1153},[3002],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3004,"children":3005},{"style":1153},[3006],{"type":45,"value":2043},{"type":39,"tag":1146,"props":3008,"children":3009},{"style":2046},[3010],{"type":45,"value":2778},{"type":39,"tag":1146,"props":3012,"children":3013},{"style":1153},[3014],{"type":45,"value":2054},{"type":39,"tag":1146,"props":3016,"children":3017},{"style":1153},[3018],{"type":45,"value":2647},{"type":39,"tag":1146,"props":3020,"children":3021},{"style":2126},[3022],{"type":45,"value":2765},{"type":39,"tag":1146,"props":3024,"children":3025},{"style":1153},[3026],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3028,"children":3029},{"style":1153},[3030],{"type":45,"value":2043},{"type":39,"tag":1146,"props":3032,"children":3033},{"style":2046},[3034],{"type":45,"value":1596},{"type":39,"tag":1146,"props":3036,"children":3037},{"style":1153},[3038],{"type":45,"value":2054},{"type":39,"tag":1146,"props":3040,"children":3041},{"style":1153},[3042],{"type":45,"value":2647},{"type":39,"tag":1146,"props":3044,"children":3045},{"style":2126},[3046],{"type":45,"value":2791},{"type":39,"tag":1146,"props":3048,"children":3049},{"style":1153},[3050],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3052,"children":3053},{"style":1153},[3054],{"type":45,"value":2800},{"type":39,"tag":1146,"props":3056,"children":3057},{"style":1153},[3058],{"type":45,"value":2805},{"type":39,"tag":1146,"props":3060,"children":3062},{"class":1148,"line":3061},23,[3063,3067],{"type":39,"tag":1146,"props":3064,"children":3065},{"style":2030},[3066],{"type":45,"value":2886},{"type":39,"tag":1146,"props":3068,"children":3069},{"style":1153},[3070],{"type":45,"value":2307},{"type":39,"tag":1146,"props":3072,"children":3074},{"class":1148,"line":3073},24,[3075],{"type":39,"tag":1146,"props":3076,"children":3077},{"style":1153},[3078],{"type":45,"value":2953},{"type":39,"tag":1146,"props":3080,"children":3081},{"class":1148,"line":23},[3082],{"type":39,"tag":1146,"props":3083,"children":3084},{"style":1153},[3085],{"type":45,"value":3086},"      },\n",{"type":39,"tag":1146,"props":3088,"children":3090},{"class":1148,"line":3089},26,[3091,3096,3100],{"type":39,"tag":1146,"props":3092,"children":3093},{"style":1153},[3094],{"type":45,"value":3095},"    }",{"type":39,"tag":1146,"props":3097,"children":3098},{"style":2030},[3099],{"type":45,"value":2240},{"type":39,"tag":1146,"props":3101,"children":3102},{"style":1153},[3103],{"type":45,"value":2307},{"type":39,"tag":1146,"props":3105,"children":3107},{"class":1148,"line":3106},27,[3108],{"type":39,"tag":1146,"props":3109,"children":3110},{"style":1153},[3111],{"type":45,"value":1273},{"type":39,"tag":1146,"props":3113,"children":3115},{"class":1148,"line":3114},28,[3116,3120],{"type":39,"tag":1146,"props":3117,"children":3118},{"style":2030},[3119],{"type":45,"value":2240},{"type":39,"tag":1146,"props":3121,"children":3122},{"style":1153},[3123],{"type":45,"value":2059},{"type":39,"tag":1146,"props":3125,"children":3127},{"class":1148,"line":3126},29,[3128],{"type":39,"tag":1146,"props":3129,"children":3130},{"style":1244},[3131],{"type":45,"value":3132},"\u002F\u002F May return 202 without config ID — poll GET \u002FControlPlane\u002FConfigurations to find by displayName\n",{"type":39,"tag":387,"props":3134,"children":3138},{"className":3135,"code":3136,"language":3137,"meta":395,"style":395},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import os, requests\n\naccount_sid = os.environ[\"TWILIO_ACCOUNT_SID\"]\nauth_token = os.environ[\"TWILIO_AUTH_TOKEN\"]\ntwilio_phone = os.environ[\"TWILIO_PHONE_NUMBER\"]\n\nconfig = requests.post(\n    \"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FControlPlane\u002FConfigurations\",\n    auth=(account_sid, auth_token),\n    json={\n        \"displayName\": \"my-app-config\",\n        \"description\": \"Production conversation config\",\n        \"conversationGroupingType\": \"GROUP_BY_PROFILE\",\n        \"memoryStoreId\": \"mem_store_...\",\n        \"memoryExtractionEnabled\": True,\n        \"channelSettings\": {\n            \"SMS\": {\n                \"captureRules\": [\n                    {\"from\": twilio_phone, \"to\": \"*\", \"metadata\": {}},\n                    {\"from\": \"*\", \"to\": twilio_phone, \"metadata\": {}}\n                ],\n                \"statusTimeouts\": {\"inactive\": 10, \"closed\": 60}\n            },\n            \"VOICE\": {\n                \"captureRules\": [\n                    {\"from\": \"*\", \"to\": twilio_phone, \"metadata\": {}}\n                ]\n            }\n        }\n    }\n).json()\n","python",[3139],{"type":39,"tag":153,"props":3140,"children":3141},{"__ignoreMap":395},[3142,3150,3157,3165,3173,3181,3188,3196,3204,3212,3220,3228,3236,3244,3252,3260,3268,3276,3284,3292,3300,3308,3316,3324,3332,3339,3346,3354,3362,3370,3378],{"type":39,"tag":1146,"props":3143,"children":3144},{"class":1148,"line":1149},[3145],{"type":39,"tag":1146,"props":3146,"children":3147},{},[3148],{"type":45,"value":3149},"import os, requests\n",{"type":39,"tag":1146,"props":3151,"children":3152},{"class":1148,"line":1159},[3153],{"type":39,"tag":1146,"props":3154,"children":3155},{"emptyLinePlaceholder":2065},[3156],{"type":45,"value":2068},{"type":39,"tag":1146,"props":3158,"children":3159},{"class":1148,"line":1189},[3160],{"type":39,"tag":1146,"props":3161,"children":3162},{},[3163],{"type":45,"value":3164},"account_sid = os.environ[\"TWILIO_ACCOUNT_SID\"]\n",{"type":39,"tag":1146,"props":3166,"children":3167},{"class":1148,"line":1216},[3168],{"type":39,"tag":1146,"props":3169,"children":3170},{},[3171],{"type":45,"value":3172},"auth_token = os.environ[\"TWILIO_AUTH_TOKEN\"]\n",{"type":39,"tag":1146,"props":3174,"children":3175},{"class":1148,"line":1250},[3176],{"type":39,"tag":1146,"props":3177,"children":3178},{},[3179],{"type":45,"value":3180},"twilio_phone = os.environ[\"TWILIO_PHONE_NUMBER\"]\n",{"type":39,"tag":1146,"props":3182,"children":3183},{"class":1148,"line":1259},[3184],{"type":39,"tag":1146,"props":3185,"children":3186},{"emptyLinePlaceholder":2065},[3187],{"type":45,"value":2068},{"type":39,"tag":1146,"props":3189,"children":3190},{"class":1148,"line":27},[3191],{"type":39,"tag":1146,"props":3192,"children":3193},{},[3194],{"type":45,"value":3195},"config = requests.post(\n",{"type":39,"tag":1146,"props":3197,"children":3198},{"class":1148,"line":1276},[3199],{"type":39,"tag":1146,"props":3200,"children":3201},{},[3202],{"type":45,"value":3203},"    \"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FControlPlane\u002FConfigurations\",\n",{"type":39,"tag":1146,"props":3205,"children":3206},{"class":1148,"line":2310},[3207],{"type":39,"tag":1146,"props":3208,"children":3209},{},[3210],{"type":45,"value":3211},"    auth=(account_sid, auth_token),\n",{"type":39,"tag":1146,"props":3213,"children":3214},{"class":1148,"line":2348},[3215],{"type":39,"tag":1146,"props":3216,"children":3217},{},[3218],{"type":45,"value":3219},"    json={\n",{"type":39,"tag":1146,"props":3221,"children":3222},{"class":1148,"line":2357},[3223],{"type":39,"tag":1146,"props":3224,"children":3225},{},[3226],{"type":45,"value":3227},"        \"displayName\": \"my-app-config\",\n",{"type":39,"tag":1146,"props":3229,"children":3230},{"class":1148,"line":2677},[3231],{"type":39,"tag":1146,"props":3232,"children":3233},{},[3234],{"type":45,"value":3235},"        \"description\": \"Production conversation config\",\n",{"type":39,"tag":1146,"props":3237,"children":3238},{"class":1148,"line":2694},[3239],{"type":39,"tag":1146,"props":3240,"children":3241},{},[3242],{"type":45,"value":3243},"        \"conversationGroupingType\": \"GROUP_BY_PROFILE\",\n",{"type":39,"tag":1146,"props":3245,"children":3246},{"class":1148,"line":2711},[3247],{"type":39,"tag":1146,"props":3248,"children":3249},{},[3250],{"type":45,"value":3251},"        \"memoryStoreId\": \"mem_store_...\",\n",{"type":39,"tag":1146,"props":3253,"children":3254},{"class":1148,"line":2729},[3255],{"type":39,"tag":1146,"props":3256,"children":3257},{},[3258],{"type":45,"value":3259},"        \"memoryExtractionEnabled\": True,\n",{"type":39,"tag":1146,"props":3261,"children":3262},{"class":1148,"line":2808},[3263],{"type":39,"tag":1146,"props":3264,"children":3265},{},[3266],{"type":45,"value":3267},"        \"channelSettings\": {\n",{"type":39,"tag":1146,"props":3269,"children":3270},{"class":1148,"line":2880},[3271],{"type":39,"tag":1146,"props":3272,"children":3273},{},[3274],{"type":45,"value":3275},"            \"SMS\": {\n",{"type":39,"tag":1146,"props":3277,"children":3278},{"class":1148,"line":2893},[3279],{"type":39,"tag":1146,"props":3280,"children":3281},{},[3282],{"type":45,"value":3283},"                \"captureRules\": [\n",{"type":39,"tag":1146,"props":3285,"children":3286},{"class":1148,"line":2947},[3287],{"type":39,"tag":1146,"props":3288,"children":3289},{},[3290],{"type":45,"value":3291},"                    {\"from\": twilio_phone, \"to\": \"*\", \"metadata\": {}},\n",{"type":39,"tag":1146,"props":3293,"children":3294},{"class":1148,"line":2956},[3295],{"type":39,"tag":1146,"props":3296,"children":3297},{},[3298],{"type":45,"value":3299},"                    {\"from\": \"*\", \"to\": twilio_phone, \"metadata\": {}}\n",{"type":39,"tag":1146,"props":3301,"children":3302},{"class":1148,"line":2973},[3303],{"type":39,"tag":1146,"props":3304,"children":3305},{},[3306],{"type":45,"value":3307},"                ],\n",{"type":39,"tag":1146,"props":3309,"children":3310},{"class":1148,"line":2989},[3311],{"type":39,"tag":1146,"props":3312,"children":3313},{},[3314],{"type":45,"value":3315},"                \"statusTimeouts\": {\"inactive\": 10, \"closed\": 60}\n",{"type":39,"tag":1146,"props":3317,"children":3318},{"class":1148,"line":3061},[3319],{"type":39,"tag":1146,"props":3320,"children":3321},{},[3322],{"type":45,"value":3323},"            },\n",{"type":39,"tag":1146,"props":3325,"children":3326},{"class":1148,"line":3073},[3327],{"type":39,"tag":1146,"props":3328,"children":3329},{},[3330],{"type":45,"value":3331},"            \"VOICE\": {\n",{"type":39,"tag":1146,"props":3333,"children":3334},{"class":1148,"line":23},[3335],{"type":39,"tag":1146,"props":3336,"children":3337},{},[3338],{"type":45,"value":3283},{"type":39,"tag":1146,"props":3340,"children":3341},{"class":1148,"line":3089},[3342],{"type":39,"tag":1146,"props":3343,"children":3344},{},[3345],{"type":45,"value":3299},{"type":39,"tag":1146,"props":3347,"children":3348},{"class":1148,"line":3106},[3349],{"type":39,"tag":1146,"props":3350,"children":3351},{},[3352],{"type":45,"value":3353},"                ]\n",{"type":39,"tag":1146,"props":3355,"children":3356},{"class":1148,"line":3114},[3357],{"type":39,"tag":1146,"props":3358,"children":3359},{},[3360],{"type":45,"value":3361},"            }\n",{"type":39,"tag":1146,"props":3363,"children":3364},{"class":1148,"line":3126},[3365],{"type":39,"tag":1146,"props":3366,"children":3367},{},[3368],{"type":45,"value":3369},"        }\n",{"type":39,"tag":1146,"props":3371,"children":3373},{"class":1148,"line":3372},30,[3374],{"type":39,"tag":1146,"props":3375,"children":3376},{},[3377],{"type":45,"value":1265},{"type":39,"tag":1146,"props":3379,"children":3381},{"class":1148,"line":3380},31,[3382],{"type":39,"tag":1146,"props":3383,"children":3384},{},[3385],{"type":45,"value":3386},").json()\n",{"type":39,"tag":176,"props":3388,"children":3390},{"id":3389},"update-a-configuration-put-full-replacement",[3391],{"type":45,"value":3392},"Update a Configuration (PUT — Full Replacement)",{"type":39,"tag":387,"props":3394,"children":3396},{"className":2013,"code":3395,"language":2015,"meta":395,"style":395},"\u002F\u002F Step 1: Fetch current config (ALWAYS re-fetch before updating)\nconst current = await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations\u002F${configId}`,\n  { headers: getAuthHeaders() }\n).then(r => r.json());\n\n\u002F\u002F Step 2: Modify the field you need\ncurrent.channelSettings.VOICE.captureRules.push(\n  { from: '*', to: '+15551234567', metadata: { callType: 'CLIENT' } }\n);\n\n\u002F\u002F Step 3: PUT the complete object back\nawait fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations\u002F${configId}`,\n  {\n    method: 'PUT',\n    headers: getAuthHeaders(),\n    body: JSON.stringify(current),\n  }\n);\n",[3397],{"type":39,"tag":153,"props":3398,"children":3399},{"__ignoreMap":395},[3400,3408,3436,3473,3503,3556,3563,3571,3616,3714,3725,3732,3740,3756,3791,3798,3826,3849,3881,3888],{"type":39,"tag":1146,"props":3401,"children":3402},{"class":1148,"line":1149},[3403],{"type":39,"tag":1146,"props":3404,"children":3405},{"style":1244},[3406],{"type":45,"value":3407},"\u002F\u002F Step 1: Fetch current config (ALWAYS re-fetch before updating)\n",{"type":39,"tag":1146,"props":3409,"children":3410},{"class":1148,"line":1159},[3411,3415,3420,3424,3428,3432],{"type":39,"tag":1146,"props":3412,"children":3413},{"style":1168},[3414],{"type":45,"value":2027},{"type":39,"tag":1146,"props":3416,"children":3417},{"style":2030},[3418],{"type":45,"value":3419}," current ",{"type":39,"tag":1146,"props":3421,"children":3422},{"style":1153},[3423],{"type":45,"value":2038},{"type":39,"tag":1146,"props":3425,"children":3426},{"style":2250},[3427],{"type":45,"value":2396},{"type":39,"tag":1146,"props":3429,"children":3430},{"style":2079},[3431],{"type":45,"value":2401},{"type":39,"tag":1146,"props":3433,"children":3434},{"style":2030},[3435],{"type":45,"value":2129},{"type":39,"tag":1146,"props":3437,"children":3438},{"class":1148,"line":1189},[3439,3443,3447,3451,3456,3460,3465,3469],{"type":39,"tag":1146,"props":3440,"children":3441},{"style":1153},[3442],{"type":45,"value":2413},{"type":39,"tag":1146,"props":3444,"children":3445},{"style":2030},[3446],{"type":45,"value":2418},{"type":39,"tag":1146,"props":3448,"children":3449},{"style":1153},[3450],{"type":45,"value":2165},{"type":39,"tag":1146,"props":3452,"children":3453},{"style":2046},[3454],{"type":45,"value":3455},"\u002FControlPlane\u002FConfigurations\u002F",{"type":39,"tag":1146,"props":3457,"children":3458},{"style":1153},[3459],{"type":45,"value":2174},{"type":39,"tag":1146,"props":3461,"children":3462},{"style":2030},[3463],{"type":45,"value":3464},"configId",{"type":39,"tag":1146,"props":3466,"children":3467},{"style":1153},[3468],{"type":45,"value":2302},{"type":39,"tag":1146,"props":3470,"children":3471},{"style":1153},[3472],{"type":45,"value":2307},{"type":39,"tag":1146,"props":3474,"children":3475},{"class":1148,"line":1216},[3476,3481,3486,3490,3494,3499],{"type":39,"tag":1146,"props":3477,"children":3478},{"style":1153},[3479],{"type":45,"value":3480},"  {",{"type":39,"tag":1146,"props":3482,"children":3483},{"style":2126},[3484],{"type":45,"value":3485}," headers",{"type":39,"tag":1146,"props":3487,"children":3488},{"style":1153},[3489],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3491,"children":3492},{"style":2079},[3493],{"type":45,"value":2082},{"type":39,"tag":1146,"props":3495,"children":3496},{"style":2030},[3497],{"type":45,"value":3498},"() ",{"type":39,"tag":1146,"props":3500,"children":3501},{"style":1153},[3502],{"type":45,"value":1282},{"type":39,"tag":1146,"props":3504,"children":3505},{"class":1148,"line":1250},[3506,3510,3514,3519,3523,3529,3534,3539,3543,3547,3552],{"type":39,"tag":1146,"props":3507,"children":3508},{"style":2030},[3509],{"type":45,"value":2240},{"type":39,"tag":1146,"props":3511,"children":3512},{"style":1153},[3513],{"type":45,"value":675},{"type":39,"tag":1146,"props":3515,"children":3516},{"style":2079},[3517],{"type":45,"value":3518},"then",{"type":39,"tag":1146,"props":3520,"children":3521},{"style":2030},[3522],{"type":45,"value":2222},{"type":39,"tag":1146,"props":3524,"children":3526},{"style":3525},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[3527],{"type":45,"value":3528},"r",{"type":39,"tag":1146,"props":3530,"children":3531},{"style":1168},[3532],{"type":45,"value":3533}," =>",{"type":39,"tag":1146,"props":3535,"children":3536},{"style":2030},[3537],{"type":45,"value":3538}," r",{"type":39,"tag":1146,"props":3540,"children":3541},{"style":1153},[3542],{"type":45,"value":675},{"type":39,"tag":1146,"props":3544,"children":3545},{"style":2079},[3546],{"type":45,"value":1140},{"type":39,"tag":1146,"props":3548,"children":3549},{"style":2030},[3550],{"type":45,"value":3551},"())",{"type":39,"tag":1146,"props":3553,"children":3554},{"style":1153},[3555],{"type":45,"value":2059},{"type":39,"tag":1146,"props":3557,"children":3558},{"class":1148,"line":1259},[3559],{"type":39,"tag":1146,"props":3560,"children":3561},{"emptyLinePlaceholder":2065},[3562],{"type":45,"value":2068},{"type":39,"tag":1146,"props":3564,"children":3565},{"class":1148,"line":27},[3566],{"type":39,"tag":1146,"props":3567,"children":3568},{"style":1244},[3569],{"type":45,"value":3570},"\u002F\u002F Step 2: Modify the field you need\n",{"type":39,"tag":1146,"props":3572,"children":3573},{"class":1148,"line":1276},[3574,3579,3583,3587,3591,3595,3599,3603,3607,3612],{"type":39,"tag":1146,"props":3575,"children":3576},{"style":2030},[3577],{"type":45,"value":3578},"current",{"type":39,"tag":1146,"props":3580,"children":3581},{"style":1153},[3582],{"type":45,"value":675},{"type":39,"tag":1146,"props":3584,"children":3585},{"style":2030},[3586],{"type":45,"value":1171},{"type":39,"tag":1146,"props":3588,"children":3589},{"style":1153},[3590],{"type":45,"value":675},{"type":39,"tag":1146,"props":3592,"children":3593},{"style":2030},[3594],{"type":45,"value":1201},{"type":39,"tag":1146,"props":3596,"children":3597},{"style":1153},[3598],{"type":45,"value":675},{"type":39,"tag":1146,"props":3600,"children":3601},{"style":2030},[3602],{"type":45,"value":158},{"type":39,"tag":1146,"props":3604,"children":3605},{"style":1153},[3606],{"type":45,"value":675},{"type":39,"tag":1146,"props":3608,"children":3609},{"style":2079},[3610],{"type":45,"value":3611},"push",{"type":39,"tag":1146,"props":3613,"children":3614},{"style":2030},[3615],{"type":45,"value":2129},{"type":39,"tag":1146,"props":3617,"children":3618},{"class":1148,"line":2310},[3619,3623,3627,3631,3635,3639,3643,3647,3651,3655,3659,3663,3667,3671,3675,3679,3683,3688,3692,3696,3700,3704,3709],{"type":39,"tag":1146,"props":3620,"children":3621},{"style":1153},[3622],{"type":45,"value":3480},{"type":39,"tag":1146,"props":3624,"children":3625},{"style":2126},[3626],{"type":45,"value":2740},{"type":39,"tag":1146,"props":3628,"children":3629},{"style":1153},[3630],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3632,"children":3633},{"style":1153},[3634],{"type":45,"value":2043},{"type":39,"tag":1146,"props":3636,"children":3637},{"style":2046},[3638],{"type":45,"value":2778},{"type":39,"tag":1146,"props":3640,"children":3641},{"style":1153},[3642],{"type":45,"value":2054},{"type":39,"tag":1146,"props":3644,"children":3645},{"style":1153},[3646],{"type":45,"value":2647},{"type":39,"tag":1146,"props":3648,"children":3649},{"style":2126},[3650],{"type":45,"value":2765},{"type":39,"tag":1146,"props":3652,"children":3653},{"style":1153},[3654],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3656,"children":3657},{"style":1153},[3658],{"type":45,"value":2043},{"type":39,"tag":1146,"props":3660,"children":3661},{"style":2046},[3662],{"type":45,"value":1596},{"type":39,"tag":1146,"props":3664,"children":3665},{"style":1153},[3666],{"type":45,"value":2054},{"type":39,"tag":1146,"props":3668,"children":3669},{"style":1153},[3670],{"type":45,"value":2647},{"type":39,"tag":1146,"props":3672,"children":3673},{"style":2126},[3674],{"type":45,"value":2791},{"type":39,"tag":1146,"props":3676,"children":3677},{"style":1153},[3678],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3680,"children":3681},{"style":1153},[3682],{"type":45,"value":2908},{"type":39,"tag":1146,"props":3684,"children":3685},{"style":2126},[3686],{"type":45,"value":3687}," callType",{"type":39,"tag":1146,"props":3689,"children":3690},{"style":1153},[3691],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3693,"children":3694},{"style":1153},[3695],{"type":45,"value":2043},{"type":39,"tag":1146,"props":3697,"children":3698},{"style":2046},[3699],{"type":45,"value":1728},{"type":39,"tag":1146,"props":3701,"children":3702},{"style":1153},[3703],{"type":45,"value":2054},{"type":39,"tag":1146,"props":3705,"children":3706},{"style":1153},[3707],{"type":45,"value":3708}," }",{"type":39,"tag":1146,"props":3710,"children":3711},{"style":1153},[3712],{"type":45,"value":3713}," }\n",{"type":39,"tag":1146,"props":3715,"children":3716},{"class":1148,"line":2348},[3717,3721],{"type":39,"tag":1146,"props":3718,"children":3719},{"style":2030},[3720],{"type":45,"value":2240},{"type":39,"tag":1146,"props":3722,"children":3723},{"style":1153},[3724],{"type":45,"value":2059},{"type":39,"tag":1146,"props":3726,"children":3727},{"class":1148,"line":2357},[3728],{"type":39,"tag":1146,"props":3729,"children":3730},{"emptyLinePlaceholder":2065},[3731],{"type":45,"value":2068},{"type":39,"tag":1146,"props":3733,"children":3734},{"class":1148,"line":2677},[3735],{"type":39,"tag":1146,"props":3736,"children":3737},{"style":1244},[3738],{"type":45,"value":3739},"\u002F\u002F Step 3: PUT the complete object back\n",{"type":39,"tag":1146,"props":3741,"children":3742},{"class":1148,"line":2694},[3743,3748,3752],{"type":39,"tag":1146,"props":3744,"children":3745},{"style":2250},[3746],{"type":45,"value":3747},"await",{"type":39,"tag":1146,"props":3749,"children":3750},{"style":2079},[3751],{"type":45,"value":2401},{"type":39,"tag":1146,"props":3753,"children":3754},{"style":2030},[3755],{"type":45,"value":2129},{"type":39,"tag":1146,"props":3757,"children":3758},{"class":1148,"line":2711},[3759,3763,3767,3771,3775,3779,3783,3787],{"type":39,"tag":1146,"props":3760,"children":3761},{"style":1153},[3762],{"type":45,"value":2413},{"type":39,"tag":1146,"props":3764,"children":3765},{"style":2030},[3766],{"type":45,"value":2418},{"type":39,"tag":1146,"props":3768,"children":3769},{"style":1153},[3770],{"type":45,"value":2165},{"type":39,"tag":1146,"props":3772,"children":3773},{"style":2046},[3774],{"type":45,"value":3455},{"type":39,"tag":1146,"props":3776,"children":3777},{"style":1153},[3778],{"type":45,"value":2174},{"type":39,"tag":1146,"props":3780,"children":3781},{"style":2030},[3782],{"type":45,"value":3464},{"type":39,"tag":1146,"props":3784,"children":3785},{"style":1153},[3786],{"type":45,"value":2302},{"type":39,"tag":1146,"props":3788,"children":3789},{"style":1153},[3790],{"type":45,"value":2307},{"type":39,"tag":1146,"props":3792,"children":3793},{"class":1148,"line":2729},[3794],{"type":39,"tag":1146,"props":3795,"children":3796},{"style":1153},[3797],{"type":45,"value":2444},{"type":39,"tag":1146,"props":3799,"children":3800},{"class":1148,"line":2808},[3801,3805,3809,3813,3818,3822],{"type":39,"tag":1146,"props":3802,"children":3803},{"style":2126},[3804],{"type":45,"value":2452},{"type":39,"tag":1146,"props":3806,"children":3807},{"style":1153},[3808],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3810,"children":3811},{"style":1153},[3812],{"type":45,"value":2043},{"type":39,"tag":1146,"props":3814,"children":3815},{"style":2046},[3816],{"type":45,"value":3817},"PUT",{"type":39,"tag":1146,"props":3819,"children":3820},{"style":1153},[3821],{"type":45,"value":2054},{"type":39,"tag":1146,"props":3823,"children":3824},{"style":1153},[3825],{"type":45,"value":2307},{"type":39,"tag":1146,"props":3827,"children":3828},{"class":1148,"line":2880},[3829,3833,3837,3841,3845],{"type":39,"tag":1146,"props":3830,"children":3831},{"style":2126},[3832],{"type":45,"value":2481},{"type":39,"tag":1146,"props":3834,"children":3835},{"style":1153},[3836],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3838,"children":3839},{"style":2079},[3840],{"type":45,"value":2082},{"type":39,"tag":1146,"props":3842,"children":3843},{"style":2030},[3844],{"type":45,"value":2087},{"type":39,"tag":1146,"props":3846,"children":3847},{"style":1153},[3848],{"type":45,"value":2307},{"type":39,"tag":1146,"props":3850,"children":3851},{"class":1148,"line":2893},[3852,3856,3860,3864,3868,3872,3877],{"type":39,"tag":1146,"props":3853,"children":3854},{"style":2126},[3855],{"type":45,"value":2505},{"type":39,"tag":1146,"props":3857,"children":3858},{"style":1153},[3859],{"type":45,"value":1181},{"type":39,"tag":1146,"props":3861,"children":3862},{"style":2030},[3863],{"type":45,"value":2514},{"type":39,"tag":1146,"props":3865,"children":3866},{"style":1153},[3867],{"type":45,"value":675},{"type":39,"tag":1146,"props":3869,"children":3870},{"style":2079},[3871],{"type":45,"value":2523},{"type":39,"tag":1146,"props":3873,"children":3874},{"style":2030},[3875],{"type":45,"value":3876},"(current)",{"type":39,"tag":1146,"props":3878,"children":3879},{"style":1153},[3880],{"type":45,"value":2307},{"type":39,"tag":1146,"props":3882,"children":3883},{"class":1148,"line":2947},[3884],{"type":39,"tag":1146,"props":3885,"children":3886},{"style":1153},[3887],{"type":45,"value":1273},{"type":39,"tag":1146,"props":3889,"children":3890},{"class":1148,"line":2956},[3891,3895],{"type":39,"tag":1146,"props":3892,"children":3893},{"style":2030},[3894],{"type":45,"value":2240},{"type":39,"tag":1146,"props":3896,"children":3897},{"style":1153},[3898],{"type":45,"value":2059},{"type":39,"tag":387,"props":3900,"children":3902},{"className":3135,"code":3901,"language":3137,"meta":395,"style":395},"# Fetch current config\ncurrent = requests.get(\n    f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FControlPlane\u002FConfigurations\u002F{config_id}\",\n    auth=(account_sid, auth_token)\n).json()\n\n# Modify and PUT the whole thing back\ncurrent[\"channelSettings\"][\"VOICE\"][\"captureRules\"].append(\n    {\"from\": \"*\", \"to\": twilio_phone, \"metadata\": {\"callType\": \"CLIENT\"}}\n)\n\nrequests.put(\n    f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FControlPlane\u002FConfigurations\u002F{config_id}\",\n    auth=(account_sid, auth_token),\n    json=current\n)\n",[3903],{"type":39,"tag":153,"props":3904,"children":3905},{"__ignoreMap":395},[3906,3914,3922,3930,3938,3945,3952,3960,3968,3976,3984,3991,3999,4006,4013,4021],{"type":39,"tag":1146,"props":3907,"children":3908},{"class":1148,"line":1149},[3909],{"type":39,"tag":1146,"props":3910,"children":3911},{},[3912],{"type":45,"value":3913},"# Fetch current config\n",{"type":39,"tag":1146,"props":3915,"children":3916},{"class":1148,"line":1159},[3917],{"type":39,"tag":1146,"props":3918,"children":3919},{},[3920],{"type":45,"value":3921},"current = requests.get(\n",{"type":39,"tag":1146,"props":3923,"children":3924},{"class":1148,"line":1189},[3925],{"type":39,"tag":1146,"props":3926,"children":3927},{},[3928],{"type":45,"value":3929},"    f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FControlPlane\u002FConfigurations\u002F{config_id}\",\n",{"type":39,"tag":1146,"props":3931,"children":3932},{"class":1148,"line":1216},[3933],{"type":39,"tag":1146,"props":3934,"children":3935},{},[3936],{"type":45,"value":3937},"    auth=(account_sid, auth_token)\n",{"type":39,"tag":1146,"props":3939,"children":3940},{"class":1148,"line":1250},[3941],{"type":39,"tag":1146,"props":3942,"children":3943},{},[3944],{"type":45,"value":3386},{"type":39,"tag":1146,"props":3946,"children":3947},{"class":1148,"line":1259},[3948],{"type":39,"tag":1146,"props":3949,"children":3950},{"emptyLinePlaceholder":2065},[3951],{"type":45,"value":2068},{"type":39,"tag":1146,"props":3953,"children":3954},{"class":1148,"line":27},[3955],{"type":39,"tag":1146,"props":3956,"children":3957},{},[3958],{"type":45,"value":3959},"# Modify and PUT the whole thing back\n",{"type":39,"tag":1146,"props":3961,"children":3962},{"class":1148,"line":1276},[3963],{"type":39,"tag":1146,"props":3964,"children":3965},{},[3966],{"type":45,"value":3967},"current[\"channelSettings\"][\"VOICE\"][\"captureRules\"].append(\n",{"type":39,"tag":1146,"props":3969,"children":3970},{"class":1148,"line":2310},[3971],{"type":39,"tag":1146,"props":3972,"children":3973},{},[3974],{"type":45,"value":3975},"    {\"from\": \"*\", \"to\": twilio_phone, \"metadata\": {\"callType\": \"CLIENT\"}}\n",{"type":39,"tag":1146,"props":3977,"children":3978},{"class":1148,"line":2348},[3979],{"type":39,"tag":1146,"props":3980,"children":3981},{},[3982],{"type":45,"value":3983},")\n",{"type":39,"tag":1146,"props":3985,"children":3986},{"class":1148,"line":2357},[3987],{"type":39,"tag":1146,"props":3988,"children":3989},{"emptyLinePlaceholder":2065},[3990],{"type":45,"value":2068},{"type":39,"tag":1146,"props":3992,"children":3993},{"class":1148,"line":2677},[3994],{"type":39,"tag":1146,"props":3995,"children":3996},{},[3997],{"type":45,"value":3998},"requests.put(\n",{"type":39,"tag":1146,"props":4000,"children":4001},{"class":1148,"line":2694},[4002],{"type":39,"tag":1146,"props":4003,"children":4004},{},[4005],{"type":45,"value":3929},{"type":39,"tag":1146,"props":4007,"children":4008},{"class":1148,"line":2711},[4009],{"type":39,"tag":1146,"props":4010,"children":4011},{},[4012],{"type":45,"value":3211},{"type":39,"tag":1146,"props":4014,"children":4015},{"class":1148,"line":2729},[4016],{"type":39,"tag":1146,"props":4017,"children":4018},{},[4019],{"type":45,"value":4020},"    json=current\n",{"type":39,"tag":1146,"props":4022,"children":4023},{"class":1148,"line":2808},[4024],{"type":39,"tag":1146,"props":4025,"children":4026},{},[4027],{"type":45,"value":3983},{"type":39,"tag":176,"props":4029,"children":4031},{"id":4030},"link-intelligence-configuration",[4032],{"type":45,"value":4033},"Link Intelligence Configuration",{"type":39,"tag":387,"props":4035,"children":4037},{"className":2013,"code":4036,"language":2015,"meta":395,"style":395},"\u002F\u002F Fetch current config, add Intelligence, PUT back\nconst current = await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations\u002F${configId}`,\n  { headers: getAuthHeaders() }\n).then(r => r.json());\n\ncurrent.intelligenceConfigurationIds = [intelligenceConfigId];\n\nawait fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FControlPlane\u002FConfigurations\u002F${configId}`,\n  {\n    method: 'PUT',\n    headers: getAuthHeaders(),\n    body: JSON.stringify(current),\n  }\n);\n",[4038],{"type":39,"tag":153,"props":4039,"children":4040},{"__ignoreMap":395},[4041,4049,4076,4111,4138,4185,4192,4221,4228,4243,4278,4285,4312,4335,4366,4373],{"type":39,"tag":1146,"props":4042,"children":4043},{"class":1148,"line":1149},[4044],{"type":39,"tag":1146,"props":4045,"children":4046},{"style":1244},[4047],{"type":45,"value":4048},"\u002F\u002F Fetch current config, add Intelligence, PUT back\n",{"type":39,"tag":1146,"props":4050,"children":4051},{"class":1148,"line":1159},[4052,4056,4060,4064,4068,4072],{"type":39,"tag":1146,"props":4053,"children":4054},{"style":1168},[4055],{"type":45,"value":2027},{"type":39,"tag":1146,"props":4057,"children":4058},{"style":2030},[4059],{"type":45,"value":3419},{"type":39,"tag":1146,"props":4061,"children":4062},{"style":1153},[4063],{"type":45,"value":2038},{"type":39,"tag":1146,"props":4065,"children":4066},{"style":2250},[4067],{"type":45,"value":2396},{"type":39,"tag":1146,"props":4069,"children":4070},{"style":2079},[4071],{"type":45,"value":2401},{"type":39,"tag":1146,"props":4073,"children":4074},{"style":2030},[4075],{"type":45,"value":2129},{"type":39,"tag":1146,"props":4077,"children":4078},{"class":1148,"line":1189},[4079,4083,4087,4091,4095,4099,4103,4107],{"type":39,"tag":1146,"props":4080,"children":4081},{"style":1153},[4082],{"type":45,"value":2413},{"type":39,"tag":1146,"props":4084,"children":4085},{"style":2030},[4086],{"type":45,"value":2418},{"type":39,"tag":1146,"props":4088,"children":4089},{"style":1153},[4090],{"type":45,"value":2165},{"type":39,"tag":1146,"props":4092,"children":4093},{"style":2046},[4094],{"type":45,"value":3455},{"type":39,"tag":1146,"props":4096,"children":4097},{"style":1153},[4098],{"type":45,"value":2174},{"type":39,"tag":1146,"props":4100,"children":4101},{"style":2030},[4102],{"type":45,"value":3464},{"type":39,"tag":1146,"props":4104,"children":4105},{"style":1153},[4106],{"type":45,"value":2302},{"type":39,"tag":1146,"props":4108,"children":4109},{"style":1153},[4110],{"type":45,"value":2307},{"type":39,"tag":1146,"props":4112,"children":4113},{"class":1148,"line":1216},[4114,4118,4122,4126,4130,4134],{"type":39,"tag":1146,"props":4115,"children":4116},{"style":1153},[4117],{"type":45,"value":3480},{"type":39,"tag":1146,"props":4119,"children":4120},{"style":2126},[4121],{"type":45,"value":3485},{"type":39,"tag":1146,"props":4123,"children":4124},{"style":1153},[4125],{"type":45,"value":1181},{"type":39,"tag":1146,"props":4127,"children":4128},{"style":2079},[4129],{"type":45,"value":2082},{"type":39,"tag":1146,"props":4131,"children":4132},{"style":2030},[4133],{"type":45,"value":3498},{"type":39,"tag":1146,"props":4135,"children":4136},{"style":1153},[4137],{"type":45,"value":1282},{"type":39,"tag":1146,"props":4139,"children":4140},{"class":1148,"line":1250},[4141,4145,4149,4153,4157,4161,4165,4169,4173,4177,4181],{"type":39,"tag":1146,"props":4142,"children":4143},{"style":2030},[4144],{"type":45,"value":2240},{"type":39,"tag":1146,"props":4146,"children":4147},{"style":1153},[4148],{"type":45,"value":675},{"type":39,"tag":1146,"props":4150,"children":4151},{"style":2079},[4152],{"type":45,"value":3518},{"type":39,"tag":1146,"props":4154,"children":4155},{"style":2030},[4156],{"type":45,"value":2222},{"type":39,"tag":1146,"props":4158,"children":4159},{"style":3525},[4160],{"type":45,"value":3528},{"type":39,"tag":1146,"props":4162,"children":4163},{"style":1168},[4164],{"type":45,"value":3533},{"type":39,"tag":1146,"props":4166,"children":4167},{"style":2030},[4168],{"type":45,"value":3538},{"type":39,"tag":1146,"props":4170,"children":4171},{"style":1153},[4172],{"type":45,"value":675},{"type":39,"tag":1146,"props":4174,"children":4175},{"style":2079},[4176],{"type":45,"value":1140},{"type":39,"tag":1146,"props":4178,"children":4179},{"style":2030},[4180],{"type":45,"value":3551},{"type":39,"tag":1146,"props":4182,"children":4183},{"style":1153},[4184],{"type":45,"value":2059},{"type":39,"tag":1146,"props":4186,"children":4187},{"class":1148,"line":1259},[4188],{"type":39,"tag":1146,"props":4189,"children":4190},{"emptyLinePlaceholder":2065},[4191],{"type":45,"value":2068},{"type":39,"tag":1146,"props":4193,"children":4194},{"class":1148,"line":27},[4195,4199,4203,4208,4212,4217],{"type":39,"tag":1146,"props":4196,"children":4197},{"style":2030},[4198],{"type":45,"value":3578},{"type":39,"tag":1146,"props":4200,"children":4201},{"style":1153},[4202],{"type":45,"value":675},{"type":39,"tag":1146,"props":4204,"children":4205},{"style":2030},[4206],{"type":45,"value":4207},"intelligenceConfigurationIds ",{"type":39,"tag":1146,"props":4209,"children":4210},{"style":1153},[4211],{"type":45,"value":2038},{"type":39,"tag":1146,"props":4213,"children":4214},{"style":2030},[4215],{"type":45,"value":4216}," [intelligenceConfigId]",{"type":39,"tag":1146,"props":4218,"children":4219},{"style":1153},[4220],{"type":45,"value":2059},{"type":39,"tag":1146,"props":4222,"children":4223},{"class":1148,"line":1276},[4224],{"type":39,"tag":1146,"props":4225,"children":4226},{"emptyLinePlaceholder":2065},[4227],{"type":45,"value":2068},{"type":39,"tag":1146,"props":4229,"children":4230},{"class":1148,"line":2310},[4231,4235,4239],{"type":39,"tag":1146,"props":4232,"children":4233},{"style":2250},[4234],{"type":45,"value":3747},{"type":39,"tag":1146,"props":4236,"children":4237},{"style":2079},[4238],{"type":45,"value":2401},{"type":39,"tag":1146,"props":4240,"children":4241},{"style":2030},[4242],{"type":45,"value":2129},{"type":39,"tag":1146,"props":4244,"children":4245},{"class":1148,"line":2348},[4246,4250,4254,4258,4262,4266,4270,4274],{"type":39,"tag":1146,"props":4247,"children":4248},{"style":1153},[4249],{"type":45,"value":2413},{"type":39,"tag":1146,"props":4251,"children":4252},{"style":2030},[4253],{"type":45,"value":2418},{"type":39,"tag":1146,"props":4255,"children":4256},{"style":1153},[4257],{"type":45,"value":2165},{"type":39,"tag":1146,"props":4259,"children":4260},{"style":2046},[4261],{"type":45,"value":3455},{"type":39,"tag":1146,"props":4263,"children":4264},{"style":1153},[4265],{"type":45,"value":2174},{"type":39,"tag":1146,"props":4267,"children":4268},{"style":2030},[4269],{"type":45,"value":3464},{"type":39,"tag":1146,"props":4271,"children":4272},{"style":1153},[4273],{"type":45,"value":2302},{"type":39,"tag":1146,"props":4275,"children":4276},{"style":1153},[4277],{"type":45,"value":2307},{"type":39,"tag":1146,"props":4279,"children":4280},{"class":1148,"line":2357},[4281],{"type":39,"tag":1146,"props":4282,"children":4283},{"style":1153},[4284],{"type":45,"value":2444},{"type":39,"tag":1146,"props":4286,"children":4287},{"class":1148,"line":2677},[4288,4292,4296,4300,4304,4308],{"type":39,"tag":1146,"props":4289,"children":4290},{"style":2126},[4291],{"type":45,"value":2452},{"type":39,"tag":1146,"props":4293,"children":4294},{"style":1153},[4295],{"type":45,"value":1181},{"type":39,"tag":1146,"props":4297,"children":4298},{"style":1153},[4299],{"type":45,"value":2043},{"type":39,"tag":1146,"props":4301,"children":4302},{"style":2046},[4303],{"type":45,"value":3817},{"type":39,"tag":1146,"props":4305,"children":4306},{"style":1153},[4307],{"type":45,"value":2054},{"type":39,"tag":1146,"props":4309,"children":4310},{"style":1153},[4311],{"type":45,"value":2307},{"type":39,"tag":1146,"props":4313,"children":4314},{"class":1148,"line":2694},[4315,4319,4323,4327,4331],{"type":39,"tag":1146,"props":4316,"children":4317},{"style":2126},[4318],{"type":45,"value":2481},{"type":39,"tag":1146,"props":4320,"children":4321},{"style":1153},[4322],{"type":45,"value":1181},{"type":39,"tag":1146,"props":4324,"children":4325},{"style":2079},[4326],{"type":45,"value":2082},{"type":39,"tag":1146,"props":4328,"children":4329},{"style":2030},[4330],{"type":45,"value":2087},{"type":39,"tag":1146,"props":4332,"children":4333},{"style":1153},[4334],{"type":45,"value":2307},{"type":39,"tag":1146,"props":4336,"children":4337},{"class":1148,"line":2711},[4338,4342,4346,4350,4354,4358,4362],{"type":39,"tag":1146,"props":4339,"children":4340},{"style":2126},[4341],{"type":45,"value":2505},{"type":39,"tag":1146,"props":4343,"children":4344},{"style":1153},[4345],{"type":45,"value":1181},{"type":39,"tag":1146,"props":4347,"children":4348},{"style":2030},[4349],{"type":45,"value":2514},{"type":39,"tag":1146,"props":4351,"children":4352},{"style":1153},[4353],{"type":45,"value":675},{"type":39,"tag":1146,"props":4355,"children":4356},{"style":2079},[4357],{"type":45,"value":2523},{"type":39,"tag":1146,"props":4359,"children":4360},{"style":2030},[4361],{"type":45,"value":3876},{"type":39,"tag":1146,"props":4363,"children":4364},{"style":1153},[4365],{"type":45,"value":2307},{"type":39,"tag":1146,"props":4367,"children":4368},{"class":1148,"line":2729},[4369],{"type":39,"tag":1146,"props":4370,"children":4371},{"style":1153},[4372],{"type":45,"value":1273},{"type":39,"tag":1146,"props":4374,"children":4375},{"class":1148,"line":2808},[4376,4380],{"type":39,"tag":1146,"props":4377,"children":4378},{"style":2030},[4379],{"type":45,"value":2240},{"type":39,"tag":1146,"props":4381,"children":4382},{"style":1153},[4383],{"type":45,"value":2059},{"type":39,"tag":176,"props":4385,"children":4387},{"id":4386},"read-conversations-and-communications",[4388],{"type":45,"value":4389},"Read Conversations and Communications",{"type":39,"tag":387,"props":4391,"children":4393},{"className":2013,"code":4392,"language":2015,"meta":395,"style":395},"\u002F\u002F List active conversations\nconst conversations = await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FConversations?Status=ACTIVE&PageSize=10`,\n  { headers: getAuthHeaders() }\n).then(r => r.json());\n\nfor (const conv of conversations.conversations ?? []) {\n  \u002F\u002F Note: List view has minimal data. For full details, fetch individual conversation\n  console.log(`Conversation: ${conv.id}, Created: ${conv.createdAt || 'N\u002FA'}`);\n  \n  \u002F\u002F List communications (messages + voice utterances)\n  const comms = await fetch(\n    `${CONVERSATIONS_V2_BASE}\u002FConversations\u002F${conv.id}\u002FCommunications`,\n    { headers: getAuthHeaders() }\n  ).then(r => r.json());\n\n  for (const comm of comms.communications ?? []) {\n    \u002F\u002F Use optional chaining - channel and body may be undefined in list view\n    console.log(`[${comm.channel ?? 'N\u002FA'}] ${comm.body ?? 'N\u002FA'}`);\n  }\n}\n",[4394],{"type":39,"tag":153,"props":4395,"children":4396},{"__ignoreMap":395},[4397,4405,4433,4461,4488,4535,4542,4597,4605,4706,4714,4722,4750,4803,4831,4878,4885,4937,4945,5055,5062],{"type":39,"tag":1146,"props":4398,"children":4399},{"class":1148,"line":1149},[4400],{"type":39,"tag":1146,"props":4401,"children":4402},{"style":1244},[4403],{"type":45,"value":4404},"\u002F\u002F List active conversations\n",{"type":39,"tag":1146,"props":4406,"children":4407},{"class":1148,"line":1159},[4408,4412,4417,4421,4425,4429],{"type":39,"tag":1146,"props":4409,"children":4410},{"style":1168},[4411],{"type":45,"value":2027},{"type":39,"tag":1146,"props":4413,"children":4414},{"style":2030},[4415],{"type":45,"value":4416}," conversations ",{"type":39,"tag":1146,"props":4418,"children":4419},{"style":1153},[4420],{"type":45,"value":2038},{"type":39,"tag":1146,"props":4422,"children":4423},{"style":2250},[4424],{"type":45,"value":2396},{"type":39,"tag":1146,"props":4426,"children":4427},{"style":2079},[4428],{"type":45,"value":2401},{"type":39,"tag":1146,"props":4430,"children":4431},{"style":2030},[4432],{"type":45,"value":2129},{"type":39,"tag":1146,"props":4434,"children":4435},{"class":1148,"line":1189},[4436,4440,4444,4448,4453,4457],{"type":39,"tag":1146,"props":4437,"children":4438},{"style":1153},[4439],{"type":45,"value":2413},{"type":39,"tag":1146,"props":4441,"children":4442},{"style":2030},[4443],{"type":45,"value":2418},{"type":39,"tag":1146,"props":4445,"children":4446},{"style":1153},[4447],{"type":45,"value":2165},{"type":39,"tag":1146,"props":4449,"children":4450},{"style":2046},[4451],{"type":45,"value":4452},"\u002FConversations?Status=ACTIVE&PageSize=10",{"type":39,"tag":1146,"props":4454,"children":4455},{"style":1153},[4456],{"type":45,"value":2432},{"type":39,"tag":1146,"props":4458,"children":4459},{"style":1153},[4460],{"type":45,"value":2307},{"type":39,"tag":1146,"props":4462,"children":4463},{"class":1148,"line":1216},[4464,4468,4472,4476,4480,4484],{"type":39,"tag":1146,"props":4465,"children":4466},{"style":1153},[4467],{"type":45,"value":3480},{"type":39,"tag":1146,"props":4469,"children":4470},{"style":2126},[4471],{"type":45,"value":3485},{"type":39,"tag":1146,"props":4473,"children":4474},{"style":1153},[4475],{"type":45,"value":1181},{"type":39,"tag":1146,"props":4477,"children":4478},{"style":2079},[4479],{"type":45,"value":2082},{"type":39,"tag":1146,"props":4481,"children":4482},{"style":2030},[4483],{"type":45,"value":3498},{"type":39,"tag":1146,"props":4485,"children":4486},{"style":1153},[4487],{"type":45,"value":1282},{"type":39,"tag":1146,"props":4489,"children":4490},{"class":1148,"line":1250},[4491,4495,4499,4503,4507,4511,4515,4519,4523,4527,4531],{"type":39,"tag":1146,"props":4492,"children":4493},{"style":2030},[4494],{"type":45,"value":2240},{"type":39,"tag":1146,"props":4496,"children":4497},{"style":1153},[4498],{"type":45,"value":675},{"type":39,"tag":1146,"props":4500,"children":4501},{"style":2079},[4502],{"type":45,"value":3518},{"type":39,"tag":1146,"props":4504,"children":4505},{"style":2030},[4506],{"type":45,"value":2222},{"type":39,"tag":1146,"props":4508,"children":4509},{"style":3525},[4510],{"type":45,"value":3528},{"type":39,"tag":1146,"props":4512,"children":4513},{"style":1168},[4514],{"type":45,"value":3533},{"type":39,"tag":1146,"props":4516,"children":4517},{"style":2030},[4518],{"type":45,"value":3538},{"type":39,"tag":1146,"props":4520,"children":4521},{"style":1153},[4522],{"type":45,"value":675},{"type":39,"tag":1146,"props":4524,"children":4525},{"style":2079},[4526],{"type":45,"value":1140},{"type":39,"tag":1146,"props":4528,"children":4529},{"style":2030},[4530],{"type":45,"value":3551},{"type":39,"tag":1146,"props":4532,"children":4533},{"style":1153},[4534],{"type":45,"value":2059},{"type":39,"tag":1146,"props":4536,"children":4537},{"class":1148,"line":1259},[4538],{"type":39,"tag":1146,"props":4539,"children":4540},{"emptyLinePlaceholder":2065},[4541],{"type":45,"value":2068},{"type":39,"tag":1146,"props":4543,"children":4544},{"class":1148,"line":27},[4545,4550,4555,4559,4564,4569,4574,4578,4583,4588,4593],{"type":39,"tag":1146,"props":4546,"children":4547},{"style":2250},[4548],{"type":45,"value":4549},"for",{"type":39,"tag":1146,"props":4551,"children":4552},{"style":2030},[4553],{"type":45,"value":4554}," (",{"type":39,"tag":1146,"props":4556,"children":4557},{"style":1168},[4558],{"type":45,"value":2027},{"type":39,"tag":1146,"props":4560,"children":4561},{"style":2030},[4562],{"type":45,"value":4563}," conv ",{"type":39,"tag":1146,"props":4565,"children":4566},{"style":1153},[4567],{"type":45,"value":4568},"of",{"type":39,"tag":1146,"props":4570,"children":4571},{"style":2030},[4572],{"type":45,"value":4573}," conversations",{"type":39,"tag":1146,"props":4575,"children":4576},{"style":1153},[4577],{"type":45,"value":675},{"type":39,"tag":1146,"props":4579,"children":4580},{"style":2030},[4581],{"type":45,"value":4582},"conversations ",{"type":39,"tag":1146,"props":4584,"children":4585},{"style":1153},[4586],{"type":45,"value":4587},"??",{"type":39,"tag":1146,"props":4589,"children":4590},{"style":2030},[4591],{"type":45,"value":4592}," []) ",{"type":39,"tag":1146,"props":4594,"children":4595},{"style":1153},[4596],{"type":45,"value":1156},{"type":39,"tag":1146,"props":4598,"children":4599},{"class":1148,"line":1276},[4600],{"type":39,"tag":1146,"props":4601,"children":4602},{"style":1244},[4603],{"type":45,"value":4604},"  \u002F\u002F Note: List view has minimal data. For full details, fetch individual conversation\n",{"type":39,"tag":1146,"props":4606,"children":4607},{"class":1148,"line":2310},[4608,4613,4617,4622,4626,4630,4635,4639,4644,4648,4653,4657,4662,4666,4670,4674,4679,4684,4688,4693,4698,4702],{"type":39,"tag":1146,"props":4609,"children":4610},{"style":2030},[4611],{"type":45,"value":4612},"  console",{"type":39,"tag":1146,"props":4614,"children":4615},{"style":1153},[4616],{"type":45,"value":675},{"type":39,"tag":1146,"props":4618,"children":4619},{"style":2079},[4620],{"type":45,"value":4621},"log",{"type":39,"tag":1146,"props":4623,"children":4624},{"style":2126},[4625],{"type":45,"value":2222},{"type":39,"tag":1146,"props":4627,"children":4628},{"style":1153},[4629],{"type":45,"value":2432},{"type":39,"tag":1146,"props":4631,"children":4632},{"style":2046},[4633],{"type":45,"value":4634},"Conversation: ",{"type":39,"tag":1146,"props":4636,"children":4637},{"style":1153},[4638],{"type":45,"value":2174},{"type":39,"tag":1146,"props":4640,"children":4641},{"style":2030},[4642],{"type":45,"value":4643},"conv",{"type":39,"tag":1146,"props":4645,"children":4646},{"style":1153},[4647],{"type":45,"value":675},{"type":39,"tag":1146,"props":4649,"children":4650},{"style":2030},[4651],{"type":45,"value":4652},"id",{"type":39,"tag":1146,"props":4654,"children":4655},{"style":1153},[4656],{"type":45,"value":2165},{"type":39,"tag":1146,"props":4658,"children":4659},{"style":2046},[4660],{"type":45,"value":4661},", Created: ",{"type":39,"tag":1146,"props":4663,"children":4664},{"style":1153},[4665],{"type":45,"value":2174},{"type":39,"tag":1146,"props":4667,"children":4668},{"style":2030},[4669],{"type":45,"value":4643},{"type":39,"tag":1146,"props":4671,"children":4672},{"style":1153},[4673],{"type":45,"value":675},{"type":39,"tag":1146,"props":4675,"children":4676},{"style":2030},[4677],{"type":45,"value":4678},"createdAt ",{"type":39,"tag":1146,"props":4680,"children":4681},{"style":1153},[4682],{"type":45,"value":4683},"||",{"type":39,"tag":1146,"props":4685,"children":4686},{"style":1153},[4687],{"type":45,"value":2043},{"type":39,"tag":1146,"props":4689,"children":4690},{"style":2046},[4691],{"type":45,"value":4692},"N\u002FA",{"type":39,"tag":1146,"props":4694,"children":4695},{"style":1153},[4696],{"type":45,"value":4697},"'}`",{"type":39,"tag":1146,"props":4699,"children":4700},{"style":2126},[4701],{"type":45,"value":2240},{"type":39,"tag":1146,"props":4703,"children":4704},{"style":1153},[4705],{"type":45,"value":2059},{"type":39,"tag":1146,"props":4707,"children":4708},{"class":1148,"line":2348},[4709],{"type":39,"tag":1146,"props":4710,"children":4711},{"style":2126},[4712],{"type":45,"value":4713},"  \n",{"type":39,"tag":1146,"props":4715,"children":4716},{"class":1148,"line":2357},[4717],{"type":39,"tag":1146,"props":4718,"children":4719},{"style":1244},[4720],{"type":45,"value":4721},"  \u002F\u002F List communications (messages + voice utterances)\n",{"type":39,"tag":1146,"props":4723,"children":4724},{"class":1148,"line":2677},[4725,4729,4734,4738,4742,4746],{"type":39,"tag":1146,"props":4726,"children":4727},{"style":1168},[4728],{"type":45,"value":2099},{"type":39,"tag":1146,"props":4730,"children":4731},{"style":2030},[4732],{"type":45,"value":4733}," comms",{"type":39,"tag":1146,"props":4735,"children":4736},{"style":1153},[4737],{"type":45,"value":2109},{"type":39,"tag":1146,"props":4739,"children":4740},{"style":2250},[4741],{"type":45,"value":2396},{"type":39,"tag":1146,"props":4743,"children":4744},{"style":2079},[4745],{"type":45,"value":2401},{"type":39,"tag":1146,"props":4747,"children":4748},{"style":2126},[4749],{"type":45,"value":2129},{"type":39,"tag":1146,"props":4751,"children":4752},{"class":1148,"line":2694},[4753,4757,4761,4765,4770,4774,4778,4782,4786,4790,4795,4799],{"type":39,"tag":1146,"props":4754,"children":4755},{"style":1153},[4756],{"type":45,"value":2137},{"type":39,"tag":1146,"props":4758,"children":4759},{"style":2030},[4760],{"type":45,"value":2418},{"type":39,"tag":1146,"props":4762,"children":4763},{"style":1153},[4764],{"type":45,"value":2165},{"type":39,"tag":1146,"props":4766,"children":4767},{"style":2046},[4768],{"type":45,"value":4769},"\u002FConversations\u002F",{"type":39,"tag":1146,"props":4771,"children":4772},{"style":1153},[4773],{"type":45,"value":2174},{"type":39,"tag":1146,"props":4775,"children":4776},{"style":2030},[4777],{"type":45,"value":4643},{"type":39,"tag":1146,"props":4779,"children":4780},{"style":1153},[4781],{"type":45,"value":675},{"type":39,"tag":1146,"props":4783,"children":4784},{"style":2030},[4785],{"type":45,"value":4652},{"type":39,"tag":1146,"props":4787,"children":4788},{"style":1153},[4789],{"type":45,"value":2165},{"type":39,"tag":1146,"props":4791,"children":4792},{"style":2046},[4793],{"type":45,"value":4794},"\u002FCommunications",{"type":39,"tag":1146,"props":4796,"children":4797},{"style":1153},[4798],{"type":45,"value":2432},{"type":39,"tag":1146,"props":4800,"children":4801},{"style":1153},[4802],{"type":45,"value":2307},{"type":39,"tag":1146,"props":4804,"children":4805},{"class":1148,"line":2711},[4806,4811,4815,4819,4823,4827],{"type":39,"tag":1146,"props":4807,"children":4808},{"style":1153},[4809],{"type":45,"value":4810},"    {",{"type":39,"tag":1146,"props":4812,"children":4813},{"style":2126},[4814],{"type":45,"value":3485},{"type":39,"tag":1146,"props":4816,"children":4817},{"style":1153},[4818],{"type":45,"value":1181},{"type":39,"tag":1146,"props":4820,"children":4821},{"style":2079},[4822],{"type":45,"value":2082},{"type":39,"tag":1146,"props":4824,"children":4825},{"style":2126},[4826],{"type":45,"value":3498},{"type":39,"tag":1146,"props":4828,"children":4829},{"style":1153},[4830],{"type":45,"value":1282},{"type":39,"tag":1146,"props":4832,"children":4833},{"class":1148,"line":2729},[4834,4838,4842,4846,4850,4854,4858,4862,4866,4870,4874],{"type":39,"tag":1146,"props":4835,"children":4836},{"style":2126},[4837],{"type":45,"value":2208},{"type":39,"tag":1146,"props":4839,"children":4840},{"style":1153},[4841],{"type":45,"value":675},{"type":39,"tag":1146,"props":4843,"children":4844},{"style":2079},[4845],{"type":45,"value":3518},{"type":39,"tag":1146,"props":4847,"children":4848},{"style":2126},[4849],{"type":45,"value":2222},{"type":39,"tag":1146,"props":4851,"children":4852},{"style":3525},[4853],{"type":45,"value":3528},{"type":39,"tag":1146,"props":4855,"children":4856},{"style":1168},[4857],{"type":45,"value":3533},{"type":39,"tag":1146,"props":4859,"children":4860},{"style":2030},[4861],{"type":45,"value":3538},{"type":39,"tag":1146,"props":4863,"children":4864},{"style":1153},[4865],{"type":45,"value":675},{"type":39,"tag":1146,"props":4867,"children":4868},{"style":2079},[4869],{"type":45,"value":1140},{"type":39,"tag":1146,"props":4871,"children":4872},{"style":2126},[4873],{"type":45,"value":3551},{"type":39,"tag":1146,"props":4875,"children":4876},{"style":1153},[4877],{"type":45,"value":2059},{"type":39,"tag":1146,"props":4879,"children":4880},{"class":1148,"line":2808},[4881],{"type":39,"tag":1146,"props":4882,"children":4883},{"emptyLinePlaceholder":2065},[4884],{"type":45,"value":2068},{"type":39,"tag":1146,"props":4886,"children":4887},{"class":1148,"line":2880},[4888,4893,4897,4901,4906,4911,4915,4919,4924,4929,4933],{"type":39,"tag":1146,"props":4889,"children":4890},{"style":2250},[4891],{"type":45,"value":4892},"  for",{"type":39,"tag":1146,"props":4894,"children":4895},{"style":2126},[4896],{"type":45,"value":4554},{"type":39,"tag":1146,"props":4898,"children":4899},{"style":1168},[4900],{"type":45,"value":2027},{"type":39,"tag":1146,"props":4902,"children":4903},{"style":2030},[4904],{"type":45,"value":4905}," comm",{"type":39,"tag":1146,"props":4907,"children":4908},{"style":1153},[4909],{"type":45,"value":4910}," of",{"type":39,"tag":1146,"props":4912,"children":4913},{"style":2030},[4914],{"type":45,"value":4733},{"type":39,"tag":1146,"props":4916,"children":4917},{"style":1153},[4918],{"type":45,"value":675},{"type":39,"tag":1146,"props":4920,"children":4921},{"style":2030},[4922],{"type":45,"value":4923},"communications",{"type":39,"tag":1146,"props":4925,"children":4926},{"style":1153},[4927],{"type":45,"value":4928}," ??",{"type":39,"tag":1146,"props":4930,"children":4931},{"style":2126},[4932],{"type":45,"value":4592},{"type":39,"tag":1146,"props":4934,"children":4935},{"style":1153},[4936],{"type":45,"value":1156},{"type":39,"tag":1146,"props":4938,"children":4939},{"class":1148,"line":2893},[4940],{"type":39,"tag":1146,"props":4941,"children":4942},{"style":1244},[4943],{"type":45,"value":4944},"    \u002F\u002F Use optional chaining - channel and body may be undefined in list view\n",{"type":39,"tag":1146,"props":4946,"children":4947},{"class":1148,"line":2947},[4948,4953,4957,4961,4965,4969,4974,4978,4983,4987,4992,4996,5000,5004,5009,5014,5018,5022,5026,5031,5035,5039,5043,5047,5051],{"type":39,"tag":1146,"props":4949,"children":4950},{"style":2030},[4951],{"type":45,"value":4952},"    console",{"type":39,"tag":1146,"props":4954,"children":4955},{"style":1153},[4956],{"type":45,"value":675},{"type":39,"tag":1146,"props":4958,"children":4959},{"style":2079},[4960],{"type":45,"value":4621},{"type":39,"tag":1146,"props":4962,"children":4963},{"style":2126},[4964],{"type":45,"value":2222},{"type":39,"tag":1146,"props":4966,"children":4967},{"style":1153},[4968],{"type":45,"value":2432},{"type":39,"tag":1146,"props":4970,"children":4971},{"style":2046},[4972],{"type":45,"value":4973},"[",{"type":39,"tag":1146,"props":4975,"children":4976},{"style":1153},[4977],{"type":45,"value":2174},{"type":39,"tag":1146,"props":4979,"children":4980},{"style":2030},[4981],{"type":45,"value":4982},"comm",{"type":39,"tag":1146,"props":4984,"children":4985},{"style":1153},[4986],{"type":45,"value":675},{"type":39,"tag":1146,"props":4988,"children":4989},{"style":2030},[4990],{"type":45,"value":4991},"channel ",{"type":39,"tag":1146,"props":4993,"children":4994},{"style":1153},[4995],{"type":45,"value":4587},{"type":39,"tag":1146,"props":4997,"children":4998},{"style":1153},[4999],{"type":45,"value":2043},{"type":39,"tag":1146,"props":5001,"children":5002},{"style":2046},[5003],{"type":45,"value":4692},{"type":39,"tag":1146,"props":5005,"children":5006},{"style":1153},[5007],{"type":45,"value":5008},"'}",{"type":39,"tag":1146,"props":5010,"children":5011},{"style":2046},[5012],{"type":45,"value":5013},"] ",{"type":39,"tag":1146,"props":5015,"children":5016},{"style":1153},[5017],{"type":45,"value":2174},{"type":39,"tag":1146,"props":5019,"children":5020},{"style":2030},[5021],{"type":45,"value":4982},{"type":39,"tag":1146,"props":5023,"children":5024},{"style":1153},[5025],{"type":45,"value":675},{"type":39,"tag":1146,"props":5027,"children":5028},{"style":2030},[5029],{"type":45,"value":5030},"body ",{"type":39,"tag":1146,"props":5032,"children":5033},{"style":1153},[5034],{"type":45,"value":4587},{"type":39,"tag":1146,"props":5036,"children":5037},{"style":1153},[5038],{"type":45,"value":2043},{"type":39,"tag":1146,"props":5040,"children":5041},{"style":2046},[5042],{"type":45,"value":4692},{"type":39,"tag":1146,"props":5044,"children":5045},{"style":1153},[5046],{"type":45,"value":4697},{"type":39,"tag":1146,"props":5048,"children":5049},{"style":2126},[5050],{"type":45,"value":2240},{"type":39,"tag":1146,"props":5052,"children":5053},{"style":1153},[5054],{"type":45,"value":2059},{"type":39,"tag":1146,"props":5056,"children":5057},{"class":1148,"line":2956},[5058],{"type":39,"tag":1146,"props":5059,"children":5060},{"style":1153},[5061],{"type":45,"value":1273},{"type":39,"tag":1146,"props":5063,"children":5064},{"class":1148,"line":2973},[5065],{"type":39,"tag":1146,"props":5066,"children":5067},{"style":1153},[5068],{"type":45,"value":1282},{"type":39,"tag":387,"props":5070,"children":5072},{"className":3135,"code":5071,"language":3137,"meta":395,"style":395},"conversations = requests.get(\n    \"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\",\n    auth=(account_sid, auth_token),\n    params={\"Status\": \"ACTIVE\", \"PageSize\": 10}\n).json()\n\nfor conv in conversations.get(\"conversations\", []):\n    conv_id = conv[\"id\"]\n    # Note: List view has minimal data. Use .get() for defensive access\n    print(f\"Conversation: {conv_id}, Created: {conv.get('createdAt', 'N\u002FA')}\")\n    \n    comms = requests.get(\n        f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\u002F{conv_id}\u002FCommunications\",\n        auth=(account_sid, auth_token)\n    ).json()\n\n    for comm in comms.get(\"communications\", []):\n        # Use .get() - channel and body may be missing in list view\n        print(f\"  [{comm.get('channel', 'N\u002FA')}] {comm.get('body', 'N\u002FA')}\")\n",[5073],{"type":39,"tag":153,"props":5074,"children":5075},{"__ignoreMap":395},[5076,5084,5092,5099,5107,5114,5121,5129,5137,5145,5153,5161,5169,5177,5185,5193,5200,5208,5216],{"type":39,"tag":1146,"props":5077,"children":5078},{"class":1148,"line":1149},[5079],{"type":39,"tag":1146,"props":5080,"children":5081},{},[5082],{"type":45,"value":5083},"conversations = requests.get(\n",{"type":39,"tag":1146,"props":5085,"children":5086},{"class":1148,"line":1159},[5087],{"type":39,"tag":1146,"props":5088,"children":5089},{},[5090],{"type":45,"value":5091},"    \"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\",\n",{"type":39,"tag":1146,"props":5093,"children":5094},{"class":1148,"line":1189},[5095],{"type":39,"tag":1146,"props":5096,"children":5097},{},[5098],{"type":45,"value":3211},{"type":39,"tag":1146,"props":5100,"children":5101},{"class":1148,"line":1216},[5102],{"type":39,"tag":1146,"props":5103,"children":5104},{},[5105],{"type":45,"value":5106},"    params={\"Status\": \"ACTIVE\", \"PageSize\": 10}\n",{"type":39,"tag":1146,"props":5108,"children":5109},{"class":1148,"line":1250},[5110],{"type":39,"tag":1146,"props":5111,"children":5112},{},[5113],{"type":45,"value":3386},{"type":39,"tag":1146,"props":5115,"children":5116},{"class":1148,"line":1259},[5117],{"type":39,"tag":1146,"props":5118,"children":5119},{"emptyLinePlaceholder":2065},[5120],{"type":45,"value":2068},{"type":39,"tag":1146,"props":5122,"children":5123},{"class":1148,"line":27},[5124],{"type":39,"tag":1146,"props":5125,"children":5126},{},[5127],{"type":45,"value":5128},"for conv in conversations.get(\"conversations\", []):\n",{"type":39,"tag":1146,"props":5130,"children":5131},{"class":1148,"line":1276},[5132],{"type":39,"tag":1146,"props":5133,"children":5134},{},[5135],{"type":45,"value":5136},"    conv_id = conv[\"id\"]\n",{"type":39,"tag":1146,"props":5138,"children":5139},{"class":1148,"line":2310},[5140],{"type":39,"tag":1146,"props":5141,"children":5142},{},[5143],{"type":45,"value":5144},"    # Note: List view has minimal data. Use .get() for defensive access\n",{"type":39,"tag":1146,"props":5146,"children":5147},{"class":1148,"line":2348},[5148],{"type":39,"tag":1146,"props":5149,"children":5150},{},[5151],{"type":45,"value":5152},"    print(f\"Conversation: {conv_id}, Created: {conv.get('createdAt', 'N\u002FA')}\")\n",{"type":39,"tag":1146,"props":5154,"children":5155},{"class":1148,"line":2357},[5156],{"type":39,"tag":1146,"props":5157,"children":5158},{},[5159],{"type":45,"value":5160},"    \n",{"type":39,"tag":1146,"props":5162,"children":5163},{"class":1148,"line":2677},[5164],{"type":39,"tag":1146,"props":5165,"children":5166},{},[5167],{"type":45,"value":5168},"    comms = requests.get(\n",{"type":39,"tag":1146,"props":5170,"children":5171},{"class":1148,"line":2694},[5172],{"type":39,"tag":1146,"props":5173,"children":5174},{},[5175],{"type":45,"value":5176},"        f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\u002F{conv_id}\u002FCommunications\",\n",{"type":39,"tag":1146,"props":5178,"children":5179},{"class":1148,"line":2711},[5180],{"type":39,"tag":1146,"props":5181,"children":5182},{},[5183],{"type":45,"value":5184},"        auth=(account_sid, auth_token)\n",{"type":39,"tag":1146,"props":5186,"children":5187},{"class":1148,"line":2729},[5188],{"type":39,"tag":1146,"props":5189,"children":5190},{},[5191],{"type":45,"value":5192},"    ).json()\n",{"type":39,"tag":1146,"props":5194,"children":5195},{"class":1148,"line":2808},[5196],{"type":39,"tag":1146,"props":5197,"children":5198},{"emptyLinePlaceholder":2065},[5199],{"type":45,"value":2068},{"type":39,"tag":1146,"props":5201,"children":5202},{"class":1148,"line":2880},[5203],{"type":39,"tag":1146,"props":5204,"children":5205},{},[5206],{"type":45,"value":5207},"    for comm in comms.get(\"communications\", []):\n",{"type":39,"tag":1146,"props":5209,"children":5210},{"class":1148,"line":2893},[5211],{"type":39,"tag":1146,"props":5212,"children":5213},{},[5214],{"type":45,"value":5215},"        # Use .get() - channel and body may be missing in list view\n",{"type":39,"tag":1146,"props":5217,"children":5218},{"class":1148,"line":2947},[5219],{"type":39,"tag":1146,"props":5220,"children":5221},{},[5222],{"type":45,"value":5223},"        print(f\"  [{comm.get('channel', 'N\u002FA')}] {comm.get('body', 'N\u002FA')}\")\n",{"type":39,"tag":176,"props":5225,"children":5227},{"id":5226},"close-a-conversation",[5228],{"type":45,"value":5229},"Close a Conversation",{"type":39,"tag":48,"props":5231,"children":5232},{},[5233],{"type":45,"value":5234},"Closing triggers Memory extraction (if enabled) and CONVERSATION_END Intelligence operators.",{"type":39,"tag":387,"props":5236,"children":5238},{"className":2013,"code":5237,"language":2015,"meta":395,"style":395},"await fetch(\n  `${CONVERSATIONS_V2_BASE}\u002FConversations\u002F${convId}`,\n  {\n    method: 'PATCH',\n    headers: getAuthHeaders(),\n    body: JSON.stringify({ status: 'CLOSED' }),\n  }\n);\n",[5239],{"type":39,"tag":153,"props":5240,"children":5241},{"__ignoreMap":395},[5242,5257,5293,5300,5328,5351,5417,5424],{"type":39,"tag":1146,"props":5243,"children":5244},{"class":1148,"line":1149},[5245,5249,5253],{"type":39,"tag":1146,"props":5246,"children":5247},{"style":2250},[5248],{"type":45,"value":3747},{"type":39,"tag":1146,"props":5250,"children":5251},{"style":2079},[5252],{"type":45,"value":2401},{"type":39,"tag":1146,"props":5254,"children":5255},{"style":2030},[5256],{"type":45,"value":2129},{"type":39,"tag":1146,"props":5258,"children":5259},{"class":1148,"line":1159},[5260,5264,5268,5272,5276,5280,5285,5289],{"type":39,"tag":1146,"props":5261,"children":5262},{"style":1153},[5263],{"type":45,"value":2413},{"type":39,"tag":1146,"props":5265,"children":5266},{"style":2030},[5267],{"type":45,"value":2418},{"type":39,"tag":1146,"props":5269,"children":5270},{"style":1153},[5271],{"type":45,"value":2165},{"type":39,"tag":1146,"props":5273,"children":5274},{"style":2046},[5275],{"type":45,"value":4769},{"type":39,"tag":1146,"props":5277,"children":5278},{"style":1153},[5279],{"type":45,"value":2174},{"type":39,"tag":1146,"props":5281,"children":5282},{"style":2030},[5283],{"type":45,"value":5284},"convId",{"type":39,"tag":1146,"props":5286,"children":5287},{"style":1153},[5288],{"type":45,"value":2302},{"type":39,"tag":1146,"props":5290,"children":5291},{"style":1153},[5292],{"type":45,"value":2307},{"type":39,"tag":1146,"props":5294,"children":5295},{"class":1148,"line":1189},[5296],{"type":39,"tag":1146,"props":5297,"children":5298},{"style":1153},[5299],{"type":45,"value":2444},{"type":39,"tag":1146,"props":5301,"children":5302},{"class":1148,"line":1216},[5303,5307,5311,5315,5320,5324],{"type":39,"tag":1146,"props":5304,"children":5305},{"style":2126},[5306],{"type":45,"value":2452},{"type":39,"tag":1146,"props":5308,"children":5309},{"style":1153},[5310],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5312,"children":5313},{"style":1153},[5314],{"type":45,"value":2043},{"type":39,"tag":1146,"props":5316,"children":5317},{"style":2046},[5318],{"type":45,"value":5319},"PATCH",{"type":39,"tag":1146,"props":5321,"children":5322},{"style":1153},[5323],{"type":45,"value":2054},{"type":39,"tag":1146,"props":5325,"children":5326},{"style":1153},[5327],{"type":45,"value":2307},{"type":39,"tag":1146,"props":5329,"children":5330},{"class":1148,"line":1250},[5331,5335,5339,5343,5347],{"type":39,"tag":1146,"props":5332,"children":5333},{"style":2126},[5334],{"type":45,"value":2481},{"type":39,"tag":1146,"props":5336,"children":5337},{"style":1153},[5338],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5340,"children":5341},{"style":2079},[5342],{"type":45,"value":2082},{"type":39,"tag":1146,"props":5344,"children":5345},{"style":2030},[5346],{"type":45,"value":2087},{"type":39,"tag":1146,"props":5348,"children":5349},{"style":1153},[5350],{"type":45,"value":2307},{"type":39,"tag":1146,"props":5352,"children":5353},{"class":1148,"line":1259},[5354,5358,5362,5366,5370,5374,5378,5383,5388,5392,5396,5401,5405,5409,5413],{"type":39,"tag":1146,"props":5355,"children":5356},{"style":2126},[5357],{"type":45,"value":2505},{"type":39,"tag":1146,"props":5359,"children":5360},{"style":1153},[5361],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5363,"children":5364},{"style":2030},[5365],{"type":45,"value":2514},{"type":39,"tag":1146,"props":5367,"children":5368},{"style":1153},[5369],{"type":45,"value":675},{"type":39,"tag":1146,"props":5371,"children":5372},{"style":2079},[5373],{"type":45,"value":2523},{"type":39,"tag":1146,"props":5375,"children":5376},{"style":2030},[5377],{"type":45,"value":2222},{"type":39,"tag":1146,"props":5379,"children":5380},{"style":1153},[5381],{"type":45,"value":5382},"{",{"type":39,"tag":1146,"props":5384,"children":5385},{"style":2126},[5386],{"type":45,"value":5387}," status",{"type":39,"tag":1146,"props":5389,"children":5390},{"style":1153},[5391],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5393,"children":5394},{"style":1153},[5395],{"type":45,"value":2043},{"type":39,"tag":1146,"props":5397,"children":5398},{"style":2046},[5399],{"type":45,"value":5400},"CLOSED",{"type":39,"tag":1146,"props":5402,"children":5403},{"style":1153},[5404],{"type":45,"value":2054},{"type":39,"tag":1146,"props":5406,"children":5407},{"style":1153},[5408],{"type":45,"value":3708},{"type":39,"tag":1146,"props":5410,"children":5411},{"style":2030},[5412],{"type":45,"value":2240},{"type":39,"tag":1146,"props":5414,"children":5415},{"style":1153},[5416],{"type":45,"value":2307},{"type":39,"tag":1146,"props":5418,"children":5419},{"class":1148,"line":27},[5420],{"type":39,"tag":1146,"props":5421,"children":5422},{"style":1153},[5423],{"type":45,"value":1273},{"type":39,"tag":1146,"props":5425,"children":5426},{"class":1148,"line":1276},[5427,5431],{"type":39,"tag":1146,"props":5428,"children":5429},{"style":2030},[5430],{"type":45,"value":2240},{"type":39,"tag":1146,"props":5432,"children":5433},{"style":1153},[5434],{"type":45,"value":2059},{"type":39,"tag":387,"props":5436,"children":5438},{"className":3135,"code":5437,"language":3137,"meta":395,"style":395},"requests.patch(\n    f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\u002F{conv_id}\",\n    auth=(account_sid, auth_token),\n    json={\"status\": \"CLOSED\"}\n)\n",[5439],{"type":39,"tag":153,"props":5440,"children":5441},{"__ignoreMap":395},[5442,5450,5458,5465,5473],{"type":39,"tag":1146,"props":5443,"children":5444},{"class":1148,"line":1149},[5445],{"type":39,"tag":1146,"props":5446,"children":5447},{},[5448],{"type":45,"value":5449},"requests.patch(\n",{"type":39,"tag":1146,"props":5451,"children":5452},{"class":1148,"line":1159},[5453],{"type":39,"tag":1146,"props":5454,"children":5455},{},[5456],{"type":45,"value":5457},"    f\"https:\u002F\u002Fconversations.twilio.com\u002Fv2\u002FConversations\u002F{conv_id}\",\n",{"type":39,"tag":1146,"props":5459,"children":5460},{"class":1148,"line":1189},[5461],{"type":39,"tag":1146,"props":5462,"children":5463},{},[5464],{"type":45,"value":3211},{"type":39,"tag":1146,"props":5466,"children":5467},{"class":1148,"line":1216},[5468],{"type":39,"tag":1146,"props":5469,"children":5470},{},[5471],{"type":45,"value":5472},"    json={\"status\": \"CLOSED\"}\n",{"type":39,"tag":1146,"props":5474,"children":5475},{"class":1148,"line":1250},[5476],{"type":39,"tag":1146,"props":5477,"children":5478},{},[5479],{"type":45,"value":3983},{"type":39,"tag":176,"props":5481,"children":5483},{"id":5482},"voice-integration-patterns",[5484],{"type":45,"value":5485},"Voice Integration Patterns",{"type":39,"tag":48,"props":5487,"children":5488},{},[5489,5494,5496,5501,5503,5508,5510,5515,5517,5521],{"type":39,"tag":61,"props":5490,"children":5491},{},[5492],{"type":45,"value":5493},"Active TwiML (recommended for AI voice agents):",{"type":45,"value":5495}," Pass ",{"type":39,"tag":153,"props":5497,"children":5499},{"className":5498},[],[5500],{"type":45,"value":497},{"type":45,"value":5502}," on ",{"type":39,"tag":153,"props":5504,"children":5506},{"className":5505},[],[5507],{"type":45,"value":513},{"type":45,"value":5509}," to create a new conversation. Do NOT add passive VOICE ",{"type":39,"tag":153,"props":5511,"children":5513},{"className":5512},[],[5514],{"type":45,"value":158},{"type":45,"value":5516}," — this avoids double STT billing. See the ",{"type":39,"tag":167,"props":5518,"children":5519},{"href":645},[5520],{"type":45,"value":172},{"type":45,"value":649},{"type":39,"tag":387,"props":5523,"children":5527},{"className":5524,"code":5525,"language":5526,"meta":395,"style":395},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CResponse>\n  \u003CConnect>\n    \u003CConversationRelay\n      url=\"wss:\u002F\u002Fyour-relay\u002Fvoice\"\n      conversationConfiguration=\"CONFIG_ID_HERE\"\n      ttsProvider=\"ElevenLabs\"\n      voice=\"your-voice-id\"\n    \u002F>\n  \u003C\u002FConnect>\n\u003C\u002FResponse>\n","xml",[5528],{"type":39,"tag":153,"props":5529,"children":5530},{"__ignoreMap":395},[5531,5539,5547,5555,5563,5571,5579,5587,5595,5603],{"type":39,"tag":1146,"props":5532,"children":5533},{"class":1148,"line":1149},[5534],{"type":39,"tag":1146,"props":5535,"children":5536},{},[5537],{"type":45,"value":5538},"\u003CResponse>\n",{"type":39,"tag":1146,"props":5540,"children":5541},{"class":1148,"line":1159},[5542],{"type":39,"tag":1146,"props":5543,"children":5544},{},[5545],{"type":45,"value":5546},"  \u003CConnect>\n",{"type":39,"tag":1146,"props":5548,"children":5549},{"class":1148,"line":1189},[5550],{"type":39,"tag":1146,"props":5551,"children":5552},{},[5553],{"type":45,"value":5554},"    \u003CConversationRelay\n",{"type":39,"tag":1146,"props":5556,"children":5557},{"class":1148,"line":1216},[5558],{"type":39,"tag":1146,"props":5559,"children":5560},{},[5561],{"type":45,"value":5562},"      url=\"wss:\u002F\u002Fyour-relay\u002Fvoice\"\n",{"type":39,"tag":1146,"props":5564,"children":5565},{"class":1148,"line":1250},[5566],{"type":39,"tag":1146,"props":5567,"children":5568},{},[5569],{"type":45,"value":5570},"      conversationConfiguration=\"CONFIG_ID_HERE\"\n",{"type":39,"tag":1146,"props":5572,"children":5573},{"class":1148,"line":1259},[5574],{"type":39,"tag":1146,"props":5575,"children":5576},{},[5577],{"type":45,"value":5578},"      ttsProvider=\"ElevenLabs\"\n",{"type":39,"tag":1146,"props":5580,"children":5581},{"class":1148,"line":27},[5582],{"type":39,"tag":1146,"props":5583,"children":5584},{},[5585],{"type":45,"value":5586},"      voice=\"your-voice-id\"\n",{"type":39,"tag":1146,"props":5588,"children":5589},{"class":1148,"line":1276},[5590],{"type":39,"tag":1146,"props":5591,"children":5592},{},[5593],{"type":45,"value":5594},"    \u002F>\n",{"type":39,"tag":1146,"props":5596,"children":5597},{"class":1148,"line":2310},[5598],{"type":39,"tag":1146,"props":5599,"children":5600},{},[5601],{"type":45,"value":5602},"  \u003C\u002FConnect>\n",{"type":39,"tag":1146,"props":5604,"children":5605},{"class":1148,"line":2348},[5606],{"type":39,"tag":1146,"props":5607,"children":5608},{},[5609],{"type":45,"value":5610},"\u003C\u002FResponse>\n",{"type":39,"tag":48,"props":5612,"children":5613},{},[5614,5616,5621,5623,5628],{"type":45,"value":5615},"Still define VOICE in ",{"type":39,"tag":153,"props":5617,"children":5619},{"className":5618},[],[5620],{"type":45,"value":1171},{"type":45,"value":5622}," for lifecycle\u002Ftimeouts — just omit ",{"type":39,"tag":153,"props":5624,"children":5626},{"className":5625},[],[5627],{"type":45,"value":158},{"type":45,"value":1181},{"type":39,"tag":387,"props":5630,"children":5632},{"className":1138,"code":5631,"language":1140,"meta":395,"style":395},"{\n  \"channelSettings\": {\n    \"VOICE\": {\n      \"statusTimeouts\": null\n    }\n  }\n}\n",[5633],{"type":39,"tag":153,"props":5634,"children":5635},{"__ignoreMap":395},[5636,5643,5666,5689,5713,5720,5727],{"type":39,"tag":1146,"props":5637,"children":5638},{"class":1148,"line":1149},[5639],{"type":39,"tag":1146,"props":5640,"children":5641},{"style":1153},[5642],{"type":45,"value":1156},{"type":39,"tag":1146,"props":5644,"children":5645},{"class":1148,"line":1159},[5646,5650,5654,5658,5662],{"type":39,"tag":1146,"props":5647,"children":5648},{"style":1153},[5649],{"type":45,"value":1165},{"type":39,"tag":1146,"props":5651,"children":5652},{"style":1168},[5653],{"type":45,"value":1171},{"type":39,"tag":1146,"props":5655,"children":5656},{"style":1153},[5657],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5659,"children":5660},{"style":1153},[5661],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5663,"children":5664},{"style":1153},[5665],{"type":45,"value":1186},{"type":39,"tag":1146,"props":5667,"children":5668},{"class":1148,"line":1189},[5669,5673,5677,5681,5685],{"type":39,"tag":1146,"props":5670,"children":5671},{"style":1153},[5672],{"type":45,"value":1195},{"type":39,"tag":1146,"props":5674,"children":5675},{"style":1198},[5676],{"type":45,"value":1201},{"type":39,"tag":1146,"props":5678,"children":5679},{"style":1153},[5680],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5682,"children":5683},{"style":1153},[5684],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5686,"children":5687},{"style":1153},[5688],{"type":45,"value":1186},{"type":39,"tag":1146,"props":5690,"children":5691},{"class":1148,"line":1216},[5692,5696,5700,5704,5708],{"type":39,"tag":1146,"props":5693,"children":5694},{"style":1153},[5695],{"type":45,"value":1222},{"type":39,"tag":1146,"props":5697,"children":5698},{"style":1225},[5699],{"type":45,"value":1228},{"type":39,"tag":1146,"props":5701,"children":5702},{"style":1153},[5703],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5705,"children":5706},{"style":1153},[5707],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5709,"children":5710},{"style":1153},[5711],{"type":45,"value":5712}," null\n",{"type":39,"tag":1146,"props":5714,"children":5715},{"class":1148,"line":1250},[5716],{"type":39,"tag":1146,"props":5717,"children":5718},{"style":1153},[5719],{"type":45,"value":1265},{"type":39,"tag":1146,"props":5721,"children":5722},{"class":1148,"line":1259},[5723],{"type":39,"tag":1146,"props":5724,"children":5725},{"style":1153},[5726],{"type":45,"value":1273},{"type":39,"tag":1146,"props":5728,"children":5729},{"class":1148,"line":27},[5730],{"type":39,"tag":1146,"props":5731,"children":5732},{"style":1153},[5733],{"type":45,"value":1282},{"type":39,"tag":48,"props":5735,"children":5736},{},[5737,5742,5744,5749,5751,5756],{"type":39,"tag":61,"props":5738,"children":5739},{},[5740],{"type":45,"value":5741},"Attach voice to an existing conversation (Real-Time Transcription):",{"type":45,"value":5743}," Use ",{"type":39,"tag":153,"props":5745,"children":5747},{"className":5746},[],[5748],{"type":45,"value":520},{"type":45,"value":5750}," with ",{"type":39,"tag":153,"props":5752,"children":5754},{"className":5753},[],[5755],{"type":45,"value":505},{"type":45,"value":5757}," to add a voice call's transcription to a conversation you created via API:",{"type":39,"tag":387,"props":5759,"children":5761},{"className":5524,"code":5760,"language":5526,"meta":395,"style":395},"\u003CResponse>\n  \u003CStart>\n    \u003CTranscription conversationId=\"CONVERSATION_ID\"\u002F>\n  \u003C\u002FStart>\n  \u003CSay>Welcome to support. How can I help you today?\u003C\u002FSay>\n\u003C\u002FResponse>\n",[5762],{"type":39,"tag":153,"props":5763,"children":5764},{"__ignoreMap":395},[5765,5772,5780,5788,5796,5804],{"type":39,"tag":1146,"props":5766,"children":5767},{"class":1148,"line":1149},[5768],{"type":39,"tag":1146,"props":5769,"children":5770},{},[5771],{"type":45,"value":5538},{"type":39,"tag":1146,"props":5773,"children":5774},{"class":1148,"line":1159},[5775],{"type":39,"tag":1146,"props":5776,"children":5777},{},[5778],{"type":45,"value":5779},"  \u003CStart>\n",{"type":39,"tag":1146,"props":5781,"children":5782},{"class":1148,"line":1189},[5783],{"type":39,"tag":1146,"props":5784,"children":5785},{},[5786],{"type":45,"value":5787},"    \u003CTranscription conversationId=\"CONVERSATION_ID\"\u002F>\n",{"type":39,"tag":1146,"props":5789,"children":5790},{"class":1148,"line":1216},[5791],{"type":39,"tag":1146,"props":5792,"children":5793},{},[5794],{"type":45,"value":5795},"  \u003C\u002FStart>\n",{"type":39,"tag":1146,"props":5797,"children":5798},{"class":1148,"line":1250},[5799],{"type":39,"tag":1146,"props":5800,"children":5801},{},[5802],{"type":45,"value":5803},"  \u003CSay>Welcome to support. How can I help you today?\u003C\u002FSay>\n",{"type":39,"tag":1146,"props":5805,"children":5806},{"class":1148,"line":1259},[5807],{"type":39,"tag":1146,"props":5808,"children":5809},{},[5810],{"type":45,"value":5610},{"type":39,"tag":48,"props":5812,"children":5813},{},[5814,5819,5821,5826],{"type":39,"tag":61,"props":5815,"children":5816},{},[5817],{"type":45,"value":5818},"Passive voice capture (human agent calls):",{"type":45,"value":5820}," Use VOICE ",{"type":39,"tag":153,"props":5822,"children":5824},{"className":5823},[],[5825],{"type":45,"value":158},{"type":45,"value":5827}," to automatically capture calls without TwiML changes. Appropriate for human agent scenarios where ConversationRelay is not used:",{"type":39,"tag":387,"props":5829,"children":5831},{"className":1138,"code":5830,"language":1140,"meta":395,"style":395},"{\n  \"VOICE\": {\n    \"captureRules\": [\n      { \"from\": \"*\", \"to\": \"+15551234567\", \"metadata\": {} }\n    ]\n  }\n}\n",[5832],{"type":39,"tag":153,"props":5833,"children":5834},{"__ignoreMap":395},[5835,5842,5865,5888,5987,5995,6002],{"type":39,"tag":1146,"props":5836,"children":5837},{"class":1148,"line":1149},[5838],{"type":39,"tag":1146,"props":5839,"children":5840},{"style":1153},[5841],{"type":45,"value":1156},{"type":39,"tag":1146,"props":5843,"children":5844},{"class":1148,"line":1159},[5845,5849,5853,5857,5861],{"type":39,"tag":1146,"props":5846,"children":5847},{"style":1153},[5848],{"type":45,"value":1165},{"type":39,"tag":1146,"props":5850,"children":5851},{"style":1168},[5852],{"type":45,"value":1201},{"type":39,"tag":1146,"props":5854,"children":5855},{"style":1153},[5856],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5858,"children":5859},{"style":1153},[5860],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5862,"children":5863},{"style":1153},[5864],{"type":45,"value":1186},{"type":39,"tag":1146,"props":5866,"children":5867},{"class":1148,"line":1189},[5868,5872,5876,5880,5884],{"type":39,"tag":1146,"props":5869,"children":5870},{"style":1153},[5871],{"type":45,"value":1195},{"type":39,"tag":1146,"props":5873,"children":5874},{"style":1198},[5875],{"type":45,"value":158},{"type":39,"tag":1146,"props":5877,"children":5878},{"style":1153},[5879],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5881,"children":5882},{"style":1153},[5883],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5885,"children":5886},{"style":1153},[5887],{"type":45,"value":2726},{"type":39,"tag":1146,"props":5889,"children":5890},{"class":1148,"line":1216},[5891,5896,5901,5905,5909,5913,5917,5921,5925,5929,5933,5938,5942,5946,5950,5954,5958,5962,5966,5971,5975,5979,5983],{"type":39,"tag":1146,"props":5892,"children":5893},{"style":1153},[5894],{"type":45,"value":5895},"      {",{"type":39,"tag":1146,"props":5897,"children":5898},{"style":1153},[5899],{"type":45,"value":5900}," \"",{"type":39,"tag":1146,"props":5902,"children":5903},{"style":1225},[5904],{"type":45,"value":2123},{"type":39,"tag":1146,"props":5906,"children":5907},{"style":1153},[5908],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5910,"children":5911},{"style":1153},[5912],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5914,"children":5915},{"style":1153},[5916],{"type":45,"value":5900},{"type":39,"tag":1146,"props":5918,"children":5919},{"style":2046},[5920],{"type":45,"value":2778},{"type":39,"tag":1146,"props":5922,"children":5923},{"style":1153},[5924],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5926,"children":5927},{"style":1153},[5928],{"type":45,"value":2647},{"type":39,"tag":1146,"props":5930,"children":5931},{"style":1153},[5932],{"type":45,"value":5900},{"type":39,"tag":1146,"props":5934,"children":5935},{"style":1225},[5936],{"type":45,"value":5937},"to",{"type":39,"tag":1146,"props":5939,"children":5940},{"style":1153},[5941],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5943,"children":5944},{"style":1153},[5945],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5947,"children":5948},{"style":1153},[5949],{"type":45,"value":5900},{"type":39,"tag":1146,"props":5951,"children":5952},{"style":2046},[5953],{"type":45,"value":1596},{"type":39,"tag":1146,"props":5955,"children":5956},{"style":1153},[5957],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5959,"children":5960},{"style":1153},[5961],{"type":45,"value":2647},{"type":39,"tag":1146,"props":5963,"children":5964},{"style":1153},[5965],{"type":45,"value":5900},{"type":39,"tag":1146,"props":5967,"children":5968},{"style":1225},[5969],{"type":45,"value":5970},"metadata",{"type":39,"tag":1146,"props":5972,"children":5973},{"style":1153},[5974],{"type":45,"value":1176},{"type":39,"tag":1146,"props":5976,"children":5977},{"style":1153},[5978],{"type":45,"value":1181},{"type":39,"tag":1146,"props":5980,"children":5981},{"style":1153},[5982],{"type":45,"value":2800},{"type":39,"tag":1146,"props":5984,"children":5985},{"style":1153},[5986],{"type":45,"value":3713},{"type":39,"tag":1146,"props":5988,"children":5989},{"class":1148,"line":1250},[5990],{"type":39,"tag":1146,"props":5991,"children":5992},{"style":1153},[5993],{"type":45,"value":5994},"    ]\n",{"type":39,"tag":1146,"props":5996,"children":5997},{"class":1148,"line":1259},[5998],{"type":39,"tag":1146,"props":5999,"children":6000},{"style":1153},[6001],{"type":45,"value":1273},{"type":39,"tag":1146,"props":6003,"children":6004},{"class":1148,"line":27},[6005],{"type":39,"tag":1146,"props":6006,"children":6007},{"style":1153},[6008],{"type":45,"value":1282},{"type":39,"tag":54,"props":6010,"children":6011},{},[6012],{"type":39,"tag":48,"props":6013,"children":6014},{},[6015,6020,6022,6026],{"type":39,"tag":61,"props":6016,"children":6017},{},[6018],{"type":45,"value":6019},"Warning:",{"type":45,"value":6021}," Do NOT combine passive VOICE capture rules with active TwiML voice. See the ",{"type":39,"tag":167,"props":6023,"children":6024},{"href":645},[6025],{"type":45,"value":172},{"type":45,"value":649},{"type":39,"tag":69,"props":6028,"children":6030},{"id":6029},"gotchas",[6031],{"type":45,"value":6032},"Gotchas",{"type":39,"tag":176,"props":6034,"children":6036},{"id":6035},"setup",[6037],{"type":45,"value":6038},"Setup",{"type":39,"tag":6040,"props":6041,"children":6042},"ol",{},[6043,6066,6083],{"type":39,"tag":92,"props":6044,"children":6045},{},[6046,6051,6053,6058,6060,6065],{"type":39,"tag":61,"props":6047,"children":6048},{},[6049],{"type":45,"value":6050},"Memory Store is required.",{"type":45,"value":6052}," You cannot create a Configuration without a ",{"type":39,"tag":153,"props":6054,"children":6056},{"className":6055},[],[6057],{"type":45,"value":665},{"type":45,"value":6059},". Create the Memory Store first via ",{"type":39,"tag":153,"props":6061,"children":6063},{"className":6062},[],[6064],{"type":45,"value":701},{"type":45,"value":675},{"type":39,"tag":92,"props":6067,"children":6068},{},[6069,6074,6076,6081],{"type":39,"tag":61,"props":6070,"children":6071},{},[6072],{"type":45,"value":6073},"JSON-only API.",{"type":45,"value":6075}," All Conversation Orchestrator endpoints require ",{"type":39,"tag":153,"props":6077,"children":6079},{"className":6078},[],[6080],{"type":45,"value":779},{"type":45,"value":6082},". Form-encoded bodies are rejected. This matches Intelligence v3 but differs from most Twilio APIs.",{"type":39,"tag":92,"props":6084,"children":6085},{},[6086,6091,6093,6098,6100,6105,6106,6111,6112,6117],{"type":39,"tag":61,"props":6087,"children":6088},{},[6089],{"type":45,"value":6090},"Async creation.",{"type":45,"value":6092}," POST to ",{"type":39,"tag":153,"props":6094,"children":6096},{"className":6095},[],[6097],{"type":45,"value":2427},{"type":45,"value":6099}," returns 202 with an operation. Poll the operation's ",{"type":39,"tag":153,"props":6101,"children":6103},{"className":6102},[],[6104],{"type":45,"value":728},{"type":45,"value":730},{"type":39,"tag":153,"props":6107,"children":6109},{"className":6108},[],[6110],{"type":45,"value":736},{"type":45,"value":738},{"type":39,"tag":153,"props":6113,"children":6115},{"className":6114},[],[6116],{"type":45,"value":744},{"type":45,"value":746},{"type":39,"tag":176,"props":6119,"children":6121},{"id":6120},"configuration",[6122],{"type":45,"value":6123},"Configuration",{"type":39,"tag":6040,"props":6125,"children":6126},{"start":1216},[6127,6150,6167,6177,6203],{"type":39,"tag":92,"props":6128,"children":6129},{},[6130,6135,6137,6142,6143,6148],{"type":39,"tag":61,"props":6131,"children":6132},{},[6133],{"type":45,"value":6134},"PUT replaces everything.",{"type":45,"value":6136}," The most common bug: fetching a config, modifying one field, PUTting back — but forgetting to include ",{"type":39,"tag":153,"props":6138,"children":6140},{"className":6139},[],[6141],{"type":45,"value":1171},{"type":45,"value":499},{"type":39,"tag":153,"props":6144,"children":6146},{"className":6145},[],[6147],{"type":45,"value":665},{"type":45,"value":6149},". The API accepts the PUT and silently removes the omitted fields. Always re-fetch, modify, PUT.",{"type":39,"tag":92,"props":6151,"children":6152},{},[6153,6158,6160,6165],{"type":39,"tag":61,"props":6154,"children":6155},{},[6156],{"type":45,"value":6157},"Grouping type is immutable.",{"type":45,"value":6159}," ",{"type":39,"tag":153,"props":6161,"children":6163},{"className":6162},[],[6164],{"type":45,"value":587},{"type":45,"value":6166}," cannot be changed after creation. To switch grouping, create a new Configuration and close conversations on the old one.",{"type":39,"tag":92,"props":6168,"children":6169},{},[6170,6175],{"type":39,"tag":61,"props":6171,"children":6172},{},[6173],{"type":45,"value":6174},"10 Configuration limit per account.",{"type":45,"value":6176}," Hard limit at GA (up to 100 capture rules per channel per config). Delete unused Configurations to make room. For customers with large phone number portfolios, partition numbers across multiple Configurations.",{"type":39,"tag":92,"props":6178,"children":6179},{},[6180,6185,6187,6193,6195,6201],{"type":39,"tag":61,"props":6181,"children":6182},{},[6183],{"type":45,"value":6184},"CLIENT voice capture is opt-in.",{"type":45,"value":6186}," Browser-originated calls via the Twilio Client SDK are not captured by default VOICE rules. You need a separate capture rule with ",{"type":39,"tag":153,"props":6188,"children":6190},{"className":6189},[],[6191],{"type":45,"value":6192},"\"metadata\": {\"callType\": \"CLIENT\"}",{"type":45,"value":6194},". SIP calls similarly need ",{"type":39,"tag":153,"props":6196,"children":6198},{"className":6197},[],[6199],{"type":45,"value":6200},"{\"callType\": \"PUBLIC_SIP\"}",{"type":45,"value":6202},". PSTN is the only type captured by default.",{"type":39,"tag":92,"props":6204,"children":6205},{},[6206,6216,6218,6223,6225,6230,6231,6236,6238,6244],{"type":39,"tag":61,"props":6207,"children":6208},{},[6209,6214],{"type":39,"tag":153,"props":6210,"children":6212},{"className":6211},[],[6213],{"type":45,"value":497},{"type":45,"value":6215}," (no \"Id\" suffix) is the correct TwiML attribute name.",{"type":45,"value":6217}," The attribute on ",{"type":39,"tag":153,"props":6219,"children":6221},{"className":6220},[],[6222],{"type":45,"value":513},{"type":45,"value":6224}," and ",{"type":39,"tag":153,"props":6226,"children":6228},{"className":6227},[],[6229],{"type":45,"value":520},{"type":45,"value":738},{"type":39,"tag":153,"props":6232,"children":6234},{"className":6233},[],[6235],{"type":45,"value":497},{"type":45,"value":6237},", NOT ",{"type":39,"tag":153,"props":6239,"children":6241},{"className":6240},[],[6242],{"type":45,"value":6243},"conversationConfigurationId",{"type":45,"value":6245},". The incorrect name is silently ignored (unrecognized TwiML attributes produce no error), resulting in no conversation being created.",{"type":39,"tag":176,"props":6247,"children":6249},{"id":6248},"runtime",[6250],{"type":45,"value":6251},"Runtime",{"type":39,"tag":6040,"props":6253,"children":6254},{"start":2310},[6255,6272,6282,6292,6323],{"type":39,"tag":92,"props":6256,"children":6257},{},[6258,6263,6265,6270],{"type":39,"tag":61,"props":6259,"children":6260},{},[6261],{"type":45,"value":6262},"Timeout precedence across channels.",{"type":45,"value":6264}," If a customer is on a voice call and sends an SMS, both channels are active in the same Conversation (with ",{"type":39,"tag":153,"props":6266,"children":6268},{"className":6267},[],[6269],{"type":45,"value":212},{"type":45,"value":6271},"). When the voice call ends, the SMS channel's timeout still governs — the Conversation won't close until the SMS timeout expires. Channel close events are proposals, not commands.",{"type":39,"tag":92,"props":6273,"children":6274},{},[6275,6280],{"type":39,"tag":61,"props":6276,"children":6277},{},[6278],{"type":45,"value":6279},"Config versioning pins at creation.",{"type":45,"value":6281}," Intelligence rules and capture rules are pinned to the Configuration version at conversation creation time. Upgrading Intelligence (adding operators, changing rules) doesn't affect existing conversations. Close active conversations to pick up the new version.",{"type":39,"tag":92,"props":6283,"children":6284},{},[6285,6290],{"type":39,"tag":61,"props":6286,"children":6287},{},[6288],{"type":45,"value":6289},"ConversationRelay TTS fragmentation.",{"type":45,"value":6291}," ConversationRelay writes one Communication per TTS fragment, not per complete utterance. A single agent response may produce 3-5 Communications. Intelligence operators fire per Communication, so operator cost scales with fragment count.",{"type":39,"tag":92,"props":6293,"children":6294},{},[6295,6300,6302,6308,6310,6315,6316,6321],{"type":39,"tag":61,"props":6296,"children":6297},{},[6298],{"type":45,"value":6299},"Overly broad wildcard VOICE rules match multiple call types.",{"type":45,"value":6301}," A rule ",{"type":39,"tag":153,"props":6303,"children":6305},{"className":6304},[],[6306],{"type":45,"value":6307},"{\"from\": \"*\", \"to\": \"*\", \"metadata\": {\"callType\": \"PSTN\"}}",{"type":45,"value":6309}," will match all PSTN calls in your account, not just those to\u002Ffrom specific numbers. If you also have CLIENT capture rules, each call could match multiple rules, leading to unexpected conversation grouping. Always use specific ",{"type":39,"tag":153,"props":6311,"children":6313},{"className":6312},[],[6314],{"type":45,"value":2123},{"type":45,"value":499},{"type":39,"tag":153,"props":6317,"children":6319},{"className":6318},[],[6320],{"type":45,"value":5937},{"type":45,"value":6322}," addresses to limit rule scope.",{"type":39,"tag":92,"props":6324,"children":6325},{},[6326,6331,6333,6337,6339,6344],{"type":39,"tag":61,"props":6327,"children":6328},{},[6329],{"type":45,"value":6330},"Active TwiML voice and passive capture rules cause double STT billing.",{"type":45,"value":6332}," See the ",{"type":39,"tag":167,"props":6334,"children":6335},{"href":645},[6336],{"type":45,"value":172},{"type":45,"value":6338}," section for full details. Do not use passive VOICE ",{"type":39,"tag":153,"props":6340,"children":6342},{"className":6341},[],[6343],{"type":45,"value":158},{"type":45,"value":6345}," when passing conversation parameters in TwiML.",{"type":39,"tag":176,"props":6347,"children":6349},{"id":6348},"observability",[6350],{"type":45,"value":6351},"Observability",{"type":39,"tag":6040,"props":6353,"children":6354},{"start":2711},[6355,6378,6388,6404],{"type":39,"tag":92,"props":6356,"children":6357},{},[6358,6363,6365,6370,6372,6377],{"type":39,"tag":61,"props":6359,"children":6360},{},[6361],{"type":45,"value":6362},"Silent Memory linkage failure.",{"type":45,"value":6364}," If ",{"type":39,"tag":153,"props":6366,"children":6368},{"className":6367},[],[6369],{"type":45,"value":665},{"type":45,"value":6371}," points to a deleted or invalid store, capture still works but identity resolution and extraction silently fail. No error is returned. See ",{"type":39,"tag":153,"props":6373,"children":6375},{"className":6374},[],[6376],{"type":45,"value":673},{"type":45,"value":675},{"type":39,"tag":92,"props":6379,"children":6380},{},[6381,6386],{"type":39,"tag":61,"props":6382,"children":6383},{},[6384],{"type":45,"value":6385},"No participant type filtering for Intelligence.",{"type":45,"value":6387}," Operators fire on ALL Communications — customer messages AND agent responses. There is no config-level filter. Use the operator prompt to specify which participant to analyze.",{"type":39,"tag":92,"props":6389,"children":6390},{},[6391,6396,6398,6403],{"type":39,"tag":61,"props":6392,"children":6393},{},[6394],{"type":45,"value":6395},"Memory extraction is opt-in and fires on INACTIVE and\u002For CLOSED.",{"type":45,"value":6397}," Extraction does not run automatically — it must be enabled. It can be configured to fire on the INACTIVE transition, the CLOSED transition, or both. It does NOT fire while a conversation is ACTIVE. For mid-conversation Memory writes, post directly to the Observations endpoint via ",{"type":39,"tag":153,"props":6399,"children":6401},{"className":6400},[],[6402],{"type":45,"value":701},{"type":45,"value":675},{"type":39,"tag":92,"props":6405,"children":6406},{},[6407,6412,6414,6420,6421,6427,6429,6435,6437,6443,6445,6451,6453,6459,6461,6467,6469,6475,6476,6482],{"type":39,"tag":61,"props":6408,"children":6409},{},[6410],{"type":45,"value":6411},"List endpoints return partial data.",{"type":45,"value":6413}," When listing Conversations or Communications via GET ",{"type":39,"tag":153,"props":6415,"children":6417},{"className":6416},[],[6418],{"type":45,"value":6419},"\u002FConversations",{"type":45,"value":499},{"type":39,"tag":153,"props":6422,"children":6424},{"className":6423},[],[6425],{"type":45,"value":6426},"\u002FConversations\u002F{id}\u002FCommunications",{"type":45,"value":6428},", response objects are missing fields that are present when fetching individual resources. Missing fields include ",{"type":39,"tag":153,"props":6430,"children":6432},{"className":6431},[],[6433],{"type":45,"value":6434},"dateCreated",{"type":45,"value":6436}," (list) vs ",{"type":39,"tag":153,"props":6438,"children":6440},{"className":6439},[],[6441],{"type":45,"value":6442},"createdAt",{"type":45,"value":6444}," (single GET), ",{"type":39,"tag":153,"props":6446,"children":6448},{"className":6447},[],[6449],{"type":45,"value":6450},"channels",{"type":45,"value":6452},", ",{"type":39,"tag":153,"props":6454,"children":6456},{"className":6455},[],[6457],{"type":45,"value":6458},"body",{"type":45,"value":6460},", and ",{"type":39,"tag":153,"props":6462,"children":6464},{"className":6463},[],[6465],{"type":45,"value":6466},"channel",{"type":45,"value":6468},". Always use defensive field access (",{"type":39,"tag":153,"props":6470,"children":6472},{"className":6471},[],[6473],{"type":45,"value":6474},"conv?.createdAt",{"type":45,"value":499},{"type":39,"tag":153,"props":6477,"children":6479},{"className":6478},[],[6480],{"type":45,"value":6481},"conv.get('createdAt')",{"type":45,"value":6483},") and fetch individual resources if you need complete data. Example:",{"type":39,"tag":387,"props":6485,"children":6487},{"className":2013,"code":6486,"language":2015,"meta":395,"style":395},"\u002F\u002F List returns partial data\nconst list = await fetch(`${BASE}\u002FConversations?PageSize=10`);\nfor (const conv of list.conversations) {\n  console.log(conv.dateCreated); \u002F\u002F undefined\n  console.log(conv.createdAt);   \u002F\u002F also undefined in list view\n  \n  \u002F\u002F Fetch full details if needed\n  const full = await fetch(`${BASE}\u002FConversations\u002F${conv.id}`);\n  console.log(full.createdAt);   \u002F\u002F ✅ present (note: 'createdAt' not 'dateCreated')\n}\n",[6488],{"type":39,"tag":153,"props":6489,"children":6490},{"__ignoreMap":395},[6491,6499,6558,6599,6644,6688,6695,6703,6775,6820],{"type":39,"tag":1146,"props":6492,"children":6493},{"class":1148,"line":1149},[6494],{"type":39,"tag":1146,"props":6495,"children":6496},{"style":1244},[6497],{"type":45,"value":6498},"\u002F\u002F List returns partial data\n",{"type":39,"tag":1146,"props":6500,"children":6501},{"class":1148,"line":1159},[6502,6506,6511,6515,6519,6523,6527,6532,6537,6541,6546,6550,6554],{"type":39,"tag":1146,"props":6503,"children":6504},{"style":1168},[6505],{"type":45,"value":2027},{"type":39,"tag":1146,"props":6507,"children":6508},{"style":2030},[6509],{"type":45,"value":6510}," list ",{"type":39,"tag":1146,"props":6512,"children":6513},{"style":1153},[6514],{"type":45,"value":2038},{"type":39,"tag":1146,"props":6516,"children":6517},{"style":2250},[6518],{"type":45,"value":2396},{"type":39,"tag":1146,"props":6520,"children":6521},{"style":2079},[6522],{"type":45,"value":2401},{"type":39,"tag":1146,"props":6524,"children":6525},{"style":2030},[6526],{"type":45,"value":2222},{"type":39,"tag":1146,"props":6528,"children":6529},{"style":1153},[6530],{"type":45,"value":6531},"`${",{"type":39,"tag":1146,"props":6533,"children":6534},{"style":2030},[6535],{"type":45,"value":6536},"BASE",{"type":39,"tag":1146,"props":6538,"children":6539},{"style":1153},[6540],{"type":45,"value":2165},{"type":39,"tag":1146,"props":6542,"children":6543},{"style":2046},[6544],{"type":45,"value":6545},"\u002FConversations?PageSize=10",{"type":39,"tag":1146,"props":6547,"children":6548},{"style":1153},[6549],{"type":45,"value":2432},{"type":39,"tag":1146,"props":6551,"children":6552},{"style":2030},[6553],{"type":45,"value":2240},{"type":39,"tag":1146,"props":6555,"children":6556},{"style":1153},[6557],{"type":45,"value":2059},{"type":39,"tag":1146,"props":6559,"children":6560},{"class":1148,"line":1189},[6561,6565,6569,6573,6577,6581,6586,6590,6595],{"type":39,"tag":1146,"props":6562,"children":6563},{"style":2250},[6564],{"type":45,"value":4549},{"type":39,"tag":1146,"props":6566,"children":6567},{"style":2030},[6568],{"type":45,"value":4554},{"type":39,"tag":1146,"props":6570,"children":6571},{"style":1168},[6572],{"type":45,"value":2027},{"type":39,"tag":1146,"props":6574,"children":6575},{"style":2030},[6576],{"type":45,"value":4563},{"type":39,"tag":1146,"props":6578,"children":6579},{"style":1153},[6580],{"type":45,"value":4568},{"type":39,"tag":1146,"props":6582,"children":6583},{"style":2030},[6584],{"type":45,"value":6585}," list",{"type":39,"tag":1146,"props":6587,"children":6588},{"style":1153},[6589],{"type":45,"value":675},{"type":39,"tag":1146,"props":6591,"children":6592},{"style":2030},[6593],{"type":45,"value":6594},"conversations) ",{"type":39,"tag":1146,"props":6596,"children":6597},{"style":1153},[6598],{"type":45,"value":1156},{"type":39,"tag":1146,"props":6600,"children":6601},{"class":1148,"line":1216},[6602,6606,6610,6614,6618,6622,6626,6630,6634,6639],{"type":39,"tag":1146,"props":6603,"children":6604},{"style":2030},[6605],{"type":45,"value":4612},{"type":39,"tag":1146,"props":6607,"children":6608},{"style":1153},[6609],{"type":45,"value":675},{"type":39,"tag":1146,"props":6611,"children":6612},{"style":2079},[6613],{"type":45,"value":4621},{"type":39,"tag":1146,"props":6615,"children":6616},{"style":2126},[6617],{"type":45,"value":2222},{"type":39,"tag":1146,"props":6619,"children":6620},{"style":2030},[6621],{"type":45,"value":4643},{"type":39,"tag":1146,"props":6623,"children":6624},{"style":1153},[6625],{"type":45,"value":675},{"type":39,"tag":1146,"props":6627,"children":6628},{"style":2030},[6629],{"type":45,"value":6434},{"type":39,"tag":1146,"props":6631,"children":6632},{"style":2126},[6633],{"type":45,"value":2240},{"type":39,"tag":1146,"props":6635,"children":6636},{"style":1153},[6637],{"type":45,"value":6638},";",{"type":39,"tag":1146,"props":6640,"children":6641},{"style":1244},[6642],{"type":45,"value":6643}," \u002F\u002F undefined\n",{"type":39,"tag":1146,"props":6645,"children":6646},{"class":1148,"line":1250},[6647,6651,6655,6659,6663,6667,6671,6675,6679,6683],{"type":39,"tag":1146,"props":6648,"children":6649},{"style":2030},[6650],{"type":45,"value":4612},{"type":39,"tag":1146,"props":6652,"children":6653},{"style":1153},[6654],{"type":45,"value":675},{"type":39,"tag":1146,"props":6656,"children":6657},{"style":2079},[6658],{"type":45,"value":4621},{"type":39,"tag":1146,"props":6660,"children":6661},{"style":2126},[6662],{"type":45,"value":2222},{"type":39,"tag":1146,"props":6664,"children":6665},{"style":2030},[6666],{"type":45,"value":4643},{"type":39,"tag":1146,"props":6668,"children":6669},{"style":1153},[6670],{"type":45,"value":675},{"type":39,"tag":1146,"props":6672,"children":6673},{"style":2030},[6674],{"type":45,"value":6442},{"type":39,"tag":1146,"props":6676,"children":6677},{"style":2126},[6678],{"type":45,"value":2240},{"type":39,"tag":1146,"props":6680,"children":6681},{"style":1153},[6682],{"type":45,"value":6638},{"type":39,"tag":1146,"props":6684,"children":6685},{"style":1244},[6686],{"type":45,"value":6687},"   \u002F\u002F also undefined in list view\n",{"type":39,"tag":1146,"props":6689,"children":6690},{"class":1148,"line":1259},[6691],{"type":39,"tag":1146,"props":6692,"children":6693},{"style":2126},[6694],{"type":45,"value":4713},{"type":39,"tag":1146,"props":6696,"children":6697},{"class":1148,"line":27},[6698],{"type":39,"tag":1146,"props":6699,"children":6700},{"style":1244},[6701],{"type":45,"value":6702},"  \u002F\u002F Fetch full details if needed\n",{"type":39,"tag":1146,"props":6704,"children":6705},{"class":1148,"line":1276},[6706,6710,6715,6719,6723,6727,6731,6735,6739,6743,6747,6751,6755,6759,6763,6767,6771],{"type":39,"tag":1146,"props":6707,"children":6708},{"style":1168},[6709],{"type":45,"value":2099},{"type":39,"tag":1146,"props":6711,"children":6712},{"style":2030},[6713],{"type":45,"value":6714}," full",{"type":39,"tag":1146,"props":6716,"children":6717},{"style":1153},[6718],{"type":45,"value":2109},{"type":39,"tag":1146,"props":6720,"children":6721},{"style":2250},[6722],{"type":45,"value":2396},{"type":39,"tag":1146,"props":6724,"children":6725},{"style":2079},[6726],{"type":45,"value":2401},{"type":39,"tag":1146,"props":6728,"children":6729},{"style":2126},[6730],{"type":45,"value":2222},{"type":39,"tag":1146,"props":6732,"children":6733},{"style":1153},[6734],{"type":45,"value":6531},{"type":39,"tag":1146,"props":6736,"children":6737},{"style":2030},[6738],{"type":45,"value":6536},{"type":39,"tag":1146,"props":6740,"children":6741},{"style":1153},[6742],{"type":45,"value":2165},{"type":39,"tag":1146,"props":6744,"children":6745},{"style":2046},[6746],{"type":45,"value":4769},{"type":39,"tag":1146,"props":6748,"children":6749},{"style":1153},[6750],{"type":45,"value":2174},{"type":39,"tag":1146,"props":6752,"children":6753},{"style":2030},[6754],{"type":45,"value":4643},{"type":39,"tag":1146,"props":6756,"children":6757},{"style":1153},[6758],{"type":45,"value":675},{"type":39,"tag":1146,"props":6760,"children":6761},{"style":2030},[6762],{"type":45,"value":4652},{"type":39,"tag":1146,"props":6764,"children":6765},{"style":1153},[6766],{"type":45,"value":2302},{"type":39,"tag":1146,"props":6768,"children":6769},{"style":2126},[6770],{"type":45,"value":2240},{"type":39,"tag":1146,"props":6772,"children":6773},{"style":1153},[6774],{"type":45,"value":2059},{"type":39,"tag":1146,"props":6776,"children":6777},{"class":1148,"line":2310},[6778,6782,6786,6790,6794,6799,6803,6807,6811,6815],{"type":39,"tag":1146,"props":6779,"children":6780},{"style":2030},[6781],{"type":45,"value":4612},{"type":39,"tag":1146,"props":6783,"children":6784},{"style":1153},[6785],{"type":45,"value":675},{"type":39,"tag":1146,"props":6787,"children":6788},{"style":2079},[6789],{"type":45,"value":4621},{"type":39,"tag":1146,"props":6791,"children":6792},{"style":2126},[6793],{"type":45,"value":2222},{"type":39,"tag":1146,"props":6795,"children":6796},{"style":2030},[6797],{"type":45,"value":6798},"full",{"type":39,"tag":1146,"props":6800,"children":6801},{"style":1153},[6802],{"type":45,"value":675},{"type":39,"tag":1146,"props":6804,"children":6805},{"style":2030},[6806],{"type":45,"value":6442},{"type":39,"tag":1146,"props":6808,"children":6809},{"style":2126},[6810],{"type":45,"value":2240},{"type":39,"tag":1146,"props":6812,"children":6813},{"style":1153},[6814],{"type":45,"value":6638},{"type":39,"tag":1146,"props":6816,"children":6817},{"style":1244},[6818],{"type":45,"value":6819},"   \u002F\u002F ✅ present (note: 'createdAt' not 'dateCreated')\n",{"type":39,"tag":1146,"props":6821,"children":6822},{"class":1148,"line":2348},[6823],{"type":39,"tag":1146,"props":6824,"children":6825},{"style":1153},[6826],{"type":45,"value":1282},{"type":39,"tag":69,"props":6828,"children":6830},{"id":6829},"related-resources",[6831],{"type":45,"value":6832},"Related Resources",{"type":39,"tag":88,"props":6834,"children":6835},{},[6836,6847,6858,6869,6880],{"type":39,"tag":92,"props":6837,"children":6838},{},[6839,6845],{"type":39,"tag":167,"props":6840,"children":6842},{"href":6841},"\u002F.claude\u002Fskills\u002Ftwilio-conversation-intelligence\u002FSKILL.md",[6843],{"type":45,"value":6844},"Conversation Intelligence Skill",{"type":45,"value":6846}," — Intelligence Configuration, Language Operators, real-time and post-conversation analysis",{"type":39,"tag":92,"props":6848,"children":6849},{},[6850,6856],{"type":39,"tag":167,"props":6851,"children":6853},{"href":6852},"\u002F.claude\u002Fskills\u002Ftwilio-conversation-memory\u002FSKILL.md",[6854],{"type":45,"value":6855},"Customer Memory Skill",{"type":45,"value":6857}," — Memory Store, profiles, traits, observations, Recall",{"type":39,"tag":92,"props":6859,"children":6860},{},[6861,6867],{"type":39,"tag":167,"props":6862,"children":6864},{"href":6863},"\u002F.claude\u002Fskills\u002Ftwilio-voice-conversation-relay\u002FSKILL.md",[6865],{"type":45,"value":6866},"ConversationRelay Skill",{"type":45,"value":6868}," — Voice AI agent setup with WebSocket streaming",{"type":39,"tag":92,"props":6870,"children":6871},{},[6872,6878],{"type":39,"tag":167,"props":6873,"children":6875},{"href":6874},"\u002F.claude\u002Fskills\u002Ftwilio-agent-connect\u002FSKILL.md",[6876],{"type":45,"value":6877},"Agent Connect Skill",{"type":45,"value":6879}," — AI-to-human escalation via TAC SDK",{"type":39,"tag":92,"props":6881,"children":6882},{},[6883,6889],{"type":39,"tag":167,"props":6884,"children":6886},{"href":6885},"\u002F.claude\u002Fskills\u002Ftwilio-debugging-observability\u002FSKILL.md",[6887],{"type":45,"value":6888},"Debugging Skill",{"type":45,"value":6890}," — Error triage, Event Streams, linkage chain verification",{"type":39,"tag":6892,"props":6893,"children":6894},"style",{},[6895],{"type":45,"value":6896},"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":6898,"total":7073},[6899,6913,6933,6944,6956,6971,6986,6999,7015,7028,7044,7062],{"slug":6900,"name":6900,"fn":6901,"description":6902,"org":6903,"tags":6904,"stars":23,"repoUrl":24,"updatedAt":6912},"twilio-account-setup","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},[6905,6908,6910],{"name":6906,"slug":6907,"type":15},"API Development","api-development",{"name":6909,"slug":4923,"type":15},"Communications",{"name":1583,"slug":6911,"type":15},"sms","2026-08-01T05:43:28.968968",{"slug":6914,"name":6914,"fn":6915,"description":6916,"org":6917,"tags":6918,"stars":23,"repoUrl":24,"updatedAt":6932},"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},[6919,6922,6925,6928,6931],{"name":6920,"slug":6921,"type":15},"Agents","agents",{"name":6923,"slug":6924,"type":15},"AI","ai",{"name":6926,"slug":6927,"type":15},"Coaching","coaching",{"name":6929,"slug":6930,"type":15},"QA","qa",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:58.250609",{"slug":6934,"name":6934,"fn":6935,"description":6936,"org":6937,"tags":6938,"stars":23,"repoUrl":24,"updatedAt":6943},"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},[6939,6940,6941,6942],{"name":6920,"slug":6921,"type":15},{"name":6906,"slug":6907,"type":15},{"name":6909,"slug":4923,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:06:05.217098",{"slug":6945,"name":6945,"fn":6946,"description":6947,"org":6948,"tags":6949,"stars":23,"repoUrl":24,"updatedAt":6955},"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},[6950,6951,6954],{"name":6920,"slug":6921,"type":15},{"name":6952,"slug":6953,"type":15},"Architecture","architecture",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:48.883723",{"slug":6957,"name":6957,"fn":6958,"description":6959,"org":6960,"tags":6961,"stars":23,"repoUrl":24,"updatedAt":6970},"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},[6962,6965,6968,6969],{"name":6963,"slug":6964,"type":15},"Audio","audio",{"name":6966,"slug":6967,"type":15},"Compliance","compliance",{"name":6929,"slug":6930,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.268412",{"slug":6972,"name":6972,"fn":6973,"description":6974,"org":6975,"tags":6976,"stars":23,"repoUrl":24,"updatedAt":6985},"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},[6977,6980,6983,6984],{"name":6978,"slug":6979,"type":15},"CLI","cli",{"name":6981,"slug":6982,"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":6987,"name":6987,"fn":6988,"description":6989,"org":6990,"tags":6991,"stars":23,"repoUrl":24,"updatedAt":6998},"twilio-compliance-onboarding","manage Twilio messaging and voice compliance","Registrations required BEFORE Twilio traffic works. Covers messaging programs (A2P 10DLC, toll-free verification, WhatsApp WABA, RCS, short code, alphanumeric sender) and voice trust programs (STIR\u002FSHAKEN, Voice Integrity, Branded Calling, CNAM). Each number\u002Fsender type has its own program — registration blocks traffic until complete.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[6992,6993,6994,6995,6996],{"name":6966,"slug":6967,"type":15},{"name":20,"slug":21,"type":15},{"name":1583,"slug":6911,"type":15},{"name":9,"slug":8,"type":15},{"name":1632,"slug":6997,"type":15},"whatsapp","2026-07-17T06:05:47.897229",{"slug":7000,"name":7000,"fn":7001,"description":7002,"org":7003,"tags":7004,"stars":23,"repoUrl":24,"updatedAt":7014},"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},[7005,7006,7007,7010,7013],{"name":6966,"slug":6967,"type":15},{"name":20,"slug":21,"type":15},{"name":7008,"slug":7009,"type":15},"Regulatory Compliance","regulatory-compliance",{"name":7011,"slug":7012,"type":15},"Security","security",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.952779",{"slug":7016,"name":7016,"fn":7017,"description":7018,"org":7019,"tags":7020,"stars":23,"repoUrl":24,"updatedAt":7027},"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},[7021,7022,7023,7026],{"name":6963,"slug":6964,"type":15},{"name":6909,"slug":4923,"type":15},{"name":7024,"slug":7025,"type":15},"Meetings","meetings",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:55.603708",{"slug":7029,"name":7029,"fn":7030,"description":7031,"org":7032,"tags":7033,"stars":23,"repoUrl":24,"updatedAt":7043},"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},[7034,7037,7038,7039,7042],{"name":7035,"slug":7036,"type":15},"Email","email",{"name":20,"slug":21,"type":15},{"name":1583,"slug":6911,"type":15},{"name":7040,"slug":7041,"type":15},"Templates","templates",{"name":9,"slug":8,"type":15},"2026-07-17T06:04:26.637309",{"slug":7045,"name":7045,"fn":7046,"description":7047,"org":7048,"tags":7049,"stars":23,"repoUrl":24,"updatedAt":7061},"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},[7050,7051,7054,7057,7060],{"name":6920,"slug":6921,"type":15},{"name":7052,"slug":7053,"type":15},"Analytics","analytics",{"name":7055,"slug":7056,"type":15},"Monitoring","monitoring",{"name":7058,"slug":7059,"type":15},"NLP","nlp",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:52.545387",{"slug":701,"name":701,"fn":7063,"description":7064,"org":7065,"tags":7066,"stars":23,"repoUrl":24,"updatedAt":7072},"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},[7067,7068,7071],{"name":6920,"slug":6921,"type":15},{"name":7069,"slug":7070,"type":15},"Memory","memory",{"name":9,"slug":8,"type":15},"2026-07-17T06:04:19.526724",57,{"items":7075,"total":7073},[7076,7082,7090,7097,7103,7110,7117],{"slug":6900,"name":6900,"fn":6901,"description":6902,"org":7077,"tags":7078,"stars":23,"repoUrl":24,"updatedAt":6912},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[7079,7080,7081],{"name":6906,"slug":6907,"type":15},{"name":6909,"slug":4923,"type":15},{"name":1583,"slug":6911,"type":15},{"slug":6914,"name":6914,"fn":6915,"description":6916,"org":7083,"tags":7084,"stars":23,"repoUrl":24,"updatedAt":6932},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[7085,7086,7087,7088,7089],{"name":6920,"slug":6921,"type":15},{"name":6923,"slug":6924,"type":15},{"name":6926,"slug":6927,"type":15},{"name":6929,"slug":6930,"type":15},{"name":9,"slug":8,"type":15},{"slug":6934,"name":6934,"fn":6935,"description":6936,"org":7091,"tags":7092,"stars":23,"repoUrl":24,"updatedAt":6943},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[7093,7094,7095,7096],{"name":6920,"slug":6921,"type":15},{"name":6906,"slug":6907,"type":15},{"name":6909,"slug":4923,"type":15},{"name":9,"slug":8,"type":15},{"slug":6945,"name":6945,"fn":6946,"description":6947,"org":7098,"tags":7099,"stars":23,"repoUrl":24,"updatedAt":6955},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[7100,7101,7102],{"name":6920,"slug":6921,"type":15},{"name":6952,"slug":6953,"type":15},{"name":9,"slug":8,"type":15},{"slug":6957,"name":6957,"fn":6958,"description":6959,"org":7104,"tags":7105,"stars":23,"repoUrl":24,"updatedAt":6970},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[7106,7107,7108,7109],{"name":6963,"slug":6964,"type":15},{"name":6966,"slug":6967,"type":15},{"name":6929,"slug":6930,"type":15},{"name":9,"slug":8,"type":15},{"slug":6972,"name":6972,"fn":6973,"description":6974,"org":7111,"tags":7112,"stars":23,"repoUrl":24,"updatedAt":6985},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[7113,7114,7115,7116],{"name":6978,"slug":6979,"type":15},{"name":6981,"slug":6982,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":6987,"name":6987,"fn":6988,"description":6989,"org":7118,"tags":7119,"stars":23,"repoUrl":24,"updatedAt":6998},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[7120,7121,7122,7123,7124],{"name":6966,"slug":6967,"type":15},{"name":20,"slug":21,"type":15},{"name":1583,"slug":6911,"type":15},{"name":9,"slug":8,"type":15},{"name":1632,"slug":6997,"type":15}]