Create user

Create a new user or modify the subscriptions associated with an existing User.

post/apps/{app_id}/users

Request

  • Base URL
    https://api.onesignal.com
  • URL
    https://api.onesignal.com/apps/{app_id}/users
  • Auth
    none required

Path parameters

app_idstring required

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

Request body

Response

200

Example response

{
  "identity": {
    "onesignal_id": "567491ee-9105-4a87-9cbc-ed78a571645b"
  },
  "properties": {
    "tags": {
      "first_name": "John",
      "last_name": "Smith"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.