Send sign-in code
OTP
Send sign-in code
Send a code to the user’s email address for sign-in.
POST
Send sign-in code
Documentation Index
Fetch the complete documentation index at: https://docs.hexclave.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
The email to sign in with.
Example:
"johndoe@example.com"
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"
Available options:
invisible, visible Available options:
true Response
200 - application/json
Successful response
A token that must be stored temporarily and provided when verifying the 6-digit code
Example:
"u3h6gn4w24pqc8ya679inrhjwh1rybth6a7thurqhnpf2"