---
title: "Get user login data"
method: GET
path: "/accounts/user-login-data"
tags: ["User Management"]
---

# Get user login data

`GET /accounts/user-login-data`

Retrieves login data for the current user

## Response `200`

User login data retrieved successfully

- object
  - `data` object, required
    - `account` AccountPublicInfo, required
      - `name` string — Account name (normalized)
      - `id` string — Account unique identifier - 10 digits
      - `display_name` string — Account display name
      - `root_email` string, email — Root user email address
      - `subscription_status` 'active' | 'pending' | 'cancelled' — Subscription status
      - `subscription_plan` string — Subscription plan
      - `emergency_credit` number, float — Emergency credit amount
      - `country` string — Country
      - `company_name` string — Company name
      - `address` string — Address
      - `website` string — Website
      - `phone_number` string — Phone number
      - `scheduled_for_deletion` boolean — Whether the account is scheduled for deletion
      - `deletion_date` string, date-time — If the account is scheduled for deletion, it will be deleted on this date
      - `region` string — Region
      - `provider` string — Provider
      - `bstier` integer — BS tier
      - `cloud` boolean — Cloud functionality enabled. It true, the user has access to quiva.ai Cloud
      - `hub` boolean — Hub functionality enabled. It true, the user has access to quiva.ai Hub
    - `user` string, email, required
    - `user_id` string, required
    - `first_name` string
    - `last_name` string
    - `role` string, required
    - `mfa` MfaInfo
      - `passkey_enabled` boolean, required — Whether passkey authentication is enabled
      - `totp_enabled` boolean, required — Whether TOTP authentication is enabled
    - `theme` string
    - `sound` boolean
    - `profile_image` UserProfileImage
      - `name` string — File name
      - `contentType` string — Content type

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway/revisions/771d118bd4d1/schema)
