Retrieve a Conversation
Legal information
Conversation Intelligence, including the APIs, may use artificial intelligence or machine learning technologies and is subject to the terms of the Predictive and Generative AI/ML Features Addendum. For more details on AI usage and data, see AI Nutrition Facts for Conversation Intelligence.
Conversation Intelligence is not PCI compliant or a HIPAA Eligible Service and should not be used in workflows that are subject to HIPAA or PCI.
Conversations products are only available in the new Twilio Console. If your account hasn't been migrated, you'll be redirected to the legacy Console where these products won't appear.
GET/v3/Conversations/{id}
Base url: https://intelligence.twilio.com (Twilio Intelligence API)
The unique identifier of the conversation.
conv_conversation_01k1etk2y5f1y9fpe2epfdtvv2Pattern: ^conv_conversation_[0-7][0-9a-z]{25}$Conversation object.
The id of the Conversation attached to the Operator Result.
conv_conversation_01k1etk2y5f1y9fpe2epfdtvv2Pattern: ^conv_conversation_[0-7][0-9a-z]{25}$The ID of the account that owns the Conversation.
^AC[0-9a-fA-F]{32}$Min length: 34Max length: 34The status of the Conversation.
ACTIVEINACTIVECLOSEDThe Intelligence Configuration(s) associated with the Conversation.
The id of the Configuration for a Conversation.
conv_configuration_00000000000000000000000000The communication channel(s) included in the Conversation.
VOICESMSRCSEMAILWHATSAPPCHATAPISYSTEMThe underlying channel resource ids associated with this Conversation, such as a Call ID or Message ID.
Metadata for Participants of the Conversation.
Metadata for the Communications that make up the Conversation.
List of Operator Result IDs generated from this Conversation.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function fetchConversation() {11const conversation = await client.intelligence.v312.conversations("conv_conversation_01k1etk2y5f1y9fpe2epfdtvv2")13.fetch();1415console.log(conversation.id);16}1718fetchConversation();
Response
1{2"id": "conv_conversation_01k1etk2y5f1y9fpe2epfdtvv2",3"accountId": "AC00000000000000000000000000000000",4"name": "Customer Support Call - Order #12345",5"status": "CLOSED",6"createdAt": "2026-01-15T10:30:00Z",7"updatedAt": "2026-01-15T10:45:30Z",8"intelligenceConfigurationIds": [9"intelligence_configuration_01kermhm82e5mr98nbeh1hpmbn"10],11"conversationConfigurationId": "conv_configuration_00000000000000000000000000",12"channels": [13"VOICE"14],15"channelIds": [16"CA1234567890abcdef1234567890abcdef"17],18"participants": [19{20"id": "conv_participant_01k1etx3jbfx88476ccja0889c",21"name": "John Customer",22"type": "CUSTOMER",23"addressValues": [24"+15551234567"25]26},27{28"id": "conv_participant_01k1etx3jbfx88476ccja0889d",29"name": "Sarah Agent",30"type": "HUMAN_AGENT",31"addressValues": [32"agent-sarah@example.com"33]34}35],36"communications": [37{38"id": "conv_communication_01k1etk2y5f1y9fpe2epfdtvv2",39"participantId": "conv_participant_01k1etx3jbfx88476ccja0889d",40"content": {41"text": "Thank you for calling customer support. How can I help you today?"42},43"createdAt": "2026-01-15T10:30:15Z"44},45{46"id": "conv_communication_01k1etk2y5f1y9fpe2epfdtvv3",47"participantId": "conv_participant_01k1etx3jbfx88476ccja0889c",48"content": {49"text": "Hi, I need help tracking my order #12345."50},51"createdAt": "2026-01-15T10:30:30Z"52},53{54"id": "conv_communication_01k1etk2y5f1y9fpe2epfdtvv9",55"participantId": "conv_participant_01k1etx3jbfx88476ccja0889d",56"content": {57"text": "I'd be happy to help you with that. Let me look up your order."58},59"createdAt": "2026-01-15T10:30:45Z"60}61],62"operatorResultIds": [63"intelligence_operatorresult_01k6fc25s7epm9qtk8rszbv3q5",64"intelligence_operatorresult_01k6fc25s7epm9qtk8rszbv3q6"65]66}