---
title: "GET /users/me"
method: GET
path: "/users/me"
tags: ["user"]
---

# GET /users/me

`GET /users/me`

自分のユーザー情報を取得します。

## Response `200`

正常に取得できました。

- Me
  - `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` 0 | 1 | 2 — アカウントの状態 (0:停止,1:有効,2:一時停止)
  - `role` string — ユーザーロール
  - `permissions` string[] — 所有している権限の配列

## Changes

- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `getMe` was added
- **2019-07-22** `ba5e5d7a70aa` — 1 breaking, 3 warning
  - the `accountStatus` response's property type/format changed from ``/`` to `integer`/`` for status `200`
  - added the new `0.00` enum value to the `accountStatus` response property for the response status `200`
  - added the new `1.00` enum value to the `accountStatus` response property for the response status `200`
  - added the new `2.00` enum value to the `accountStatus` response property for the response status `200`
- **2019-07-22** `d2f7470b1a57` — 1 breaking
  - the `accountStatus` response's property type/format changed from `integer`/`` to ``/`` for status `200`
- **2019-07-05** `6956f2622a20` — 5 info
  - api operation id `getMe` removed and replaced with ``
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - removed the non-success response with the status `410`
  - …1 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/users/me/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/4ab97bc4eb2c/schema)
