---
title: "Get device by ID"
method: GET
path: "/devices/{deviceId}"
tags: ["Devices"]
---

# Get device by ID

`GET /devices/{deviceId}`

It has to be canceled by the client in the time you define.

## Path parameters

- `deviceId` string, uuid, required

## Headers

- `Correlation-ID` string

## Response `200`

Device

- Device
  - `device` Device — recursive
  - `links` Links — unresolved $ref
  - `status` 'online' | 'offline'

## Other responses

- `401` — Not authorized
- `404` — Device or resource was not found
- `500` — An error occured when processing your request

## Changes

- **2020-04-11** `562192db9767` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway/changes/devices/:deviceId/get.md)

---

[API](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway.md) · [All operations](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/plgd-dev/plgd-http-gateway/revisions/562192db9767/schema)
