v1

latestOpenAPI 3.0.3AGPL-3.0-or-later2026-07-2687268192.4 KB
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/passcode/login/finalize

Request body

idstring uuid4
codestring

The actual passcode from the email sent to the user during initialization, a string of 6 decimal digits

Example request

{
  "id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
  "code": "897481"
}

Response

Successful passcode login finalization

idstring uuid4
ttlinteger

Lifespan of a passcode in seconds

created_atstring date-time

Time of creation of the passcode

Example response

{
  "id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
  "ttl": 300
}