---
title: "Start SMS MFA enrollment"
method: POST
path: "/v1/users/{user_id}/mfa/sms/enrollment/init"
tags: ["Users MFA"]
---

# Start SMS MFA enrollment

`POST /v1/users/{user_id}/mfa/sms/enrollment/init`

## Request

- Base URL: `https://api.privy.io`
- URL: `https://api.privy.io/v1/users/{user_id}/mfa/sms/enrollment/init`
- Auth: HTTP basic

Sends an SMS MFA enrollment code to a phone number.

## Path parameters

- `user_id` string, required

## Headers

- `privy-app-id` string, required: ID of your Privy app.
- `privy-user-token` string, required: Access token or custom authentication JWT for the user the request acts on.
- `privy-mfa-token` string: MFA token from a completed MFA verification, required on MFA-protected requests for users with MFA enrolled.

## Request body

- SmsMfaEnrollmentInitRequestBody: Starts SMS MFA enrollment by sending a code to the phone number.
  - `phone_number` string, required

## Response `200`

Enrollment code sent.

- SuccessResponse: A simple success response.
  - `success` boolean, required

## Changes

- **2026-10-27** `9b687835ed44`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/privy-io/apis/privy-api/changes/v1/users/:user_id/mfa/sms/enrollment/init/post.md)

---

[API](https://skmtc.dev/privy-io/apis/privy-api.md) - [All operations](https://skmtc.dev/privy-io/apis/privy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/privy-io/apis/privy-api/revisions/3a2288470053?raw)
