v1

latestOpenAPI 3.1.02026-07-26497885.9 KB

Transfer subscription

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.

patch/apps/{app_id}/subscriptions/{subscription_id}/owner

Path parameters

app_idstring required

Your OneSignal App ID in UUID v4 format. See Keys & IDs.

subscription_idstring required

The unique Subscription ID in UUID v4 format to transfer to the new user.

Request body

Response

200

Example response

{
  "identity": {
    "external_id": "the-external-id-transferred-to",
    "onesignal_id": "the-onesignal-id-transferred-to"
  }
}