POST
/
sdk
/
{environmentId}
/
smsVerifications
/
signin

Path Parameters

environmentId
string
required

ID of the environment

Body

application/json
verificationUUID
string
required

ID of the environment

verificationToken
string
required

A 6-digit number

captchaToken
string

When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.

Response

200 - application/json
mfaToken
string
jwt
string

Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication.

user
object
required
minifiedJwt
string

Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication.

expiresAt
number
required

Format is a unix-based timestamp. When set, this will be the expiration timestamp on the JWT sent using either the jwt field or a response httpOnly cookie set by the server.

Was this page helpful?