The SID of the Account that created the Message resource to fetch.
async
(params, auths) => {
}
//See the API docs: https://www.twilio.com/docs/sms/api/message-resource?code-sample=code-fetch-message&code-language=curl&code-sdk-version=json#read-multiple-message-resources
const config = {
url: `https://api.twilio.com/2010-04-01/Accounts/${params.account_sid}/Messages.json`,
auth: {
username: auths.twilio.Sid,
password: auths.twilio.Secret,
},
}
return await require("@pipedreamhq/platform").axios(this, config)