---
title: "Set linked X username"
method: PUT
path: "/api/v1/account/x-identity"
tags: ["Account"]
---

# Set linked X username

`PUT /api/v1/account/x-identity`

Set linked X username.

## Request body

- object
  - `username` string, required — X username without @

## Response `200`

X identity linked

- object
  - `success` true, required
  - `xUsername` string, required

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.
- `default` — Unexpected error.

---

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