> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/push/devices/details.md).

# Device details

Read everything stored about one registered push device and the user it belongs to.

**Where:** Push → Devices → a device name · `/projects/<project>/push/devices/<deviceId>`

## Before you start

* The device is registered — see [Devices](/codemash/cloud/push/devices.md#do-it-from-code).

## Steps

1. Open **Push → Devices** and press a **Device Name**, here `Ada's iPhone`. The page title is the device name.
2. Read the rows: **Device Id** (`pnd_…`), **User** (`usr_…`), **Platform**, **Token**, **Device Name**, **Brand**, **Manufacturer**, **Model**, **Device Type**, **OS Name**, **OS Version** and **Platform API Level**. A dash means your app did not send that value.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-f76483812f421091c24c1c79aa8824bd7e382a3e%2Fdevices-details-1.png?alt=media" alt="Ada&#x27;s iPhone: Device Id pnd_5CPuQjA1acosXwTz0qVmvB, User usr_5Us6T01VpYu3PgK6a1d4tv, Platform ios, the token, Brand Apple, Manufacturer Apple, Model iPhone 15 Pro, Device Type Phone, OS Name iOS, OS Version 18.6, Platform API Level — and the Back to Devices button"><figcaption><p>The details of one device.</p></figcaption></figure>
3. Press **Back to Devices** to return to the list.

## Result

You know which user and platform a token is registered under. If the token here differs from the one on the phone, the app got a new token and has not registered it yet. An unknown device id shows the error instead of the rows.

## Change or remove it later

* The screen is read-only. Register the device again from your app to store a new token; a device leaves the list when its user is deleted.

## Do it from code

```ts
const { userId, item } = await norbix.hub.notifications.getPushDevice({ id: 'pnd_5CPuQjA1acosXwTz0qVmvB' });
console.log(userId, item.deviceName, item.deviceOs, item.osVersion); // usr_5Us6T01VpYu3PgK6a1d4tv Ada's iPhone ios 18.6
```

```sh
norbix hub notifications push device get --id pnd_5CPuQjA1acosXwTz0qVmvB
```

The client setup is on the [Push page](/codemash/cloud/push.md#use-it-from-code). API: [Get Push Device](/codemash/api-reference/notifications/push/get-push-device.md)
