OneSignal Help & Documentation

Welcome to the OneSignal New IA developer hub. You'll find comprehensive guides and documentation to help you start working with OneSignal New IA as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Discussions

Keys & IDs

Details on your OneSignal App Id, REST API Key, User Auth Key management and manually disabling your app.

Settings > Keys & Ids

This section contains details on the selected OneSignal App:

Key

Details

OneSignal App Id

Public Key used for initialization and app identification.

Rest API key

Private key used for most API calls like sending push notifications and updating users.

Use Generate New API Key button for resetting your Rest API key.

User Auth Key

Another type of REST API key used for viewing Apps and related updates.

Identity Verification

Set this app to require an authorization hash for verifying email and external_user_id updates.

App Id

Your OneSignal App ID or just App ID, is the main identifier we use to differentiate your app from all other OneSignal apps. You will use this in all your SDK initialization codes and API calls. The App ID should not be treated as private.

REST API Key

❗️

Do not share this key

Treat your REST API Key as though it is a password - do not add it to your app code or public repositories (e.g. github) and do not share it with anyone.

Your App Auth Key, which is your REST API key for app-specific operations (getting users of an app, modifying users, getting notifications, sending notifications) listed in the Keys & IDs section, add an HTTP header with the key Authorization and the value Basic REST_API_KEY, where you should replace REST_API_KEY with your actual APP REST API key.

Resetting your REST API Key

Visit Settings > Keys & IDs and click Generate New API Key to destroy the current REST API key and generate a new one.

Disabling Your App

You may disable your app to prevent new and scheduled notifications from being delivered.

You will still receive new subscribers if you disable the app. You must remove or comment out the OneSignal code to stop new subscriptions.

Apps you manually disable can be instantly re-enabled at any time.


User Auth Key

Your User Auth Key which can be found at the top right within Account & API Keys manages operations outside of an app (e.g. creating an app). Click on the account dropdown on the top right of your dashboard and scroll down to the User Auth Key section. It is past the section that displays each of your app's auth keys.

Generate New User Auth Key

If you reset your User Auth Key, you will receive an email letting you know this occurred.

Updated 2 months ago



Keys & IDs


Details on your OneSignal App Id, REST API Key, User Auth Key management and manually disabling your app.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.