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

# Auth Login

`POST /api/auth/login`

## Request

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

Authenticate and open a session: sets the ``td_session`` HttpOnly
cookie and returns the user's email and searches. 401 for bad credentials,
403 if the email has not been confirmed yet.

## Request body

- LoginReq
  - `email` string, required
  - `password` string, required
  - `lang` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tradedashboard/apis/eu-trade-explorer.md) · [All operations](https://skmtc.dev/tradedashboard/apis/eu-trade-explorer/llms.txt) · [OpenAPI document](https://skmtc.dev/tradedashboard/apis/eu-trade-explorer/revisions/b9abc715a5c2?raw)
