View API keys

View the details of all of your current app API keys (Rich Authentication Token) for a single OneSignal app.

get/apps/{app_id}/auth/tokens

Request

  • Base URL
    https://api.onesignal.com
  • URL
    https://api.onesignal.com/apps/{app_id}/auth/tokens
  • Auth
    none required

Path parameters

app_idstring required

Your OneSignal App ID in UUID v4 format. See Keys & IDs.

Headers

Content-Typestring required
Authorizationstring required

Your Organization API key with prefix Key . See Keys & IDs.

Response

List of API key tokens for this app. formatted_token is never populated in this response. The secret is only shown immediately after create or rotate.

Changes

No recorded changes to this operation across all 2 revisions of this API.