Text Message Marketing Platform Low cost Bulk SMS
Adds a new contact to an existing contact list. See the documentation
Adds a selected contact to the opt-out list, stopping further communications. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smstools: {
type: "app",
app: "smstools",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smsgatewayapi.com/v1/account`,
params: {
client_id: `${this.smstools.$auth.client_id}`,
client_secret: `${this.smstools.$auth.client_secret}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})