---
title: "Add device"
method: POST
path: "/m2m/endpoints"
---

# Add device

`POST /m2m/endpoints`

## Request body

- object
  - `serialNumber` string — Serialnumber of the device. IMPORTANT: **The serialnumber needs to be prefixed with "IMEI:".
  - `protocol` string — For UDP the protocol has to be set to **HTTP**.
  - `additionalParams` object — Name of the HTTP adapter which shall be used as adaptation layer. Use *TMNL_UDP_AL** for UDP and **TMNL_COAP_AL** from Neul/CoAP..
    - `adaptationLayerName` string — Name of the HTTP adaptation layer.

## Response `200`

200

- object
  - `msg` string
  - `code` integer

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404

---

[API](https://skmtc.dev/iotcreators/apis/iot-creators-scs-api.md) · [All operations](https://skmtc.dev/iotcreators/apis/iot-creators-scs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iotcreators/iot-creators-scs-api/revisions/56410fabfdec/schema)
