---
title: "Add Device"
method: POST
path: "/devices/add"
---

# Add Device

`POST /devices/add`

## Request

- Base URL: `https://api.flanner.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flanner.io/devices/add`
- Auth: none declared

Mint a code for the machine the person is sitting at.

The one thing a browser session can do that matters: a page cannot
enrol a machine, but it can hand over a code to type on one.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flanner/apis/flanner-control-plane.md) · [All operations](https://skmtc.dev/flanner/apis/flanner-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/flanner/apis/flanner-control-plane/revisions/96c571cfab10?raw)
