cURL
curl --request POST \ --url https://{tenant_id}.hanko.io/passcode/login/finalize \ --header 'Content-Type: application/json' \ --data ' { "id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c", "code": "897481" } '
{ "id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c", "ttl": 300, "created_at": "2023-11-07T05:31:56Z" }
Finalize a passcode login.
id
code
verified
true
The ID of the passcode
"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
The actual passcode from the email sent to the user during initialization, a string of 6 decimal digits
6
"897481"
Successful passcode login finalization
Representation of a passcode
Lifespan of a passcode in seconds
300
Time of creation of the passcode
Was this page helpful?