import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
altiria: {
type: "app",
app: "altiria",
}
},
async run({steps, $}) {
const data = {
"credentials":{
"apikey": `${this.altiria.$auth.api_key}`,
"apisecret": `${this.altiria.$auth.api_secret}`
}
}
return await axios($, {
method: "post",
url: `https://www.altiria.net:8443/apirest/ws/getCredit`,
data,
})
},
})
Send an SMS message. The message will be sent to the phone numbers you specify. See the documentation.
Altiria uses API keys for authentication. When you connect your Altiria account, Pipedream securely stores the keys so you can easily authenticate to Altiria APIs in both code and no-code steps.
To retrieve your API Key and Secret,