---
title: "List"
method: GET
path: "/zatca/devices/"
tags: ["Device"]
---

# List

`GET /zatca/devices/`

Endpoint for retrieving a list of Devices.

## Query parameters

- `page` integer
- `page_size` integer

## Headers

- `X-ZATCA-Branch` string
- `X-ZATCA-Connected-Account-Id` string
- `X-ZATCA-Environment` string, required

## Response `200`

- PaginatedZatcaDeviceList
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` ZatcaDevice[], required
    - `common_name` string, required — The common name of the device.
    - `id` string, required — The id of the object.
    - `status` 'pending' | 'active' | 'failed' | 'revoked', required — * `pending` - Pending * `active` - Active * `failed` - Failed * `revoked` - Revoked Full information for [StatusEnum](statusenum)

---

[API](https://skmtc.net/wafeq/apis/wafeq-zatca-api.md) · [All operations](https://skmtc.net/wafeq/apis/wafeq-zatca-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wafeq/wafeq-zatca-api/revisions/b1556963edcd/schema)
