---
title: "Confirm OTP to complete phone verification"
method: POST
path: "/v1/accounts/{id}/phone-verification/confirm"
tags: ["Accounts"]
---

# Confirm OTP to complete phone verification

`POST /v1/accounts/{id}/phone-verification/confirm`

## Request

- Base URL: `https://api.honkio.ca`
- URL: `https://api.honkio.ca/v1/accounts/{id}/phone-verification/confirm`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Requires `account:m`.

## Path parameters

- `id` string, required

## Request body

- object
  - `code` string, required: The 6-digit code sent by SMS

## Response `200`

Verified: live sending is unlocked.

- object: Verified: live sending is unlocked.
  - `verified` true, required
  - `verified_phone` string, required
  - `verified_at` string, date-time, required

## Other responses

- `401`: Missing, invalid, revoked or expired API key.
- `402`: The account has no balance, or a LIVE key was used before the first top-up.
- `403`: FORBIDDEN (not your account) or LIVE_KEY_REQUIRED (owner verification needs a live key).
- `422`: VALIDATION_ERROR, VERIFICATION_EXPIRED (no code pending; body statusCode 422) or VERIFICATION_INVALID_CODE.
- `429`: VERIFICATION_MAX_ATTEMPTS: five wrong codes; request a new one.
- `500`: Unexpected server error.

---

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