---
title: "Claim username"
method: POST
path: "/api/v1/profiles/me/username"
tags: ["Profiles"]
---

# Claim username

`POST /api/v1/profiles/me/username`

## Request

- Base URL: `https://api.proof.holdings`
- URL: `https://api.proof.holdings/api/v1/profiles/me/username`
- Auth: API key in cookie `auth_token`

Claim a username for the user's public profile.

## Request body

- ClaimUsernameRequest: Request body for claiming a username
  - `username` string, required: Username (alphanumeric and underscores only)

## Response `200`

Username claimed

- SuccessResponse: Generic success response
  - `success` boolean, required
  - `message` string

## Other responses

- `400`: Username unavailable
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/proof/apis/proof-holdings-api.md) · [All operations](https://skmtc.dev/proof/apis/proof-holdings-api/llms.txt) · [OpenAPI document](https://skmtc.dev/proof/apis/proof-holdings-api/revisions/b15f506de696?raw)
