---
title: "Verify verification code by phone number"
method: POST
path: "/verifications/by_phone_number/{phone_number}/actions/verify"
tags: ["Verify"]
---

# Verify verification code by phone number

`POST /verifications/by_phone_number/{phone_number}/actions/verify`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/verifications/by_phone_number/{phone_number}/actions/verify`
- Auth: HTTP bearer

Submits a verification code for the specified phone number and Verify profile. The response indicates whether the code was accepted or rejected.

## Path parameters

- `phone_number` string, required: +E164 formatted phone number.

## Request body

- VerifyVerificationCodeRequestByPhoneNumber
  - `code` string, required: This is the code the user submits for verification.
  - `verify_profile_id` string, uuid, required: The identifier of the associated Verify profile.

## Response `200`

Expected verify response to a valid request.

- VerifyVerificationCodeResponse
  - `data` object, required
    - `phone_number` string, required: +E164 formatted phone number.
    - `response_code` 'accepted' | 'rejected', required: Identifies if the verification code has been accepted or rejected.

## Other responses

- `400`: Bad Request

## Changes

> 152 revisions in range; 1 not diffed.

- **2026-10-21** `19db5ee4ec59`: 1 breaking, 1 info
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `400`
  - added the optional property `errors/items/description` to the response with the `400` status
- **2026-09-16** `a6a61a29ecdd`: 1 breaking, 1 warning
  - the `errors/items/code` response's property type changed from `string` to `integer`, and format from no format to `int32` for status `400`
  - removed the optional property `errors/items/meta/url` from the response with the `400` status
- **2026-08-17** `1571b0380bd7`: 1 breaking, 1 info
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `400`
  - added the optional property `errors/items/meta/url` to the response with the `400` status
- **2026-08-04** `8f5f4e537994`: 1 breaking, 1 warning
  - the `errors/items/code` response's property type changed from `string` to `integer`, and format from no format to `int32` for status `400`
  - removed the optional property `errors/items/meta/url` from the response with the `400` status

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/verifications/by_phone_number/:phone_number/actions/verify/post.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/f82938f53ff4?raw)
