Start a new multiparty call

    You can trigger this request to initiate an MPC with at least one participant.

    API Endpoint

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

    Arguments

    statusCurrent status of the MPC. Set to Active when call starts.

    Returns

    Returns 404 Not Found if the MPC is not found for the given name or UUID in the initiated state. Else, returns 204 without content.

    Response

    HTTP Status Code: 204

    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.start(friendly_name='mpc_name')
    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.start('mpc_name').then(function (response) {
            console.log(response);
        }, function (err) {
            console.error(err);
        });
    })();