---
title: "Gets two step verification configuration for the specified user."
method: GET
path: "/v1/users/{userId}/configuration"
tags: ["Accounts"]
---

# Gets two step verification configuration for the specified user.

`GET /v1/users/{userId}/configuration`

## Path parameters

- `userId` integer, required

## Query parameters

- `challengeId` string
- `actionType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

## Response `200`

OK

- RobloxTwoStepVerificationApiUserConfiguration — The users two step verification configuration.
  - `primaryMediaType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 — The preferred two step verification method for the user.
  - `methods` RobloxTwoStepVerificationApiUserConfigurationMethod[] — The two step verification methods associated with the user.
    - `mediaType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 — The Roblox.TwoStepVerification.Client.TwoStepVerificationMediaType for the method. ['Email' = 0, 'SMS' = 1, 'Authenticator' = 2, 'RecoveryCode' = 3, 'SecurityKey' = 4, 'CrossDevice' = 5, 'Password' = 6, 'Passkey' = 7]
    - `enabled` boolean — Whether or not the method is enabled.
    - `updated` string, date-time — The last time this method was updated for the user.

## Other responses

- `400` — 1: Invalid challenge ID.
- `403` — 2: The user ID is invalid.

---

[API](https://skmtc.net/roblox/apis/roblox-api.md) · [All operations](https://skmtc.net/roblox/apis/roblox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roblox/roblox-api/versions/e15802062270/schema)
