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}`,
},
})
},
})
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
Sends a SMS or WhatsApp message to a specified contact. See the documentation
SMSTools uses API keys for authentication. When you connect your SMSTools account, Pipedream securely stores the keys so you can easily authenticate to SMSTools APIs in both code and no-code steps.
To retrieve your Client ID and Client Secret,