---
title: "Enables two step verification via SMS for the specified user."
method: POST
path: "/v1/users/{userId}/configuration/sms/enable"
tags: ["Accounts"]
---

# Enables two step verification via SMS for the specified user.

`POST /v1/users/{userId}/configuration/sms/enable`

## Path parameters

- `userId` integer, required

## Request body

- RobloxTwoStepVerificationApiEnableTwoStepVerificationRequest — Request parameters for enabling two step verification.
  - `password` string — The user's password.
  - `secureAuthenticationIntent` RobloxTwoStepVerificationApiModelsRequestSecureAuthenticationIntentModel — Model describing secure auth intent.
    - `clientPublicKey` string
    - `clientEpochTimestamp` integer
    - `saiSignature` string
    - `serverNonce` string

## Response `200`

OK

- RobloxWebWebAPIApiEmptyResponseModel

## Other responses

- `400` — 4: The password is invalid. 15: The phone number is invalid.
- `401` — 0: Authorization has been denied for this request.
- `403` — 0: Token Validation Failed 2: The user ID is invalid.
- `503` — 7: Two step verification is currently under maintenance. 8: The user is not allowed to perform the requested action.

---

[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/756260310407/schema)
