Skip to main content

List all phone number blocks


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


Path Parameters

    porting_order_id uuidrequired

    Identifies the Porting Order associated with the phone number blocks

Query Parameters

    filter[phone_number] string

    Filter results by phone number

    filter[phone_number][in][] string[]

    Filter results by a list of phone numbers

    sort[] string

    Possible values: [-created_at, created_at]

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

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page


200: Successful response

401: Unauthorized

404: Not found

422: Unprocessable entity. Check message field in response for details.

Request samples

curl -L '' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples

"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