Overview
- Use this API to retrieve a user’s full profile, including identity aliases, user properties, and messaging subscription details across channels.
- This is helpful for verifying user data, debugging subscription issues, or syncing OneSignal user data with your internal systems.
How to use this API
To look up a user, you must provide both analias_label and an alias_id. In most cases, your external_id will serve as the alias_label, and its value will be passed as the alias_id. While you may use a custom alias, we strongly recommend setting and using the external_id as your primary user identifier for consistency across platforms.
To retrieve a user using their OneSignal ID, set the alias_label to onesignal_id. Note: When querying with any alias other than onesignal_id, authentication is required.
Headers
Your App API key with prefix Key. See Keys & IDs.
Path Parameters
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
The alias name or key to locate the user. Most commonly set as external_id but can be the onesignal_id or a custom alias.
The specific identifier for the given alias to identify the user.