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

# Login

`POST /api/auth/login`

## Request

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

## Request body

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

## Response `200`

Successful Response

- TokenResponse
  - `access_token` string, required
  - `token_type` string
  - `user_name` string, required
  - `user_email` string, required

## Other responses

- `422`: Validation Error

---

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