Retrieve all multiparty calls

    Lets you retrieve details of a list of multiparty calls made from an account.

    API Endpoint

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

    Arguments

    No arguments need to be passed.

    Returns

    Returns the details of a list of multiparty calls.

    Response

    HTTP Status Code: 200

    Response for a successful request

    {
      "api_id": "ed93aea0-45cd-11eb-8530-0242ac110006",
      "meta": {
        "count": 2,
        "limit": 20,
        "next": null,
        "offset": 0,
        "previous": null
      },
      "objects": [
        {
          "billed_amount": "0.05000",
          "billed_duration": 60,
          "creation_time": "2020-12-24 15:23:38+05:30",
          "duration": 2,
          "end_time": "2020-12-24 15:23:40+05:30",
          "friendly_name": "test_mpc_1",
          "mpc_uuid": "4ed623a5-9f3e-45e0-9e7e-3d19a94b3bd3",
          "participants": "/v1/Account/MAOTE1OWE0MDK0MTLHYW/MultiPartyCall/uuid_4ed623a5-9f3e-45e0-9e7e-3d19a94b3bd3/Participant/",
          "recording": null,
          "resource_uri": "/v1/Account/MAOTE1OWE0MDK0MTLHYW/MultiPartyCall/uuid_4ed623a5-9f3e-45e0-9e7e-3d19a94b3bd3/",
          "start_time": "2020-12-24 15:23:38+05:30",
          "status": "Ended",
          "stay_alone": false,
          "sub_account": null,
          "termination_cause": "No Active Participants",
          "termination_cause_code": 1000
        },
        {
          "billed_amount": "0.05000",
          "billed_duration": 60,
          "creation_time": "2020-12-24 14:50:03+05:30",
          "duration": 27,
          "end_time": "2020-12-24 14:50:30+05:30",
          "friendly_name": "test_mpc",
          "mpc_uuid": "8742d531-292a-46aa-8754-836be1092885",
          "participants": "/v1/Account/MAOTE1OWE0MDK0MTLHYW/MultiPartyCall/uuid_8742d531-292a-46aa-8754-836be1092885/Participant/",
          "recording": null,
          "resource_uri": "/v1/Account/MAOTE1OWE0MDK0MTLHYW/MultiPartyCall/uuid_8742d531-292a-46aa-8754-836be1092885/",
          "start_time": "2020-12-24 14:50:03+05:30",
          "status": "Ended",
          "stay_alone": false,
          "sub_account": null,
          "termination_cause": "No Active Participants",
          "termination_cause_code": 1000
        }
      ]
    }
    

    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.list()
    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.list().then(function (response) {
            console.log(response);
        }, function (err) {
            console.error(err);
        });
    })();