D7 Networks, SMS solution provider with easy integrating API have global connectivity.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
d7_networks: {
type: "app",
app: "d7_networks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.d7networks.com/messages/v1/balance`,
headers: {
Authorization: `Bearer ${this.d7_networks.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})
D7 SMS uses OAuth authentication. When you connect your D7 SMS account, Pipedream will open a popup window where you can sign into D7 SMS and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any D7 SMS API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://api.d7networks.com/auth/v1/login/application
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
POST
https://api.d7networks.com/auth/v1/login/application
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}