---
title: "Agent Enroll"
method: POST
path: "/agent/enroll"
tags: ["hub"]
---

# Agent Enroll

`POST /agent/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/agent/enroll`
- Auth: none declared

Exchange a one-time enrolment token for a host credential.

The installer calls this with the bootstrap token and writes what comes back
into identity.json, so the agent only ever holds a session credential. Every
refusal carries a stable `error` so the installer can tell the operator
what happened instead of leaving a host that silently never connects.

## Response `200`

Successful Response

- unknown

---

[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)
