v1

latestOpenAPI 3.1.02026-07-26497885.9 KB

Create user

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

post/apps/{app_id}/users

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"
    }
  }
}