Skip to main content

Current user

get/v1/user

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Response

    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://cdn.tuna.am/avatars/42.png
    block_messagestring

    Block comment

    Example: Account blocked for abuse
    created_atstring<date-time>

    Creation date

    current_session_fingerprintstring

    Current session fingerprint

    Example: 9f86d081884c7d659a2feaa0c55ad015
    current_session_idinteger<int64>

    Current session ID

    Example: 128
    emailstring

    Email

    Example: user@example.com
    gravatar_avatarboolean

    Gravatar avatar

    has_passkeysboolean

    Whether the user has passkeys

    http_quarantineboolean

    HTTP quarantine

    idinteger<int64>

    User ID

    Example: 42
    is_adminboolean

    Whether the user is an admin

    is_email_verifiedboolean

    Whether the email is verified

    is_marked_for_self_deletionboolean

    Whether the account is marked for deletion

    is_mfa_enabledboolean

    MFA is enabled

    is_password_login_enabledboolean

    Whether password sign-in is allowed

    languagestring

    Interface language

    Possible values: [ru, en]

    Example: ru
    last_seen_atstring<date-time>

    Last seen date

    namestring

    Name

    Example: Ivan Petrov
    news_seen_idstring

    Slug of the last viewed news feed post

    Example: 2024-05-new-regions
    self_deletion_atstring<date-time>

    Scheduled deletion date

    subscription object
    activeboolean

    Whether it is active

    expiredboolean

    Whether it has expired

    expired_atstring<date-time>

    Expiration date

    idinteger<int64>

    Subscription ID

    Example: 100
    in_grace_periodboolean

    Expired, but plan access is kept while renewal is retried

    tcp_quarantineboolean

    TCP quarantine

    team object
    idinteger<int64>

    Team ID

    Example: 7
    namestring

    Name

    Example: Acme Inc
    slugstring

    Team slug, used as the suffix of dynamic subdomains

    Example: acme
    typestring

    Type

    Possible values: [personal, pro]

    Example: pro
    team_feature_flagsstring[]

    Interface feature flags enabled for the team

    team_member object
    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
    team_rolestring

    Team role

    Possible values: [primary_owner, owner, admin, member]

    Example: member