> Markdown version of https://tuna.am/en/docs/api/user-current/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Current user

get`/v1/user`

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Response

200application/json

* **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://cdn.tuna.am/avatars/42.png`

  **block_message**string

  Block comment

  **Example:&#x20;**`Account blocked for abuse`

  **created_at**string\<date-time>

  Creation date

  **current_session_fingerprint**string

  Current session fingerprint

  **Example:&#x20;**`9f86d081884c7d659a2feaa0c55ad015`

  **current_session_id**integer\<int64>

  Current session ID

  **Example:&#x20;**`128`

  **email**string

  Email

  **Example:&#x20;**`user@example.com`

  **gravatar_avatar**boolean

  Gravatar avatar

  **has_passkeys**boolean

  Whether the user has passkeys

  **http_quarantine**boolean

  HTTP quarantine

  **id**integer\<int64>

  User ID

  **Example:&#x20;**`42`

  **is_admin**boolean

  Whether the user is an admin

  **is_email_verified**boolean

  Whether the email is verified

  **is_marked_for_self_deletion**boolean

  Whether the account is marked for deletion

  **is_mfa_enabled**boolean

  MFA is enabled

  **is_password_login_enabled**boolean

  Whether password sign-in is allowed

  **language**string

  Interface language

  **Possible values:** \[`ru`, `en`]

  **Example:&#x20;**`ru`

  **last_seen_at**string\<date-time>

  Last seen date

  **name**string

  Name

  **Example:&#x20;**`Ivan Petrov`

  **news_seen_id**string

  Slug of the last viewed news feed post

  **Example:&#x20;**`2024-05-new-regions`

  **self_deletion_at**string\<date-time>

  Scheduled deletion date

  **subscription** object

  **active**boolean

  Whether it is active

  **expired**boolean

  Whether it has expired

  **expired_at**string\<date-time>

  Expiration date

  **id**integer\<int64>

  Subscription ID

  **Example:&#x20;**`100`

  **in_grace_period**boolean

  Expired, but plan access is kept while renewal is retried

  **tcp_quarantine**boolean

  TCP quarantine

  **team** object

  **id**integer\<int64>

  Team ID

  **Example:&#x20;**`7`

  **name**string

  Name

  **Example:&#x20;**`Acme Inc`

  **slug**string

  Team slug, used as the suffix of dynamic subdomains

  **Example:&#x20;**`acme`

  **type**string

  Type

  **Possible values:** \[`personal`, `pro`]

  **Example:&#x20;**`pro`

  **team_feature_flags**string\[]

  Interface feature flags enabled for the team

  **team_member** object

  **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  **team_role**string

  Team role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`
