get https://api.onesignal.com/apps//subscriptions//user/identity
Retrieve all aliases associated with a user using a known subscription ID.
Overview
Use this API to lookup all aliases associated with a user when you only know at least one subscription ID. This API is handy for scenarios where the user's identity is unknown, but a subscription is available.
How to use this API
You must know the subscription_id
of the subscription that belongs to the user in which you want to fetch. Subscription IDs are UUIDs generated by OneSignal and cannot change. See Subscriptions for details.