Conference Participant Summary Resource
A Conference Participant Summary contains an overview of
- metadata,
- quality metrics, and
- events
for a single participant of a conference call.
Using the Conference Participant Summary Resource, you can
- get the summary for a specific participant of a conference, or
- get a list of summaries for multiple participants in a conference.
Warning
Voice Insights Advanced Features must be active to use this API Resource.
The following table details the properties of a single Conference Participant Summary instance.
SID for this participant.
^CP[0-9a-fA-F]{32}$Min length: 34Max length: 34The unique SID identifier of the Conference.
^CF[0-9a-fA-F]{32}$Min length: 34Max length: 34Unique SID identifier of the call that generated the Participant resource.
^CA[0-9a-fA-F]{32}$Min length: 34Max length: 34The unique SID identifier of the Account.
^AC[0-9a-fA-F]{32}$Min length: 34Max length: 34Call direction of the participant; inbound or outbound.
inboundoutboundCall status of the call that generated the participant.
answeredcompletedbusyfailnoanswerringingcanceledISO alpha-2 country code of the participant based on caller ID or called number.
Boolean. Indicates whether participant had startConferenceOnEnter=true or endConferenceOnExit=true.
Add Participant API only. Estimated time in queue at call creation.
The Jitter Buffer Size of this Conference Participant. One of large, small, medium or off.
largesmallmediumoffTwilio region where the participant media originates.
us1us2au1br1ie1jp1sg1de1in1The Conference Region of this Conference Participant. One of us1, us2, au1, br1, ie1, jp1, sg1 or de1.
us1us2au1br1ie1jp1sg1de1in1The Call Type of this Conference Participant. One of carrier, client or sip.
carrierclientsipProcessing state of the Participant Summary. Will be in_progress while data is being aggregated, timeout if Twilio couldn't process the summary in 24hrs, and complete once aggregations and analysis has ended.
completein_progresstimeoutObject containing information of actions taken by participants. Contains a dictionary of URL links to nested resources of this Conference Participant.
The URL of this resource.
GET https://insights.twilio.com/v1/Conferences/{ConferenceSid}/Participants/{ParticipantSid}
The unique SID identifier of the Conference.
^CF[0-9a-fA-F]{32}$Min length: 34Max length: 34The unique SID identifier of the Participant.
^CP[0-9a-fA-F]{32}$Min length: 34Max length: 34Conference events generated by application or participant activity; e.g. hold, mute, etc.
Object. Contains participant call quality metrics.
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 fetchConferenceParticipant() {11const conferenceParticipant = await client.insights.v112.conferences("CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")13.conferenceParticipants("CPXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")14.fetch();1516console.log(conferenceParticipant.participantSid);17}1819fetchConferenceParticipant();
Response
1{2"participant_sid": "CPXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",3"label": null,4"conference_sid": "CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",5"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",6"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"call_direction": "outbound",8"from": "+10000000000",9"to": "+1000000001",10"call_status": "completed",11"country_code": "US",12"is_moderator": true,13"join_time": "2021-10-08T02:58:59Z",14"leave_time": "2021-10-08T03:00:02Z",15"duration_seconds": 64,16"outbound_queue_length": 0,17"outbound_time_in_queue": 965,18"jitter_buffer_size": null,19"is_coach": false,20"coached_participants": null,21"participant_region": "us1",22"conference_region": "us1",23"call_type": "carrier",24"processing_state": "complete",25"properties": {26"start_conference_on_enter": false,27"end_conference_on_exit": false,28"play_early_media": false,29"enter_muted": true,30"beep_on_enter": false,31"beep_on_exit": false32},33"events": {34"mute": [35163370513100036]37},38"metrics": {39"inbound": {40"total_packets_lost": 0,41"total_packets_received": 49,42"packet_loss_percentage": 0,43"jitter": {44"avg": 0.34,45"max": 0.5346},47"latency": {48"avg": 0,49"max": 050},51"mos": 4.452},53"outbound": {54"total_packets_lost": 0,55"total_packets_received": 126,56"packet_loss_percentage": 0,57"jitter": {58"avg": 0.01,59"max": 0.0160},61"latency": {62"avg": 0,63"max": 064},65"mos": 4.466}67},68"url": "https://insights.twilio.com/v1/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"69}
GET https://insights.twilio.com/v1/Conferences/{ConferenceSid}/Participants
The unique SID identifier of the Conference.
^CF[0-9a-fA-F]{32}$Min length: 34Max length: 34Conference events generated by application or participant activity; e.g. hold, mute, etc.
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1Maximum: 1000The page token. This is provided by the API.
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 listConferenceParticipant() {11const conferenceParticipants = await client.insights.v112.conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.conferenceParticipants.list({ limit: 20 });1415conferenceParticipants.forEach((c) => console.log(c.participantSid));16}1718listConferenceParticipant();
Response
1{2"meta": {3"page": 0,4"page_size": 25,5"first_page_url": "https://insights.twilio.com/v1/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants?PageSize=25&Page=0",6"previous_page_url": null,7"url": "https://insights.twilio.com/v1/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants?PageSize=25&Page=0",8"next_page_url": null,9"key": "participants"10},11"participants": [12{13"participant_sid": "CPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",14"label": null,15"conference_sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",16"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",17"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",18"call_direction": "outbound",19"from": "+10000000000",20"to": "+10000000001",21"call_status": "completed",22"country_code": "US",23"is_moderator": true,24"join_time": "2021-10-08T02:58:51Z",25"leave_time": "2021-10-08T02:59:55Z",26"duration_seconds": 65,27"outbound_queue_length": 0,28"outbound_time_in_queue": 3361,29"jitter_buffer_size": null,30"is_coach": false,31"coached_participants": null,32"participant_region": "us1",33"conference_region": "us1",34"call_type": "carrier",35"processing_state": "complete",36"properties": {37"start_conference_on_enter": true,38"end_conference_on_exit": false,39"play_early_media": true,40"enter_muted": false,41"beep_on_enter": false,42"beep_on_exit": false43},44"metrics": {45"inbound": {46"total_packets_lost": 0,47"total_packets_received": 70,48"packet_loss_percentage": 0,49"jitter": {50"avg": 0.41,51"max": 0.8452},53"latency": {54"avg": 0,55"max": 056},57"mos": 4.458},59"outbound": {60"total_packets_lost": 0,61"total_packets_received": 126,62"packet_loss_percentage": 0,63"jitter": {64"avg": 0.01,65"max": 0.0166},67"latency": {68"avg": 0,69"max": 070},71"mos": 4.472}73},74"events": null,75"url": "https://insights.twilio.com/v1/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"76},77{78"participant_sid": "CPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",79"label": null,80"conference_sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",81"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab",82"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",83"call_direction": "outbound",84"from": "+10000000000",85"to": "+10000000002",86"call_status": "completed",87"country_code": "US",88"is_moderator": true,89"join_time": "2021-10-08T02:58:52Z",90"leave_time": "2021-10-08T02:59:54Z",91"duration_seconds": 63,92"outbound_queue_length": 0,93"outbound_time_in_queue": 321,94"jitter_buffer_size": null,95"is_coach": false,96"coached_participants": null,97"participant_region": "us1",98"conference_region": "us1",99"call_type": "carrier",100"processing_state": "complete",101"properties": {102"start_conference_on_enter": false,103"end_conference_on_exit": false,104"early_media": false,105"enter_muted": true,106"beep_on_enter": false,107"beep_on_exit": false108},109"metrics": {110"inbound": {111"total_packets_lost": 0,112"total_packets_received": 16,113"packet_loss_percentage": 0,114"jitter": {115"avg": 0.26,116"max": 0.45117},118"latency": {119"avg": 0,120"max": 0121},122"mos": 4.4123},124"outbound": {125"total_packets_lost": 0,126"total_packets_received": 42,127"packet_loss_percentage": 0,128"jitter": {129"avg": 0.03,130"max": 0.08131},132"latency": {133"avg": 0,134"max": 0135},136"mos": 4.4,137"tags": [138"silent"139]140}141},142"events": {143"mute": [1441633705131000145]146},147"url": "https://insights.twilio.com/v1/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"148}149]150}
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 listConferenceParticipant() {11const conferenceParticipants = await client.insights.v112.conferences("CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.conferenceParticipants.list({14label: "PXXXXX",15limit: 20,16});1718conferenceParticipants.forEach((c) => console.log(c.participantSid));19}2021listConferenceParticipant();
Response
1{2"meta": {3"page": 0,4"page_size": 25,5"first_page_url": "https://insights.twilio.com/v1/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants?Label=client&PageSize=25&Page=0",6"previous_page_url": null,7"url": "https://insights.twilio.com/v1/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants?Label=client&PageSize=25&Page=0",8"next_page_url": null,9"key": "participants"10},11"participants": [12{13"participant_sid": "CPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",14"conference_sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",15"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",16"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",17"call_direction": "outbound",18"from": "+10000000000",19"to": "+10000000001",20"call_status": "completed",21"country_code": "US",22"is_moderator": true,23"join_time": "2021-10-08T02:58:51Z",24"leave_time": "2021-10-08T02:59:55Z",25"duration_seconds": 65,26"label": "client",27"outbound_queue_length": 0,28"outbound_time_in_queue": 3361,29"jitter_buffer_size": null,30"is_coach": false,31"coached_participants": null,32"participant_region": "us1",33"conference_region": "us1",34"call_type": "carrier",35"processing_state": "complete",36"properties": {37"start_conference_on_enter": true,38"end_conference_on_exit": false,39"play_early_media": true,40"enter_muted": false,41"beep_on_enter": false,42"beep_on_exit": false43},44"metrics": {45"inbound": {46"total_packets_lost": 0,47"total_packets_received": 70,48"packet_loss_percentage": 0,49"jitter": {50"avg": 0.41,51"max": 0.8452},53"latency": {54"avg": 0,55"max": 056},57"mos": 4.458},59"outbound": {60"total_packets_lost": 0,61"total_packets_received": 96,62"packet_loss_percentage": 0,63"jitter": {64"avg": 0.01,65"max": 0.0166},67"latency": {68"avg": 0,69"max": 070},71"mos": 4.472}73},74"events": null,75"url": "https://insights.twilio.com/v1/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"76}77]78}