OneSignal is the premier user identity, authentication, and engagement platform for mobile and web applications. The OneSignal API lets developers build a range of applications that provide user authentication, data storage and improved customer engagement. With its extensive feature set, the OneSignal API can be used to create amazing web and mobile products that drive user engagement. Here are just a few things you can build using the OneSignal (User Auth) API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onesignal_user_auth: {
type: "app",
app: "onesignal_user_auth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onesignal.com/api/v1/apps/`,
headers: {
"Content-Type": `application/json`,
"Authorization": `Basic ZTUwMTQ0ODAtMjQ2Ni00YzY5LWIyNGMtYWUwMGM2MzUyZDM3`,
},
})
},
})
OneSignal (User Auth) uses API keys for authentication. When you connect your OneSignal (User Auth) account, Pipedream securely stores the keys so you can easily authenticate to OneSignal (User Auth) APIs in both code and no-code steps.
You can find the User Auth key in your Dashboard by clicking your icon > Accounts & API Keys > User Auth Key