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}`,
},
})
},
})
Get current account balance including credit limits in SMS Fusion. See the documentation
Perform HLR on a number with SMS Fusion. See the documentation
SMS Fusion uses API keys for authentication. When you connect your SMS Fusion account, Pipedream securely stores the keys so you can easily authenticate to SMS Fusion APIs in both code and no-code steps.