Infobip is a multi-channel communications platform
The Infobip API is a communication platform that enables seamless integration of messaging, voice, and email functionalities into various applications. With Infobip, you can automate notifications, authenticate users via one-time passwords, engage customers across multiple channels, and track communication performance. Pipedream's serverless execution environment lets you create sophisticated workflows that harness the capabilities of Infobip by triggering actions based on events, manipulating data, and connecting with numerous other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
infobip: {
type: "app",
app: "infobip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.infobip.$auth.base_url}.api.infobip.com/sms/1/logs`,
headers: {
"Authorization": `App ${this.infobip.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})