Overview
Use this API when you want to retrieve the complete identity object for a user, which includes all aliases tied to that user. It is ideal for cases where you know one alias and want to discover others—especially helpful for user mapping, debugging, or linking systems. This endpoint is similar to the View user API but only returns theidentity object—not subscriptions or properties.
If you only know a subscription_id, use View user identity (by subscription) instead.
How to use this API
To identify the user, use:alias_label– the type of alias you’re using to find the user (e.g.external_id,onesignal_id, or a custom alias)alias_id– the actual value of that alias
external_id (recommended):
alias_label:external_idalias_id: your user ID (e.g., user-123)
onesignal_id:
alias_label:onesignal_idalias_id: the OneSignal-assigned unique ID
- Define your own alias label (e.g.
shopify_customer_id) and its value
We strongly recommend setting and using the
external_id as your primary user identifier for portability and simplicity across your systems.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.
Response
200