Retrieve a single phone number within a number order.
GET/number_order_phone_numbers/:number_order_phone_number_id
Get an existing phone number in number order.
Request
Path Parameters
number_order_phone_number_id stringrequired
The number order phone number ID.
Responses
200: Successful response with details about a number order phone number.
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/number_order_phone_numbers/:number_order_phone_number_id' \
-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
}
}
{
"errors": [
{
"code": "10007",
"title": "Unexpected error",
"detail": "An unexpected error occured.",
"source": {
"pointer": "/base",
"parameter": "string"
},
"meta": {
"url": "https://developers.telnyx.com/docs/overview/errors/10015"
}
}
]
}