---
title: "Enrollment"
method: POST
path: "/api/v1/enrollment"
tags: ["device enrollment"]
---

# Enrollment

`POST /api/v1/enrollment`

## Request

- Base URL: `https://api.brumby.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brumby.com/api/v1/enrollment`
- Auth: none declared

## Request body

- EnrollmentRequest: Token-bound enrollment. A valid CSR signature proves private-key possession.
  - `bootstrap_token` string, required
  - `device_id` string, required
  - `serial_number` string, required
  - `environment` 'staging', required
  - `hardware_kind` 'n100' | 'jetson', required
  - `role` 'dock_compute', required
  - `public_key_fingerprint` string, required
  - `csr_pem` string, required

## Response `201`

Successful Response

- EnrollmentResponse
  - `device_id` string, required
  - `physical_components` string[]
  - `execution_type` 'deployment' | 'hitl' | 'sitl'
  - `certificate_pem` string, required
  - `ca_certificate_pem` string, required
  - `mqtt` MqttEnrollmentConfig, required
    - `host` string, required
    - `port` integer, required
    - `topic_prefix` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brumby/apis/brumby-platform-api.md) - [All operations](https://skmtc.dev/brumby/apis/brumby-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brumby/apis/brumby-platform-api/revisions/fe185e20813e?raw)
