---
title: "api/sensordefinition GET Display a listing of all sensordefinitions that belong to a device"
method: GET
path: "/api/sensordefinition"
tags: ["Api\\SensorDefinitionController"]
---

# api/sensordefinition GET Display a listing of all sensordefinitions that belong to a device

`GET /api/sensordefinition`

## Headers

- `Authorization` string
- `Content-Type` string
- `Accept` string

## Request body

- object
  - `device_id` integer — Device ID that the Sensordefinition belongs to. Required if hardware_id, and device_hardware_id are not set.
  - `hardware_id` string — Device hardware ID that the Sensordefinition belongs to. Required if device_id, and device_hardware_id are not set.
  - `device_hardware_id` string — Device hardware ID that the Sensordefinition belongs to. Required if hardware_id, and device_id are not set.
  - `input_measurement_abbreviation` string — Filter sensordefinitions by provided input abbreviation.
  - `limit` integer — If input_abbr is set, limit the amount of results provided by more than 1 to get all historic sensordefinitions of this type.

## Other responses

- `401`

## Changes

- **2022-06-10** `568ca15f3476` — 1 warning
  - deleted the `header` request parameter `Accept-language`

[Change history](https://skmtc.dev/beepnl/apis/beep/changes/api/sensordefinition/get.md)

---

[API](https://skmtc.dev/beepnl/apis/beep.md) · [All operations](https://skmtc.dev/beepnl/apis/beep/llms.txt) · [OpenAPI document](https://skmtc.dev/beepnl/apis/beep/revisions/568ca15f3476?raw)
