List all Phone Number Assignment Orders
GET/registry/beta/campaigns/:id/orders
Returns a list of the phone number assignment orders for a campaign. The orders are returned sorted by creation date, with the most recent appearing first. The list is filterable by sending in any of the following parameters.
Permissions
The API token must include the following scopes: Messaging.
Request
Path Parameters
id uuidrequired
Unique ID of the campaign
Query Parameters
filter_state string
The state of the orders in the registration process, such as pending or processed. Will return all orders with this value.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
links
object
self string
first string
next string
prev string
data object[]
{
"links": {
"self": "string",
"first": "string",
"next": "string",
"prev": "string"
},
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"state": "pending",
"processed_at": null,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"status_callback_url": "https//example.com/handle_callback"
}
]
}