View apps
Retrieve a list of all OneSignal apps associated with your account, including key app details like name, App ID, subscription counts, and timestamps. Useful for managing multiple apps through the OneSignal API.
Overview
Use this API to retrieve metadata and platform configuration for all OneSignal apps associated with your account. For each app this returns app names, App IDs, subscription counts, timestamps, and the same push platform configuration (Android/FCM, iOS/APNs, Web Push, Safari) returned by View an app — with the exception of the per-app conversion attribution windows andchannels, which are only returned by View an app.
How to use this API
To retrieve your apps, send aGET request to the /apps endpoint using your Organization API Key. This key can be found in your OneSignal dashboard under Organization > Keys & IDs.
Headers
Your Organization API key with prefix Key. See Keys & IDs.
Response
200
The OneSignal App ID in UUID v4 format.
An internal name you set to help organize and track Apps. Maximum 128 characters.
The total number of Subscriptions in the app. Omitted when view=config is passed.
The number of Subscriptions eligible to receive messages in the app. Omitted when view=config is passed.
The date and time the app was created.
The date and time the app was last updated.
The Organization ID in which the app was created.
When true, custom additional data is sent at the root of the push payload instead of nested under a custom key (iOS only).
Legacy. The deprecated Google Cloud Messaging (GCM/FCM legacy) server API key. Retained for backward compatibility; use fcm_v1_service_account_json instead.
Your FCM Service Account JSON file for Android push notifications. See Android: Firebase Credentials.
The FCM Sender ID associated with your Firebase project.
Legacy. The deprecated Google Chrome extension (GCM) API key. Retained for backward compatibility.
Web push VAPID public key for Chrome web push notifications.
The HTTPS origin URL for your website. Required for web push notifications.
The GCM Sender ID used for web push notifications.
The full HTTPS URL to your default notification icon. Should be a 256x256px PNG.
The OneSignal subdomain for web push if not using your own origin.
The APNS environment: production or development. See iOS SDK Setup.
The APNS p12 certificate for iOS push notifications.
The APNs Auth Key (.p8) token-based credential for iOS push notifications.
The Apple Developer Team ID associated with the APNs Auth Key.
The Key ID of the APNs Auth Key (.p8).
The app bundle ID associated with the APNs Auth Key.
The Safari APNs certificate, or "OneSignal Provided Certificate" when using a OneSignal-managed Safari certificate.
The HTTPS origin URL configured for Safari web push.
The Safari Web Push ID (website push ID / certificate bundle ID).
URL to the 16x16px Safari notification icon.
URL to the 32x32px Safari notification icon.
URL to the 64x64px Safari notification icon.
URL to the 128x128px Safari notification icon.
URL to the 256x256px Safari notification icon.
The name of the website configured for web push.