Retrieve all Participant Details

    This method retrieves details of a list of Participants in an ongoing Multiparty Call.

    API Endpoint

    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.

    Response

    HTTP Status Code: 200

    {
      "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_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_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_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
        }
      ]
    }
    

    Example Request

    1
    2
    3
    4
    5
    6
    
    import plivo
    
    client = plivo.RestClient(auth_id="your_auth_id", auth_token="your_auth_token")
    
    response = client.multi_party_calls.get_participant(participant_id=member_id, uuid=uuid)
    print(response)
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    
    var plivo = require('plivo');
    
    (function main() {
        'use strict';
    
        var client = new plivo.Client("<auth_id>","<auth_token>");
        client.multiPartyCalls.getParticipant(2132, '7503f05f-2d6e-4ab3-b9e6-3b0d81ae9087', null).then(function (response) {
            console.log(response);
        }, function (err) {
            console.error(err);
        });
    })();