# Mint a short-lived token for an end user's own agents `POST /v1/end-users/{end_user}/tokens` **In this build:** Real. **Scope:** `platform.write` **CLI:** `harebox end-user token` ## Request: `EndUserTokenRequest` | Field | Type | Notes | |---|---|---| | `ttl_seconds` | `integer` | | | `scopes` | `array` | | ## Response: 201 `EndUserToken` | Field | Type | Notes | |---|---|---| | `token` (required) | `string` | Shown once. Give it to your end user's browser or app: it reaches only their own agents. | | `key` (required) | `string` | | | `end_user` (required) | `string` | | | `scopes` | `array` | | | `sandboxes` | `array` | | | `expires_at` (required) | `string` | | Errors follow [one format](../errors.html).