Sign in with a code
Request
This endpoint expects an object.
code
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)
Response
Successful response
refresh_token
Long-lived refresh token that can be used to obtain a new access token
access_token
Short-lived access token that can be used to authenticate the user
is_new_user
Whether the user is a new user
user_id
The unique identifier of the user