---
title: "Send a magic link sign-in email"
method: POST
path: "/api/auth/login"
tags: ["Authentication"]
---

# Send a magic link sign-in email

`POST /api/auth/login`

## Request

- Base URL: `https://domani.run`
- URL: `https://domani.run/api/auth/login`
- Auth: none required

Sends a sign-in link to the provided email. If the user doesn't exist, creates an account first. The magic link redirects to the dashboard with auth credentials. For programmatic API access, use POST /api/auth/register to get an API key directly.

## Request body

- object
  - `email` string, email, required

## Response `200`

Magic link sent - check your email

- object
  - `ok` boolean
  - `message` string

## Other responses

- `400`: Invalid request parameters
- `429`: Rate limit exceeded - wait and retry

---

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