---
title: "Login"
method: POST
path: "/api/auth/login"
tags: ["Auth"]
---

# Login

`POST /api/auth/login`

## Request

- Base URL: `https://api.xfinlab.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xfinlab.com/api/auth/login`
- Auth: none declared

## Request body

- UserLogin
  - `email` string, required
  - `password` string, required

## Response `200`

Successful Response

- UserResponse
  - `id` integer, required
  - `email` string, required
  - `name` string, required
  - `plan` string, required
  - `token` string, required
  - `requires_verification` boolean, nullable
  - `avatar_gender` string, nullable
  - `oauth_provider` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xfinlab/apis/xfinlab-api.md) · [All operations](https://skmtc.dev/xfinlab/apis/xfinlab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfinlab/apis/xfinlab-api/revisions/205f85614bc6?raw)
