Skip to content

Complete a passwordless sign-in

POST
/_torii/auth/signin-code/verify
curl --request POST \
--url 'https://your-app.toriiauth.eu/_torii/auth/signin-code/verify?_is_native=false' \
--header 'Content-Type: application/json' \
--data '{ "email": "user@example.com", "code": "123456" }'

Redeems the emailed 6-digit code and signs the user in. Returns the same shape as /login, including the MFA outcomes — an emailed code is a first factor and does not satisfy a second one.

Origin
string
Host
string
_is_native
boolean
Media typeapplication/json

Payload for completing a passwordless sign-in with the emailed code

object
email
required

Email address the code was sent to

string format: email
>= 1 characters
Example
user@example.com
code
required

The 6-digit code from the email

string
>= 6 characters <= 6 characters
Example
123456

OK

Media typeapplication/json
object
Examplegenerated
{}