Check Google Multi-Factor Authentication (MFA) status

Check if your Google login requires additional authentication, such as an MFA code. It returns a requestId needed for subsequent actions related to billing or administration. Use this when logging in or when the system indicates additional verification is required.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/google/mfa-status
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/google/mfa-status" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "pendingGoogleLogin": true,
    "mfaRequired": true,
    "pendingClientId": "string",
    "hasCustomMFA": true,
    "hasHostBillMFA": true,
    "hostbillModuleId": 0,
    "useEmailOTP": true,
    "useHostBillTOTP": true,
    "hasTOTP": true,
    "hasYubiKey": true,
    "preferTOTP": true,
    "googleUser": {
      "email": "string",
      "firstname": "string",
      "lastname": "string",
      "picture": "string"
    }
  }
}