> 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/sdks/notifications/push/get-push-devices.md).

# Get Push Devices

Lists the devices registered for push notifications.

The **Push** channel delivers notifications to iOS, Android, and web — device registration, templates, campaigns, and provider integrations. This method lists the registered devices, each with the user it belongs to. Narrow it with `userId`, `deviceKey` (the provider token) or `platform` (`ios`, `android`, `chrome`, `safari`; `expo` is refused since it is a provider, not a platform). A page is a page of **users** carrying every matching device they hold — follow `hasMore` rather than stopping at a short page.

This method is on the **Hub** surface (`norbix.hub.notifications`) — call it from admin tooling or IaC.

{% hint style="info" %}
These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See [Install a Norbix SDK](/codemash/sdks/install.md). The Dart, Swift and Kotlin SDKs do not have this method yet.
{% endhint %}

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

```ts
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.notifications.getPushDevices({
  platform: 'ios',
});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Notifications.GetPushDevicesAsync(new GetPushDevices
{
    Platform = "ios",
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.notifications.get_push_devices(platform="ios")
```

{% endtab %}

{% tab title="Go" %}

```go
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.Hub.Notifications.GetPushDevices(ctx, map[string]any{
	"platform": "ios",
}, &result)
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix push devices --platform ios
```

{% endtab %}
{% endtabs %}

## In Cloud

See the registered devices in Cloud — [Push → Devices](/codemash/cloud/push/devices.md).

## API reference

Full request and response for this endpoint: [Get Push Devices](/codemash/api-reference/notifications/push/get-push-devices.md).
