Request a magic-link sign-in email
const url = 'https://beta-api.plune.ai/v1/auth/request';const options = { method: 'POST', headers: {'Content-Type': 'application/json'},};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://beta-api.plune.ai/v1/auth/request \ --header 'Content-Type: application/json' \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.
Request Body required
Section titled “Request Body required ”object
Example
Responses
Section titled “ Responses ”Accepted — if the email is valid, a link was sent
Malformed email
object
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.
Headers
Section titled “Headers ”Seconds until the window rolls over