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

# Login

`POST /auth/login`

## Request

- Base URL: `https://api.untools.co/api`
- URL: `https://api.untools.co/api/auth/login`
- Auth: none declared

Authenticate with email + password. Email must be verified first.

## Request body

- LoginInput
  - `email` string, email, required
  - `password` string, required

## Response `200`

OK

- AuthResponse
  - `token` string: JWT Bearer token
  - `user` UserProfile
    - `id` string, uuid
    - `email` string, email
    - `name` string, nullable
    - `emailVerified` boolean
    - `createdAt` string, date-time

## Other responses

- `401`: Invalid credentials
- `403`: Email not verified (includes needsVerification flag)

---

[API](https://skmtc.dev/untools/apis/ai-note-taker-api.md) - [All operations](https://skmtc.dev/untools/apis/ai-note-taker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/untools/apis/ai-note-taker-api/revisions/e2fd4308c6c3?raw)
