---
title: "Confirm mobile verification code"
method: POST
path: "/users/mobile-verifications/confirm"
tags: ["Public", "MobileVerifications"]
---

# Confirm mobile verification code

`POST /users/mobile-verifications/confirm`

## Request

- Base URL: `https://api.purplegrain.com/api/v1`
- URL: `https://api.purplegrain.com/api/v1/users/mobile-verifications/confirm`
- Auth: none declared

Verifies the SMS one-time code. On success the mobile is marked verified
and the account is confirmed (mobile-first accounts can then sign in).
Codes expire after 10 minutes and allow 5 attempts.

## Request body

- object
  - `mobile` string, required
  - `code` string, required: The 6-digit code from the SMS.

## Response `204`

Verified.

## Other responses

- `422`: Incorrect, expired, or too many attempts.

---

[API](https://skmtc.dev/purplegrain/apis/purple-grain-api.md) · [All operations](https://skmtc.dev/purplegrain/apis/purple-grain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/purplegrain/apis/purple-grain-api/revisions/a9136f78e9fb?raw)
