---
title: "GET /users/{userID}"
method: GET
path: "/users/{userID}"
tags: ["user"]
---

# GET /users/{userID}

`GET /users/{userID}`

ユーザーの詳細を取得します。

## Response `200`

正常に取得できました。
ユーザー情報を返します。

- UserDetail
  - `userId` string, uuid — ユーザーUUID
  - `name` string — traQ ID
  - `displayName` string — 表示名
  - `iconFileId` string, uuid — アイコンファイルUUID
  - `bot` boolean — BOTかどうか
  - `twitterId` string — ツイッターID
  - `lastOnline` string, date-time — 最終オンライン日時(オンラインに１度もなってない場合はnull)
  - `isOnline` boolean — 現在オンラインかどうか
  - `suspended` boolean — アカウントが停止中かどうか
  - `accountStatus` integer — アカウントの状態 (0:停止,1:有効,2:一時停止)
  - `tagList` Tag[]
    - `tagId` string, uuid — タグUUID
    - `tag` string — タグ文字列
    - `isLocked` boolean — タグがロックされているかどうか
    - `createdAt` string, date-time — タグ付与日時
    - `updatedAt` string, date-time — タグ更新日時

## Other responses

- `404` — +| 正常に取得できませんでした。 指定したユーザーは存在しません。

## Changes

- **2019-07-05** `6956f2622a20` — 6 info
  - api operation id `getUser` removed and replaced with ``
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added the non-success response with the status `404`
  - …2 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/users/:userID/get.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/6956f2622a20/schema)
