Skip to content

Get User MFA Methods

GET/web/constants/user-mfa-methods None

Returns a list of supported multi-factor authentication (MFA) methods (e.g., TOTP, EMAIL). The response is localized based on the Accept-Language request header.

Authentication

No authentication required. This is a public endpoint.

Request Parameters

None.

Success Response

Success 200
{
  "code": "2000",
  "message": "SUCCESS",
  "data": [
    {
      "code": "TOTP",
      "value": 35010601,
      "label": "TOTP"
    },
    {
      "code": "EMAIL",
      "value": 35010602,
      "label": "Email"
    }
  ]
}

Response Fields

NameTypeRequiredDescription
codestringRequiredEnum name identifier (e.g., "TOTP")
valueintegerRequired8-digit numeric code for API usage
labelstringRequiredLocalized display name based on Accept-Language header

Error Responses

HTTP StatusCodeMessageDescription
500"5000""INTERNAL_SERVER_ERROR"Unexpected server error

Notes

  • The label field is localized; send Accept-Language: zh-CN for Chinese labels.

SlaunchX Internal Documentation