import plivo

client = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")

response = client.multi_party_calls.list_participants(friendly_name=mpc_name, uuid=mpc_uuid)
print(response)
{
  "api_id": "2de9cf75-9606-11eb-8ca5-0242ac110006",
  "meta": {
    "count": 3,
    "limit": 20,
    "next": null,
    "offset": 0,
    "previous": null
  },
  "objects": [
    {
      "billed_amount": null,
      "billed_duration": null,
      "call_uuid": "58e76e86-54b8-402e-9d83-a16e29b6582c",
      "coach_mode": true,
      "duration": null,
      "end_mpc_on_exit": false,
      "exit_cause": null,
      "exit_time": null,
      "hold": false,
      "join_time": "2021-04-05 11:57:51+00:00",
      "member_address": "sip:randomEndpoint524139428185758@phone.plivo.com",
      "member_id": "229",
      "mpc_uuid": "d5c8be43-87d0-4ba6-90a1-011bb6ab0a00",
      "mute": false,
      "resource_uri": "/v1/Account/MANWVLYTK4ZWU1YTY4QA/MultiPartyCall/name_test_mpc_1/Participant/229/",
      "role": "supervisor",
      "start_mpc_on_enter": true
    },
    {
      "billed_amount": null,
      "billed_duration": null,
      "call_uuid": "9def1955-870f-4052-84ca-02063d24105d",
      "coach_mode": false,
      "duration": null,
      "end_mpc_on_exit": false,
      "exit_cause": null,
      "exit_time": null,
      "hold": false,
      "join_time": "2021-04-05 11:57:32+00:00",
      "member_address": "sip:randomEndpoint524139428185758@phone.plivo.com",
      "member_id": "228",
      "mpc_uuid": "d5c8be43-87d0-4ba6-90a1-011bb6ab0a00",
      "mute": false,
      "resource_uri": "/v1/Account/MANWVLYTK4ZWU1YTY4QA/MultiPartyCall/name_test_mpc_1/Participant/228/",
      "role": "customer",
      "start_mpc_on_enter": true
    },
    {
      "billed_amount": null,
      "billed_duration": null,
      "call_uuid": "b4e8210e-9cd5-4d92-b989-2ff889ee0e1f",
      "coach_mode": false,
      "duration": null,
      "end_mpc_on_exit": false,
      "exit_cause": null,
      "exit_time": null,
      "hold": false,
      "join_time": "2021-04-05 11:56:38+00:00",
      "member_address": "sip:randomEndpoint524139428185758@phone.plivo.com",
      "member_id": "226",
      "mpc_uuid": "d5c8be43-87d0-4ba6-90a1-011bb6ab0a00",
      "mute": false,
      "resource_uri": "/v1/Account/MANWVLYTK4ZWU1YTY4QA/MultiPartyCall/name_test_mpc_1/Participant/226/",
      "role": "agent",
      "start_mpc_on_enter": true
    }
  ]
}

This method retrieves details of a list of participants in an ongoing multiparty call.

GET
https://api.plivo.com/v1/Account/{auth_id}/MultiPartyCall/name_{mpc_name}/Participant/

Arguments

No arguments need to be passed.

Returns

Returns the details of all the participants in the specified ongoing multiparty call.

import plivo

client = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")

response = client.multi_party_calls.list_participants(friendly_name=mpc_name, uuid=mpc_uuid)
print(response)
{
  "api_id": "2de9cf75-9606-11eb-8ca5-0242ac110006",
  "meta": {
    "count": 3,
    "limit": 20,
    "next": null,
    "offset": 0,
    "previous": null
  },
  "objects": [
    {
      "billed_amount": null,
      "billed_duration": null,
      "call_uuid": "58e76e86-54b8-402e-9d83-a16e29b6582c",
      "coach_mode": true,
      "duration": null,
      "end_mpc_on_exit": false,
      "exit_cause": null,
      "exit_time": null,
      "hold": false,
      "join_time": "2021-04-05 11:57:51+00:00",
      "member_address": "sip:randomEndpoint524139428185758@phone.plivo.com",
      "member_id": "229",
      "mpc_uuid": "d5c8be43-87d0-4ba6-90a1-011bb6ab0a00",
      "mute": false,
      "resource_uri": "/v1/Account/MANWVLYTK4ZWU1YTY4QA/MultiPartyCall/name_test_mpc_1/Participant/229/",
      "role": "supervisor",
      "start_mpc_on_enter": true
    },
    {
      "billed_amount": null,
      "billed_duration": null,
      "call_uuid": "9def1955-870f-4052-84ca-02063d24105d",
      "coach_mode": false,
      "duration": null,
      "end_mpc_on_exit": false,
      "exit_cause": null,
      "exit_time": null,
      "hold": false,
      "join_time": "2021-04-05 11:57:32+00:00",
      "member_address": "sip:randomEndpoint524139428185758@phone.plivo.com",
      "member_id": "228",
      "mpc_uuid": "d5c8be43-87d0-4ba6-90a1-011bb6ab0a00",
      "mute": false,
      "resource_uri": "/v1/Account/MANWVLYTK4ZWU1YTY4QA/MultiPartyCall/name_test_mpc_1/Participant/228/",
      "role": "customer",
      "start_mpc_on_enter": true
    },
    {
      "billed_amount": null,
      "billed_duration": null,
      "call_uuid": "b4e8210e-9cd5-4d92-b989-2ff889ee0e1f",
      "coach_mode": false,
      "duration": null,
      "end_mpc_on_exit": false,
      "exit_cause": null,
      "exit_time": null,
      "hold": false,
      "join_time": "2021-04-05 11:56:38+00:00",
      "member_address": "sip:randomEndpoint524139428185758@phone.plivo.com",
      "member_id": "226",
      "mpc_uuid": "d5c8be43-87d0-4ba6-90a1-011bb6ab0a00",
      "mute": false,
      "resource_uri": "/v1/Account/MANWVLYTK4ZWU1YTY4QA/MultiPartyCall/name_test_mpc_1/Participant/226/",
      "role": "agent",
      "start_mpc_on_enter": true
    }
  ]
}