Skip to main content
organizationId
string
required
Unique identifier for a given organization.
activityId
string
required
The unique identifier of the activity to get MFA status for.
userId
string
Optional user ID to filter MFA status for a specific user.
A successful response returns the following fields:
mfaStatuses
array
required
A list of MFA statuses for the activity’s votes.
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_mfa_status \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "activityId": "<string>",
    "userId": "<string>"
}'
{
  "mfaStatuses": [
    {
      "mfaPolicyId": "<string>",
      "userId": "<string>",
      "satisfied": "<boolean>",
      "satisfiedMethods": [
        {
          "type": "<AUTHENTICATION_TYPE_EMAIL_OTP>",
          "id": "<string>"
        }
      ],
      "requiredMethods": [
        {
          "any": [
            {
              "type": "<AUTHENTICATION_TYPE_EMAIL_OTP>",
              "id": "<string>"
            }
          ]
        }
      ]
    }
  ]
}