---
title: "Host enrollment token (verified host account)"
method: POST
path: "/api/v1/hosts/enrollment-tokens"
tags: ["hosts"]
---

# Host enrollment token (verified host account)

`POST /api/v1/hosts/enrollment-tokens`

## Request

- Base URL: `https://amplerun-api.spiry.org`
- URL: `https://amplerun-api.spiry.org/api/v1/hosts/enrollment-tokens`
- Auth: HTTP bearer

One-use 10-minute token plus signed release URL/digest and preflight steps. Rate-limited independently.

## Headers

- `Idempotency-Key` string, uuid, required

## Response `201`

Enrollment material.

- object
  - `token` string, required
  - `expires_at` string, date-time, required
  - `release_url` string, required
  - `release_digest` string, required
  - `preflight_steps` string[], required

## Other responses

- `default`: Error envelope. 401 unauthenticated, 403/404 forbidden, 409 conflict, 422 invalid input, 429 rate limited (code UNAVAILABLE, retryable:true, no Retry-After header), 503 unavailable money/provider state with retryable:true.

---

[API](https://skmtc.dev/amplerun/apis/amplerun-business-api.md) · [All operations](https://skmtc.dev/amplerun/apis/amplerun-business-api/llms.txt) · [OpenAPI document](https://skmtc.dev/amplerun/apis/amplerun-business-api/revisions/40944687fa52?raw)
