Skip to main content
POST
Send sign-in code

Body

application/json
email
string
required

The email to sign in with.

Example:

"johndoe@example.com"

callback_url
string
required

The base callback URL to construct the magic link from. A query parameter code with the verification code will be appended to it. The page should then make a request to the /auth/otp/sign-in endpoint.

Example:

"https://example.com/handler/magic-link-callback"

bot_challenge_token
string
bot_challenge_phase
enum<string>
Available options:
invisible,
visible
bot_challenge_unavailable
enum<string>
Available options:
true

Response

200 - application/json

Successful response

nonce
string
required

A token that must be stored temporarily and provided when verifying the 6-digit code

Example:

"u3h6gn4w24pqc8ya679inrhjwh1rybth6a7thurqhnpf2"