Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The page number to load
Required range:
x >= 1The size of the page
Required range:
1 <= x <= 250import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const inexplicitNumberOrders = await client.inexplicitNumberOrders.list();
console.log(inexplicitNumberOrders.data);{
"data": [
{
"id": "<string>",
"connection_id": "<string>",
"messaging_profile_id": "<string>",
"customer_reference": "<string>",
"billing_group_id": "<string>",
"ordering_groups": [
{
"country_iso": "<string>",
"phone_number_type": "<string>",
"count_requested": 123,
"count_allocated": 123,
"status": "pending",
"national_destination_code": "<string>",
"phone_number[starts_with]": "<string>",
"phone_number[ends_with]": "<string>",
"phone_number[contains]": "<string>",
"administrative_area": "<string>",
"strategy": "always",
"error_reason": "<string>",
"orders": [
{
"number_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sub_number_order_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Get a paginated list of inexplicit number orders.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const inexplicitNumberOrders = await client.inexplicitNumberOrders.list();
console.log(inexplicitNumberOrders.data);{
"data": [
{
"id": "<string>",
"connection_id": "<string>",
"messaging_profile_id": "<string>",
"customer_reference": "<string>",
"billing_group_id": "<string>",
"ordering_groups": [
{
"country_iso": "<string>",
"phone_number_type": "<string>",
"count_requested": 123,
"count_allocated": 123,
"status": "pending",
"national_destination_code": "<string>",
"phone_number[starts_with]": "<string>",
"phone_number[ends_with]": "<string>",
"phone_number[contains]": "<string>",
"administrative_area": "<string>",
"strategy": "always",
"error_reason": "<string>",
"orders": [
{
"number_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sub_number_order_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The page number to load
x >= 1The size of the page
1 <= x <= 250Was this page helpful?