---
title: "api/sensordefinition POST
Store a newly created sensordefinition"
method: POST
path: "/api/sensordefinition"
tags: ["Api\\SensorDefinitionController"]
---

# api/sensordefinition POST
Store a newly created sensordefinition

`POST /api/sensordefinition`

## Headers

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

## Request body

- object
  - `name` string — Name of the sensorinstance (e.g. temperature frame 1)
  - `inside` boolean — True is measured inside, false if measured outside
  - `offset` number — Measurement value that defines 0
  - `multiplier` number — Amount of units (calibration figure) per delta Measurement value to multiply withy (value - offset)
  - `input_measurement_id` integer — Measurement that represents the input Measurement value (e.g. 5, 3).
  - `input_measurement_abbreviation` string — Abbreviation of the Measurement that represents the input value (e.g. w_v, or t_i).
  - `output_measurement_id` integer — Measurement that represents the output Measurement value (e.g. 6, 3).
  - `output_measurement_abbreviation` string — Abbreviation of the Measurement that represents the output (calculated with (raw_value - offset) * multiplier) value (e.g. weight_kg, or t_i),
  - `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.

---

[API](https://skmtc.net/beepnl/apis/beep.md) · [All operations](https://skmtc.net/beepnl/apis/beep/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beepnl/beep/versions/7f1e35deb524/schema)
