Skip to main content
POST
Verify 2FA

Body

application/json
token
string
required

Pending 2FA challenge token from login

totp_code
string
required

6-digit TOTP code or backup code

Required string length: 6

Response

2FA verified, tokens returned

access_token
string

JWT access token (expires in 1 hour)

refresh_token
string

Refresh token for obtaining new access tokens

token_type
string
Example:

"bearer"

expires_in
integer

Token lifetime in seconds

Example:

3600