Skip to content

Email the user a sign-in code

POST
/auth/request

Send a magic link and a six-digit code to the user’s email. The user reads the code from their own inbox and gives it to the client — that human-in-the-loop step is deliberate. New accounts receive a one-time grant of free API tokens on first sign-in (see GET /v1/plans on api.close.city). Rate-limited per email address and per IP.

object
email
required
string format: email

Code sent if the address is valid.

Rejected email address.

Too many requests for this email or IP.