---
title: "List verification codes"
method: GET
path: "/porting_orders/{id}/verification_codes"
tags: ["Porting Orders"]
---

# List verification codes

`GET /porting_orders/{id}/verification_codes`

Returns a list of verification codes for a porting order.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page` object
  - `size` integer — The size of the page
  - `number` integer — The page number to load
- `filter` object
  - `verified` boolean — Filter verification codes that have been verified or not
- `sort` object
  - `value` 'created_at' | '-created_at' — Specifies the sort order for results. If not given, results are sorted by created_at in descending order.

## Response `200`

Successful response

- object
  - `data` PortingVerificationCode[]
    - `id` string, uuid — Uniquely identifies this porting verification code
    - `phone_number` string — E164 formatted phone number
    - `verified` boolean — Indicates whether the verification code has been verified
    - `porting_order_id` string, uuid — Identifies the associated porting order
    - `record_type` string — Identifies the type of the resource.
    - `created_at` string, date-time — ISO 8601 formatted date indicating when the resource was created.
    - `updated_at` string, date-time — ISO 8601 formatted date indicating when the resource was updated.
  - `meta` PaginationMeta
    - `total_pages` integer
    - `total_results` integer
    - `page_number` integer
    - `page_size` integer

## Other responses

- `401` — Unauthorized
- `404` — Resource not found

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
