List Participants
(information)
Legal information
Conversation Orchestrator, 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 details on AI usage and data, see the AI Nutrition Facts for Real-Time Transcription and Conversation Relay.
Conversation Orchestrator is not a HIPAA Eligible Service or PCI compliant and should not be enabled 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/v2/Conversations/{ConversationSid}/Participants
Base url: https://conversations.twilio.com (base url)
Retrieve a list of Participants in a Conversation.
Basic Auth
Property nameTypeRequiredPIIDescription
Property nameTypeRequiredPIIDescription
Maximum number of items to return
Default:
50Example: 50Minimum: 1Maximum: 1000Page token for pagination
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 listParticipantByConversation() {11const participants = await client.conversations.v212.participants("ConversationSid")13.list({ limit: 20 });1415participants.forEach((p) => console.log(p.id));16}1718listParticipantByConversation();
Response
1{2"meta": {3"key": "key",4"pageSize": 42,5"previousToken": "previousToken",6"nextToken": "nextToken"7},8"participants": [9{10"id": "id",11"conversationId": "conversationId",12"accountId": "accountId",13"name": "name",14"type": "CUSTOMER",15"profileId": "profileId",16"addresses": [17{18"channel": "SMS",19"address": "address",20"channelId": "channelId"21}22],23"createdAt": "2009-07-06T20:30:00Z",24"updatedAt": "2009-07-06T20:30:00Z"25}26]27}