with Esendex and Nutrient Document Web Services API?
The Esendex API enables seamless SMS and voice messaging integration into your applications, allowing for automated communication with customers or systems. On Pipedream, you can harness this API to create serverless workflows that react to various triggers, from inbound messages to scheduled times, and interact with other services to provide a cohesive automation experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
esendex: {
type: "app",
app: "esendex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.esendex.com/v1.0/accounts`,
auth: {
username: `${this.esendex.$auth.username}`,
password: `${this.esendex.$auth.api_password}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nutrient_document_web_services_api: {
type: "app",
app: "nutrient_document_web_services_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.nutrient.io/account/info`,
headers: {
Authorization: `Bearer ${this.nutrient_document_web_services_api.$auth.api_key}`,
},
})
},
})