For the complete documentation index, see llms.txt. This page is also available as Markdown.

Auth TOTP

Verify TOTP

post

Verify TOTP code and complete the login process. This endpoint is used after initial login when TOTP is required.

Authorizations
AuthorizationstringRequired
Body
temp_tokenstringRequired

Temporary token received from initial login

Example: eyJ0eXA...
tokenstringRequired

TOTP verification code

Example: 123456
Responses
200

The TOTP verification was successful and login is completed.

application/json
keystringOptional

Login token

Example: a46ba...
post/api/v1/auth/totp/verify/

Setup TOTP

post

Setup TOTP authentication.

Authorizations
AuthorizationstringRequired
Responses
201

The TOTP setup was successful.

application/json
secret_keystringOptional

TOTP secret key

Example: RE4U7XXXXXXXXXXXX
provisioning_uristringOptional

TOTP provisioning URI

Example: otpauth://totp/Omnitron%3Aakinon?secret=RE4U7XXXXXXXXXXXX&algorithm=SHA1&digits=6&period=30&issuer=Omnitron
post/api/v1/auth/totp/setup/

Activate TOTP

post

Activate TOTP authentication by verifying the TOTP code.

Authorizations
AuthorizationstringRequired
Body
tokenstringRequired

TOTP verification code

Example: 123456
Responses
200

The TOTP activation was successful.

application/json
recovery_codesstring[]Optional

Recovery codes

Example: ABCD1234
post/api/v1/auth/totp/activate/

Deactivate TOTP

post

Deactivate TOTP authentication for the current user.

Authorizations
AuthorizationstringRequired
Responses
200

The TOTP deactivation was successful.

No content

post/api/v1/auth/totp/deactivate/

No content

Last updated

Was this helpful?