Skip to main content

Retrieve a number order

GET 
/origination/number_orders/:order_request_id

Retrieves the details of an existing number order.

Request

Path Parameters

    order_request_id stringrequired

    Order request id

Responses

200: Number Order Response

401: Unauthorized

404: Resource not found

Request samples


curl -L 'https://api.telnyx.com/origination/number_orders/:order_request_id' \
-H 'Accept: application/json'

Response samples


{
"order_request_id": "7e610e23-d1f2-4f90-b5b7-3ddd7b32ad7c",
"numbers_count": 1,
"date_created": "2018-02-08T18:49:22.998023Z",
"date_due": "2018-02-08T18:49:22.998023Z",
"requirements_met": true,
"requested_numbers": [
{
"number": "string",
"status": "success",
"allocated": true,
"customer_name": "string",
"customer_phone": "string",
"tax_id": "string",
"requirements_met": true,
"requirements": [
{}
],
"provided_documents": {
"address_proof_file_ids": [
"string"
],
"identification_file_ids": [
"string"
],
"reg_form_file_ids": [
"string"
]
}
}
],
"requested_inexplicit_numbers": [
{
"region_name": "string",
"region_type": "string",
"national_destination_code": "string",
"country_iso": "string",
"quantity": 0,
"allocated_telephone_numbers": [
"string"
],
"customer_name": "string",
"customer_phone": "string",
"tax_id": "string",
"requirements_met": true,
"requirements": [
{}
],
"provided_documents": {
"address_proof_file_ids": [
"string"
],
"identification_file_ids": [
"string"
],
"reg_form_file_ids": [
"string"
]
}
}
],
"connection_id": "string"
}