with 46elks and OneSignal (REST API)?
Emit new event when data related to your 46elks account changes, primarily used to keep an eye out for changes in account balance, name, or email. See the documentation
Emit new event instantly when an SMS is received by a specific number linked to your 46elks account. See the documentation
Dials and connects two phone numbers using the 46elks service. See the documentation
Composes and sends an SMS message to a specified phone number. See the documentation
The 46elks API grants access to a powerful suite of telephony services including SMS, MMS, and voice calls. You can use Pipedream to automate interactions with this API, creating workflows that respond to incoming messages, initiate outbound communication, or integrate with other services for enhanced functionality. Whether you're setting up SMS alerts, automating voice responses, or facilitating customer support, the 46elks API on Pipedream can streamline these processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_46elks: {
type: "app",
app: "_46elks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.46elks.com/a1/me`,
auth: {
username: `${this._46elks.$auth.username}`,
password: `${this._46elks.$auth.password}`,
},
})
},
})
OneSignal's REST API enables developers to automate the delivery of push notifications, manage users and segments, and gather analytics to refine communication strategies. By integrating OneSignal with Pipedream, you can orchestrate complex workflows that react to events or schedules, synchronize user data across platforms, and personalize user engagement with cross-channel marketing tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onesignal_rest_api: {
type: "app",
app: "onesignal_rest_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onesignal.com/api/v1/players`,
headers: {
"Authorization": `Basic ${this.onesignal_rest_api.$auth.rest_api_key}`,
},
params: {
app_id: `${this.onesignal_rest_api.$auth.app_id}`,
},
})
},
})