curl -X POST https://<your_api_key>:<your_api_token><subdomain>/v1/Accounts/<your_sid>/Calls/connect \
-d "From=XXXXX30240" \
-d "To=XXXXX40682" \
-d "CallerId=0XXXXXX4890"
var request = require('request');
var dataString = 'From=XXXXX30240&To=XXXXX40682&CallerId=0XXXXXX4890';
var options = {
    url: 'https://<your_api_key>:<your_api_token><subdomain>/v1/Accounts/<your_sid>/Calls/connect',
    method: 'POST',
    body: dataString
};
function callback(error, response, body) {
    if (!error && response.statusCode == 200) {
        console.log(body);
    }
}

request(options, callback);
            
GET