---
title: "POST /api/v1/device/getState"
method: POST
path: "/api/v1/device/getState"
tags: ["Device"]
---

# POST /api/v1/device/getState

`POST /api/v1/device/getState`

## Request body

- GetDeviceStateRequest
  - `DeviceId` string

## Response `200`

- GetDeviceStateResult
  - `DeviceId` string
  - `DeviceType` string
  - `LastSeenDate` string, date-time, nullable
  - `LedData` LedState
  - `SensorData` SensorState
    - `isOccupied` boolean

---

[API](https://skmtc.net/pads4/apis/nds-services-authentication.md) · [All operations](https://skmtc.net/pads4/apis/nds-services-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pads4/nds-services-authentication/versions/e0bfd79e98ee/schema)
