v1

latestOpenAPI 3.1.12026-07-17124229467.0 KB

Verify second factor

Exchange a valid Basic Auth password plus a TOTP code for a short-lived second-factor session token. Returns 401 if the password is wrong, 400 if TOTP is not enabled, and 401 with { totp: true } if the code is invalid.

post/global/auth/verify

Request body

codestring required

Response

Second-factor session token

tokenstring required
expiresAtnumber required