get https://onesignal.com/api/v1/players/:id
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
Parameter | Type | Description |
---|---|---|
id | String | Player's OneSignal ID |
email_auth_hash | String | Email - Only required if you have enabled Identity Verification and device_type is email (11 ). |
Query Parameters
Parameter | Type | Description |
---|---|---|
app_id | String | Your app_id for this device |
Example Code - View device
curl --include
https://onesignal.com/api/v1/players/PLAYER_ID?app_id=APP_ID
Result Format - View device
{
"identifier":"ce777617da7f548fe7a9ab6febb56cf39fba6d382000c0395666288d961ee566",
"session_count":1,
"language":"en",
"timezone":-28800,
"game_version":"1.0",
"device_os":"7.0.4",
"device_type":0,
"device_model":"iPhone",
"ad_id":null,
"tags":{"a":"1","foo":"bar"},
"last_active":1395096859,
"amount_spent":0.0,
"created_at":1395096859,
"invalid_identifier":false,
"badge_count": 0,
"external_user_id": null
}