Passcode
Finalize passcode login
Finalize a passcode login given the id
of the passcode and the actual code
provided in the the email sent
to the user during initialization.
On success, sets the User’s verified
status to true
.
POST
https://{tenant_id}.hanko.io
/
passcode
/
login
/
finalize
Body
application/json
id
string
The ID of the passcode
code
string
The actual passcode from the email sent to the user during initialization, a string of 6 decimal digits
Response
200 - application/json
id
string
The ID of the passcode
ttl
integer
Lifespan of a passcode in seconds
created_at
string
Time of creation of the passcode
Was this page helpful?