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

# Login

`POST /api/auth/login`

## Request

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

Login with email and password.

## Request body

- LoginRequest
  - `email` string, required
  - `password` string, required

## Response `200`

Successful Response

- AuthResponse
  - `access_token` string, required
  - `token_type` string
  - `tenant_id` string, required
  - `name` string, required
  - `email` string, required
  - `api_key` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stremai/apis/strem-ai.md) · [All operations](https://skmtc.dev/stremai/apis/strem-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/stremai/apis/strem-ai/revisions/160e5f136d48?raw)
