v20

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01970424.3 KB
OTP

Check sign in code

Check if a sign in code is valid without using it

post/auth/otp/sign-in/check-code

Request body

codestring required

A 45-character verification code. For magic links, this is the code found in the "code" URL query parameter. For OTP, this is formed by concatenating the 6-digit code entered by the user with the nonce (received during code creation)

Example request

{
  "code": "u3h6gn4w24pqc8ya679inrhjwh1rybth6a7thurqhnpf2"
}

Response

Successful response

is_code_validboolean required