---
title: "Get devices list"
method: GET
path: "/{sub_domain}/api/devices"
tags: ["Devices"]
---

# Get devices list

`GET /{sub_domain}/api/devices`

## Request

- Base URL: `https://api.commpeak.com/dialer`
- URL: `https://api.commpeak.com/dialer/{sub_domain}/api/devices`
- Auth: API key in header `Authorization`

Retrieve the list of devices (extensions) in your account.

**When to use.** List and audit the devices available for registration. To fetch a single device, use `GET /devices/{id}`.

**Filtering and shape.** Filter, order, limit and select fields by any response field. The response is wrapped as `{ "devices": [ ... ] }`.

**Example.** `GET /api/devices/limit/50;0`

## Path parameters

- `sub_domain` string, required: Dialer Name (subdomain)

## Response `200`

Successful Response

- DevicesResponse
  - `devices` DeviceItem[], required
    - `id` integer, nullable: Device ID.
    - `name` string, nullable: Device name / description.
    - `extension` integer, nullable: Device extension.
    - `password` string, nullable: Registration password.
    - `created_at` string, nullable: Creation timestamp.
    - `updated_at` string, nullable: Last update timestamp.
    - `login_user_id` integer, nullable: ID of the user last logged in to the device.
    - `last_login` string, nullable: Last login timestamp, or null.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-dialer-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-dialer-api/revisions/18c5edc07544?raw)
