v52

OpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
Phone Number Orders

Create a sub number orders report

Create a CSV report for sub number orders. The report will be generated asynchronously and can be downloaded once complete.

post/sub_number_orders_report

Request body

country_codestring

Filter by country code

created_at_gtstring date-time

Filter for orders created after this date

created_at_ltstring date-time

Filter for orders created before this date

customer_referencestring

Filter by customer reference

order_request_idstring uuid

Filter by specific order request ID

status'pending' | 'success' | 'failure'

Filter by order status

Example request

{
  "country_code": "US",
  "created_at_gt": "2023-04-05T10:22:08.230549Z",
  "created_at_lt": "2025-06-05T10:22:08.230549Z",
  "customer_reference": "STRING",
  "order_request_id": "12ade33a-21c0-473b-b055-b3c836e1c293",
  "status": "success"
}

Response

Sub number orders report response

Example response

{
  "data": {
    "created_at": "2025-06-11T13:21:40.967339+00:00",
    "filters": {
      "country_code": "US",
      "created_at_gt": "2023-04-05T10:22:08.230549Z",
      "created_at_lt": "2025-06-05T10:22:08.230549Z",
      "customer_reference": "STRING",
      "order_request_id": "991b8ff5-4daf-4826-9a22-e3991b444a9c",
      "status": "success"
    },
    "id": "cada7e84-122b-4b47-bc66-58c7c3becd40",
    "order_type": "sub_number_order",
    "status": "pending",
    "updated_at": "2025-06-11T13:21:45.753260+00:00",
    "user_id": "0d7ef697-df19-413a-b724-56b0539f5397"
  }
}