---
title: "Api Generate Enrollment"
method: POST
path: "/dashboard/api/enroll"
tags: ["dashboard"]
---

# Api Generate Enrollment

`POST /dashboard/api/enroll`

## Request

- Base URL: `https://mcp.sentinelx.app` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.sentinelx.app/dashboard/api/enroll`
- Auth: none declared

Mint a fresh enrollment JWT for a new host.

If host_id is omitted, a random one is generated on the agent side at
install time; the user can also pass a specific host_id.

## Cookies

- `sentinelx_dash_session` string, nullable

## Request body

- EnrollBody
  - `host_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sentinelx/apis/sentinelx-hub.md) · [All operations](https://skmtc.dev/sentinelx/apis/sentinelx-hub/llms.txt) · [OpenAPI document](https://skmtc.dev/sentinelx/apis/sentinelx-hub/revisions/d1f84924795e?raw)
