---
search:
  tags:
    - Compliance
    - GET
seo:
  description: >-
    Any signed in user. Returns registered devices, newest first, each with its…
    Reference for the GET /api/v1/compliance/devices endpoint in the PharmaFlow
    API.
sidebar:
  label: List registered devices
  badge: GET
title: List registered devices
type: openapi-operation
---
Any signed in user. Returns registered devices, newest first, each with its branch name. revoked leaves as 0 or 1, and a device that never checked in reports a null last_seen_at.

`GET /api/v1/compliance/devices`

**Responses**

- `200` — A page of devices
- `401` — Not authenticated

Response example, 200:

```json
{
  "total": -9007199254740991,
  "page": -9007199254740991,
  "page_size": -9007199254740991,
  "items": [
    {
      "id": "string",
      "branch_id": "string",
      "label": "string",
      "revoked": -9007199254740991,
      "last_seen_at": "string",
      "created_at": "string",
      "branch_name": "string"
    }
  ]
}
```
