with SMS Fusion and Placetel?
Get current account balance including credit limits in SMS Fusion. See the documentation
Perform HLR on a number with SMS Fusion. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sms_fusion: {
type: "app",
app: "sms_fusion",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.smsfusion.com.au/balance/`,
headers: {
"accept": `application/json`,
},
params: {
key: `${this.sms_fusion.$auth.api_key}`,
},
})
},
})
The Placetel API lets you integrate a variety of telephony functions directly into Pipedream workflows. By connecting Placetel to Pipedream, you can automate processes like sending SMS messages, managing calls, or updating contact information programmatically. Pipedream's serverless platform enables these integrations to run on triggers such as incoming webhooks, scheduled times, or actions from other apps, orchestrating complex tasks in a simplified manner.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
placetel: {
type: "app",
app: "placetel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.placetel.de/v2/me`,
headers: {
Authorization: `Bearer ${this.placetel.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})