Transfer a Subscription to a different user within the same OneSignal app. Useful for associating existing Subscriptions like push, email, or SMS with a new or updated user identity.
login
method instead of this API. Your app or website may continue to be setting the wrong External ID. Make sure to only use this API if you are setting the same External ID within your app or website.
This is typically used when:
subscription_id
subscription_id
of the subscription to be transferred. This is a unique UUID assigned by OneSignal.
identity
(object)external_id
(recommended)onesignal_id
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
The unique Subscription ID in UUID v4 format to transfer to the new user.
200
The response is of type object
.