---
title: "Setup Capture Email"
method: POST
path: "/setup/email/{pre_token}"
---

# Setup Capture Email

`POST /setup/email/{pre_token}`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/setup/email/{pre_token}`
- Auth: none declared

Capture email submitted on the setup page after successful install (LMC-887).

Stores email in pre_tokens and calls _resolve_user to link it to the machine
(using install_machine_id stored by /install/ping).

## Path parameters

- `pre_token` string, required

## Request body

- SetupEmailBody
  - `email` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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