Understand your OneSignal App ID, API Keys, and how to manage them securely. Learn where to find your keys, create new ones, and migrate from legacy API keys.
Keys & IDs page to find your App ID and App API keys.
Example where to find your App ID.
organization_id
in the dashboard under Organizations > Your Organization or via the View an app API.
Example showing how to find your Organization ID in the OneSignal dashboard.
Authorization
header using the key
authentication scheme:
The Organization API key replaces the legacy User Auth key.
API keys are only visible once. Use Add Key to generate one.
192.0.2.0/24 192.0.2.123/32
).
Requests from non-allowed IPs will be denied.
Creating an API key with optional IP allowlist.
Generated API key (displayed only once).
Key ID is only a label for reference, not the actual API key.
https://api.onesignal.com
instead of the old https://onesignal.com/api/v1/
URL.