v52

OpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
Porting Orders

List all phone number blocks

Returns a list of all phone number blocks of a porting order.

get/porting_orders/{porting_order_id}/phone_number_blocks

Path parameters

porting_order_idstring uuid required

Identifies the Porting Order associated with the phone number blocks

Query parameters

activation_status'New' | 'Pending' | 'Conflict' | 'Cancel Pending' | 'Failed' | 'Concurred' | 'Activate RDY' | 'Disconnect Pending' | 'Concurrence Sent' | 'Old' | 'Sending' | 'Active' | 'Cancelled'

Activation status

phone_numberstring[]

Filter results by a list of phone numbers

portability_status'pending' | 'confirmed' | 'provisional'

Specifies whether Telnyx is able to confirm portability this number in the United States & Canada. International phone numbers are provisional by default.

porting_order_idstring[]

Filter results by a list of porting order ids

Consolidated filter parameter (deepObject style). Originally: filter[porting_order_id], filter[support_key], filter[status], filter[phone_number], filter[activation_status], filter[portability_status]

{
  "activation_status": "Active",
  "phone_number": [
    "+12003151212"
  ],
  "portability_status": "confirmed",
  "porting_order_id": [
    "f3575e15-32ce-400e-a4c0-dd78800c20b0"
  ],
  "status": "in-process",
  "support_key": "sr_a12345"
}
numberinteger

The page number to load

sizeinteger

The size of the page

Consolidated page parameter (deepObject style). Originally: page[size], page[number]

value'-created_at' | 'created_at'

Specifies the sort order for results. If not given, results are sorted by created_at in descending order

Consolidated sort parameter (deepObject style). Originally: sort[value]

{
  "value": "created_at"
}

Response

Successful response

Example response

{
  "data": [
    {
      "activation_ranges": [
        {
          "end_at": "+4930244999910",
          "start_at": "+4930244999901"
        }
      ],
      "country_code": "DE",
      "created_at": "2021-03-19T10:07:15.527Z",
      "id": "f24151b6-3389-41d3-8747-7dd8c681e5e2",
      "phone_number_range": {
        "end_at": "+4930244999910",
        "start_at": "+4930244999901"
      },
      "phone_number_type": "local",
      "record_type": "porting_phone_number_block",
      "updated_at": "2021-03-19T10:07:15.527Z"
    }
  ],
  "meta": {
    "page_number": 2,
    "page_size": 25,
    "total_pages": 3,
    "total_results": 55
  }
}