---
title: "Login 2Fa"
method: POST
path: "/api/v3/auth/2fa"
tags: ["Authentication"]
---

# Login 2Fa

`POST /api/v3/auth/2fa`

## Request

- Base URL: `https://api.endless.health` (the document declares no server; this is the origin it was published from)
- URL: `https://api.endless.health/api/v3/auth/2fa`
- Auth: none declared

## Request body

- SessionCreationRequestSchema
  - `firebase_token` string, required
  - `locale` 'en' | 'es'
  - `google_credentials` GoogleCredentialsSchema
    - `idToken` string, required
    - `accessToken` string, required
    - `pendingToken` string, nullable
    - `providerId` string, required
    - `signInMethod` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/endless/apis/eh-core-v3-api-prod.md) - [All operations](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/revisions/9046a1eb2d0c?raw)
