# Verify sign-in link

Exchanges a magic link token for a console session cookie, creating the organization on a sign-up link. Callable by anyone holding the token; a link works once and expires after 15 minutes.

`POST /v1/auth/magic-link/verify`

Exchanges a magic link token for a console session cookie, creating the organization on a sign-up link. Callable by anyone holding the token; a link works once and expires after 15 minutes.

## Request body

```json
{
  "token": "<one-time token>"
}
```

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).

Example 200 response:

```json
{
  "ok": true,
  "new_org": false,
  "has_passkey": true
}
```
