---
title: "Verify Phone"
method: POST
path: "/api/v1/auth/phone/verify"
tags: ["auth"]
---

# Verify Phone

`POST /api/v1/auth/phone/verify`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/auth/phone/verify`
- Auth: none declared

Verify a phone number with the OTP code.

On success, saves the verified phone number to the user's profile.

## Headers

- `authorization` string, nullable
- `x-dev-user-id` string, nullable
- `x-app-version` string, nullable

## Request body

- PhoneVerificationVerify: Schema for verifying a phone code.
  - `code` string, required

## Response `200`

Successful Response

- PhoneVerifiedResponse: Response after successfully verifying a phone number.
  - `phone_number` string, required
  - `verified` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
