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

# Login

`POST /auth/login`

## Request

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

## Request body

- AppApiAuthEndUserLoginIn
  - `tenant_id` string, required
  - `email` string, required
  - `password` string, required

## Response `200`

Successful Response

- TokenOut
  - `token` string, nullable
  - `user_id` string, required
  - `tenant_id` string, required
  - `external_user_id` string, required
  - `verified` boolean
  - `needs_verification` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agent4/apis/chatagent-platform.md) · [All operations](https://skmtc.dev/agent4/apis/chatagent-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/agent4/apis/chatagent-platform/revisions/18e58f082ce3?raw)
