---
title: "Save Token"
method: POST
path: "/api/hf-auth/save-token"
---

# Save Token

`POST /api/hf-auth/save-token`

Save HuggingFace token after validation.

## Request body

- TokenRequest — Request model for saving a HuggingFace token.
  - `token` string, required

## Response `200`

Successful Response

- TokenResponse — Response model for token operations.
  - `status` string, required
  - `username` string, nullable
  - `message` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pollen-robotics/apis/reachy-mini-rest-api.md) · [All operations](https://skmtc.net/pollen-robotics/apis/reachy-mini-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pollen-robotics/reachy-mini-rest-api/versions/9843f2902e88/schema)
