---
title: "Get Login Info Endpoint"
method: POST
path: "/user/get-login-info"
tags: ["user"]
---

# Get Login Info Endpoint

`POST /user/get-login-info`

## Request body

- GetLoginInfoRequest
  - `id_token` string, required

## Response `200`

Successful Response

- GetLoginInfoResponse
  - `user_id` string, required
  - `user_email` string, required
  - `allowed_tenants` TenantDescription[], required
    - `tenant_id` string, required
    - `owner` TenantOwner, required
      - `namespace` 'user' | 'team' | 'organization' | 'static-configuration' | 'dcso-organization', required
      - `owner_id` string, required
      - `display_name` string, nullable
    - `name` string, required
    - `icon_url` string, required

## Other responses

- `403` — `{"detail": "Invalid API Key"}`
- `404` — `{"detail": "User not found"}`
- `422` — Validation Error

---

[API](https://skmtc.dev/tenzir/apis/tenzir-platform-api.md) · [All operations](https://skmtc.dev/tenzir/apis/tenzir-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tenzir/tenzir-platform-api/revisions/1c6c33bb8ba3/schema)
