---
title: "Retrieves the username history for a particular user."
method: GET
path: "/v1/users/{userId}/username-history"
tags: ["User profiles", "Users"]
---

# Retrieves the username history for a particular user.

`GET /v1/users/{userId}/username-history`

## Path parameters

- `userId` integer, required

## Query parameters

- `limit` 10 | 25 | 50 | 100
- `cursor` string
- `sortOrder` 'Asc' | 'Desc'

## Response `200`

OK

- RobloxWebWebAPIModelsApiPageResponseRobloxUsersApiUsernameHistoryResponse
  - `previousPageCursor` string
  - `nextPageCursor` string
  - `data` RobloxUsersApiUsernameHistoryResponse[]
    - `name` string — A past username belonging to a particular userId

## Other responses

- `400` — 3: The user id is invalid.

---

[API](https://skmtc.net/roblox/apis/roblox-api.md) · [All operations](https://skmtc.net/roblox/apis/roblox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roblox/roblox-api/versions/e15802062270/schema)
