Campaign Registry: Phone Number Assignments
List phone number assignment orders
Returns a list of orders for a campaign.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Messaging and Numbers.
Learn more about API scopes.
get/api/relay/rest/registry/beta/campaigns/{id}/orders
Path parameters
idstring uuid required
Universal Unique Identifier.
Unique ID of the campaign.
Query parameters
filter_statestring
The state of the orders in the registration process, such as pending or processed. Will return all orders with this value.
Response
The request has succeeded.
Example response
{
"data": [
{
"state": "pending",
"status_callback_url": "https://example.com/handle_callback"
}
]
}