---
title: "Enrol the SMS fallback with a phone number proven by a fresh Firebase phone sign-in"
method: POST
path: "/api/me/mfa/sms/enroll"
tags: ["security"]
---

# Enrol the SMS fallback with a phone number proven by a fresh Firebase phone sign-in

`POST /api/me/mfa/sms/enroll`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/me/mfa/sms/enroll`
- Auth: none declared

## Request body

- MfaPhoneProofBody
  - `phoneIdToken` string, required

## Response `200`

OK.

- RecoveryCodes
  - `recoveryCodes` string[], required

## Other responses

- `400`: Invalid or stale phone proof.
- `403`: A factor is enrolled: pass it first.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
