List messaging hosted number orders

gethttps://api.telnyx.com/v2/messaging_hosted_number_orders

List messaging hosted number orders

curl -X GET \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Authorization: Bearer YOUR_API_KEY" \ --globoff "https://api.telnyx.com/v2/messaging_hosted_number_orders?page[number]=1&page[size]=20"

Parameters

In Query
page[number]
integer
(1)
optional
The page number to load
Default:
1
page[size]
integer
(1 - 250)
optional
The size of the page
Default:
20

Responses

200
Successful response with a list of messaging hosted number orders.
default
Unexpected error

Success Response

{
  "data": {
    "id": "86f58db9-0fe3-4adc-9d1f-46e66e6e9323",
    "messaging_profile_id": "dc8f39ac-953d-4520-b93b-786ae87db0da",
    "phone_numbers": [
      {
        "id": "bf6307bd-884d-4c1f-b6ea-c62b8c495d3c",
        "phone_number": "+18665550001",
        "record_type": "messaging_hosted_number",
        "status": "pending"
      },
      {
        "id": "464bd54e-a328-4b11-a131-28e6793cb6f2",
        "phone_number": "+18665550002",
        "record_type": "messaging_hosted_number",
        "status": "pending"
      }
    ],
    "record_type": "messaging_hosted_number_order",
    "status": "pending"
  },
  "meta": {
    "page_number": 2,
    "page_size": 25,
    "total_pages": 3,
    "total_results": 55
  }
}

...

posthttps://api.telnyx.com/v2/messaging_hosted_number_orders

...

...

Parameters

Responses

Success Response

...

gethttps://api.telnyx.com/v2/messaging_hosted_number_orders/{id}

...

...

Parameters

Responses

Success Response

...

posthttps://api.telnyx.com/v2/messaging_hosted_number_orders/{id}/actions/file_upload

...

...

Parameters

Responses

Success Response

...

deletehttps://api.telnyx.com/v2/messaging_hosted_numbers/{id}

...

...

Parameters

Responses

Success Response

Was this page helpful?