---
title: "POST /v2/{org_id}/spaces/{space_id}/sensors/"
method: POST
path: "/v2/{org_id}/spaces/{space_id}/sensors/"
tags: ["Spaces - By Org"]
---

# POST /v2/{org_id}/spaces/{space_id}/sensors/

`POST /v2/{org_id}/spaces/{space_id}/sensors/`

Single link between a space and waffle device.

## Request body

- SpaceSensor
  - `serial_number` string, required
  - `device_function` 'entry' | 'oa' | 'oalr' | 'oasr' | 'oe' | 'waffle', nullable
  - `sensor_type` 'ob1' | 'r56t' | 'r60' | 's5' | 'w1' | 'virtual'

## Response `201`

Created

- OptionalSpaceSensorSerializer
  - `serial_number` string
  - `device_function` 'entry' | 'oa' | 'oalr' | 'oasr' | 'oe' | 'waffle', nullable
  - `sensor_type` 'ob1' | 'r56t' | 'r60' | 's5' | 'w1' | 'virtual'

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.dev/density/apis/your-project-api.md) · [All operations](https://skmtc.dev/density/apis/your-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/density/your-project-api/revisions/eab10fe035e6/schema)
