This is a preview of unreleased docs from main. View the published docs
Skip to main content

Request a combined magic link and one-time code

POST 

/authentication/magic-link-otp/request

Sends a single email containing both a magic sign-in link and a six-digit one-time code. The reader can click the link (in any browser) or enter the code on this device. Creates the audience member if they do not already exist. Rate limited to 3 requests per email per minute. Both the link and the code expire in 30 minutes. Issuing a new request invalidates any prior code for the session.

When registration.form names a form and the email has no account yet, nothing is created or sent: the response is registration_required with that form. Sending the form's answers in registration.values creates the account with them and continues.

Request​

Responses​