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

# Login

`POST /api/v1/auth/login`

## Request

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

Login and get access token

## Request body

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

## Response `200`

Successful Response

- TokenResponse
  - `access_token` string, required
  - `refresh_token` string, required
  - `token_type` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
