The SID of the Account that created the ShortCode resource(s) to fetch.
The Twilio-provided string that uniquely identifies the ShortCode resource to fetch
async
(params, auths) => {
}
//See the API docs: https://www.twilio.com/docs/sms/api/short-code?code-sample=code-fetch-short-code&code-language=curl&code-sdk-version=json#fetch-a-shortcode-resource
const config = {
url: `https://api.twilio.com/2010-04-01/Accounts/${params.account_sip}/SMS/ShortCodes/${params.shortcode_sid}.json`,
auth: {
username: auths.twilio.Sid,
password: auths.twilio.Secret,
},
}
return await require("@pipedreamhq/platform").axios(this, config)