Skip to main content

Retrieve a list of phone numbers associated to orders

GET 
/number_order_phone_numbers

Get a list of phone numbers associated to orders.

Request

Query Parameters

    filter[country_code] string

    Country code of the order phone number.

Responses

200: Successful response with a list of number order phone numbers.

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/number_order_phone_numbers' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"id": "dc8e4d67-33a0-4cbb-af74-7b58f05bd494",
"record_type": "number_order_phone_number",
"phone_number": "+19705555098",
"order_request_id": "dc8e4d67-33a0-4cbb-af74-7b58f05bd495",
"sub_number_order_id": "dc8e4d67-33a0-4cbb-af74-7b58f05bd496",
"country_code": "US",
"phone_number_type": "local",
"regulatory_requirements": [
{
"record_type": "phone_number_regulatory_requirement",
"requirement_id": "8ffb3622-7c6b-4ccc-b65f-7a3dc0099576",
"field_type": "address",
"field_value": "45f45a04-b4be-4592-95b1-9306b9db2b21"
}
],
"requirements_met": true,
"status": "pending",
"bundle_id": null,
"locality": "San Francisco",
"deadline": "024-05-31T11:14:00+00:00",
"requirements_status": "pending",
"is_block_number": false
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}