View the details of an existing device in one of your OneSignal apps

See our Add a device documentation for descriptions of the fields.

Path Parameters

idStringPlayer's OneSignal ID
email_auth_hashStringEmail - Only required if you have enabled Identity Verification and device_type is email (11).

Query Parameters

app_idStringYour app_id for this device

Example Code - View device

curl --include

Result Format - View device

  "badge_count": 0,
  "external_user_id": null