v47

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-181,0851,7264.5 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

porting_order_idstring[]

Filter results by a list of porting order ids

phone_numberstring[]

Filter results by a list of phone numbers

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

Activation status

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.

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

{
  "porting_order_id": [
    "f3575e15-32ce-400e-a4c0-dd78800c20b0"
  ],
  "support_key": "sr_a12345",
  "status": "in-process",
  "phone_number": [
    "+12003151212"
  ],
  "activation_status": "Active",
  "portability_status": "confirmed"
}
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"
}
page[number]integer
page[size]integer

Response

Successful response

Example response

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