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.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/google/mfa-status curl -X GET "https://cloud.hostup.se/api/google/mfa-status" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"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"
}
}
}