OneSignal (REST API)

Push messaging

Go to site
Explore
/
Apps
/
OneSignal (REST API)

OneSignal (REST API) API Integrations

Build and run workflows using the OneSignal (REST API) API. Use 1000s of open source triggers and actions across 500+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://onesignal.com/api/v1/players`,
  headers: {
    "Authorization": `Basic ${auths.onesignal_rest_api.rest_api_key}`,
  },
  params: {
    app_id: `${auths.onesignal_rest_api.app_id}`,
  },
})
Create notification

Sends notifications to your users

 
Try it

Authentication

OneSignal (REST API) uses API keys for authentication. When you connect your OneSignal (REST API) account, Pipedream securely stores the keys so you can easily authenticate to OneSignal (REST API) APIs in both code and no-code steps.

You can find the your app's REST API Key and App ID in Settings > Keys & IDs.