跳转到主要内容
GET
/
auth
/
user
/
me
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/auth/user/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "email": "[email protected]",
  "notifyMeta": {
    "email": true
  },
  "hasPassword": true,
  "avatar": "<string>",
  "phone": "<string>",
  "isAdmin": true,
  "lang": "<string>",
  "organization": {
    "id": "<string>",
    "name": "<string>",
    "departments": [
      {
        "id": "<string>",
        "name": "<string>"
      }
    ],
    "isAdmin": true
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

响应

200 - application/json

Successfully retrieved user information

id
string
必填
name
string
必填
email
string<email>
必填
notifyMeta
object
必填
hasPassword
boolean
必填
avatar
string | null
phone
string | null
isAdmin
boolean | null
lang
string | null
organization
object
Last modified on January 25, 2026