Campaign Registry: Phone Number Assignments
Create phone number assignment order
Creates a new order 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.
post/api/relay/rest/registry/beta/campaigns/{id}/orders
Path parameters
idstring uuid required
Universal Unique Identifier.
Unique ID of the campaign.
Request body
Example request
{
"phone_numbers": [
"+15558675309"
],
"status_callback_url": "https://example.com/handle_callback"
}Response
The request has succeeded.
Example response
{
"state": "pending",
"status_callback_url": "https://example.com/handle_callback"
}