---
title: "Get current user info"
method: GET
path: "/user/userinfo"
tags: ["User"]
---

# Get current user info

`GET /user/userinfo`

Get information about the currently authenticated user

## Response `200`

OK

- SchemaUser
  - `atime` integer
  - `avatar_url` string
  - `credential` string
  - `ctime` integer
  - `email` string
  - `id` integer
  - `locked` boolean
  - `mfa_switch` integer
  - `mobile` string
  - `name` string
  - `nick_name` string
  - `role_id` integer
  - `utime` integer
  - `wx_unionid` string

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/lxpio/apis/omnigram-api.md) · [All operations](https://skmtc.net/lxpio/apis/omnigram-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lxpio/omnigram-api/revisions/58911ffb3093/schema)
