View API keys
View API keys
View the details of all of your current app API keys (Rich Authentication Token) for a single OneSignal app.
GET
View API keys
Documentation Index
Fetch the complete documentation index at: https://documentation.onesignal.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This API is helpful for auditing and managing the API keys (Rich Authentication Tokens) associated with an app. It returns metadata for each token, including:- Token name and ID
- IP allow list mode and associated CIDR ranges (if any)
- Creation and last updated timestamps
For background on different OneSignal API keys, see Keys & IDs.
How to use this API
Use your Organization API Key, to authenticate. This key is different from the standard REST API key.Path Parameters
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
Response
List of API key tokens for this app. The formatted_token field is never populated in this response — the secret is only shown immediately after create or rotate.
All API key tokens registered against this app (ordered by created_at).