---
title: "Register Sensor"
method: POST
path: "/api/v1/sensors"
---

# Register Sensor

`POST /api/v1/sensors`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/sensors`
- Auth: none declared

Register a sensor under a project.

## Headers

- `x-api-key` string

## Request body

- SensorRegister
  - `project_id` integer, required
  - `sensor_id` string, required
  - `lat` number, nullable
  - `lon` number, nullable
  - `elevation_m` number, nullable
  - `metadata` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
