---
title: "Login with email and password. Returns an API key for programmatic access."
method: POST
path: "/auth/login"
---

# Login with email and password. Returns an API key for programmatic access.

`POST /auth/login`

## Request

- Base URL: `https://stremai.com/api/v1`
- URL: `https://stremai.com/api/v1/auth/login`
- Auth: none required

## Request body

- object
  - `email` string, email, required: Email address
  - `password` string, required: Password

## Response `200`

Login successful. Returns API key.

## Other responses

- `401`: Invalid email or password
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/aiagentsbay/apis/stremai-api.md) · [All operations](https://skmtc.dev/aiagentsbay/apis/stremai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aiagentsbay/apis/stremai-api/revisions/8b60381f8354?raw)
