POST /twofactorauth/qr
Verify TOTP token during QR code setup process
/twofactorauth/qr
POST
Verify TOTP token during QR code setup process
Key | Type | Example | |
---|---|---|---|
authorization required | string |
"Bearer your-jwt-token"
|
Key | Type | Example | Description |
---|---|---|---|
secret required | string |
"example-string"
|
TOTP secret key
|
token required | string |
"example-string"
|
TOTP token to verify
|
{
"verified": true
}
{
"success": false,
"error": "HTTP_401",
"message": "Error response"
}
Error Code | Description |
---|---|
HTTP_401 | HTTP 401 error |
permission | description |
---|---|
BearerAuth |
JWT access token obtained from login endpoint required |
Back to Two-Factor Authentication Return to the Two-Factor Authentication category to view other endpoints All API Categories Browse all available API categories