---
search:
  tags:
    - Account
    - POST
seo:
  description: >-
    Claims a username, first come, first served: 409 taken, reserved or…
    Reference for the POST /v1/me/profile/username endpoint in the INVICTUS API.
sidebar:
  label: Claim a username, first come, first served.
  badge: POST
title: Claim a username, first come, first served.
type: openapi-operation
---
Claims a username, first come, first served: 409 `taken`, `reserved` or `change_cooldown` when it cannot be.

`POST /v1/me/profile/username`

**Request body** (`application/json`, required)

- `username` (string, required) — The username to claim.

Request body example:

```json
{
  "username": "lp_maxi"
}
```

**Responses**

- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `401` — No session, or it ended.
- `409` — In conflict with the current state.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.

Response example, 200:

```json
{
  "username": "lp_maxi",
  "usernameChangeableAt": 1793145600
}
```
