Skip to content

Request a magic-link sign-in email

POST
/v1/auth/request
curl --request POST \
--url https://beta-api.plune.ai/v1/auth/request \
--header 'Content-Type: application/json' \
--data '{ "email": "[email protected]" }'

Any well-formed email → uniform 202 (never reveals whether an account exists). When the deployment is invite-only (see door on /health), an address that is neither invited nor already registered gets the SAME 202 and no email — the answer must not become a way to ask whether an address is invited. The sign-in screen says the beta is invite-only before the request is made.

Media type application/json
object
email
required
string format: email

Accepted — if the email is valid, a link was sent

Malformed email

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited. Two independent throttles guard this route — one keyed by the email (how often one address may be asked for), one by the client IP (how many addresses one origin may walk through). The body is identical for both on purpose: which limit was hit would itself say whether the address has been asked for recently. Retry-After carries the window in seconds.

Retry-After
integer

Seconds until the window rolls over