The SID of the Account that created the Call resource(s) to fetch.
The SID of the Call resource to fetch.
async
(params, auths) => {
}
//See the API docs: https://www.twilio.com/docs/voice/api/call-resource#fetch-a-call-resource
const config = {
url: `https://api.twilio.com/2010-04-01/Accounts/${params.account_sid}/Calls/${params.call_sid}.json`,
auth: {
username: auths.twilio.Sid,
password: auths.twilio.Secret,
},
}
return await require("@pipedreamhq/platform").axios(this, config)