---
title: "getUserLoginParametersV2"
method: GET
path: "/v2/users/public/username/{username}:getLoginParameters"
tags: ["User V2"]
---

# getUserLoginParametersV2

`GET /v2/users/public/username/{username}:getLoginParameters`

Get user organization login parameters by username

The first item in the list corresponds to the user's primary organization and must be used for initial login.

## Path parameters

- `username` string, required

## Response `200`

User

- object
  - `login_parameters` LoginParameters[]
    - `organization_id` string
    - `organization_name` string
    - `organization_type` string
    - `organization_use` string
    - `parent_production_org_id` string, nullable — For a Sandbox org, the id of its Production parent (its brand); null/absent for Production orgs. Lets the org switcher group a sandbox under its brand without relying on list order.
    - `cognito_region` string
    - `cognito_user_pool_id` string
    - `cognito_user_pool_client_id` string
    - `cognito_oauth_domain` string
    - `cognito_oauth_scopes` string[]
    - `oauth_response_type` 'code' | 'token'
    - `passkey_enabled` boolean — Whether passkey login is enabled for this organization
    - `passkeys_registered` boolean — Whether the user has at least one passkey registered. Lets the login UI offer passkey authentication as an alternative to an MFA code. Discloses nothing that :beginPasskeyAuthentication doesn't already reveal for a known email address.

---

[API](https://skmtc.net/epilot/apis/user-api.md) · [All operations](https://skmtc.net/epilot/apis/user-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/user-api/versions/7fae886a3c99/schema)
