TextMagic is an international text messaging company that helps small businesses engage with their customers.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
TextMagic API is a cloud-based platform that provides a range of messaging API
and Services that enables developers to quickly and easily add text messaging,
voice services and two-way conversations into web, mobile and other types of
applications. With TextMagic API, you are able to build reliable messaging
services, ranging from simple notifications and alerts to more robust
applications involving multi-step workflows and automation.
Here are some examples of what you can build using TextMagic API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
textmagic: {
type: "app",
app: "textmagic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.textmagic.com/api/v2/user`,
headers: {
"X-TM-Username": `${this.textmagic.$auth.username}`,
"X-TM-Key": `${this.textmagic.$auth.api_key}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})