---
title: "Request magic link"
method: POST
path: "/v1/auth/login"
tags: ["auth"]
---

# Request magic link

`POST /v1/auth/login`

## Request

- Base URL: `https://agentlair.dev`
- URL: `https://agentlair.dev/v1/auth/login`
- Auth: none required

Send a magic link to a registered recovery email.
The link expires in 15 minutes and is single-use.
Same response is returned whether or not the email is registered (avoids enumeration).

## Request body

- object
  - `email` string, email, required

## Response `200`

Magic link sent (or silently no-op if email not registered)

- object
  - `sent` boolean
  - `message` string

## Other responses

- `400`: Invalid email

---

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