Campaign Registry: Phone Number Assignments
Create phone number assignment order
Submits a batch request to assign project phone numbers to one US 10-digit long code (10DLC) campaign. Use it after the brand and campaign are registered and the numbers are owned by the project. Monitor processing with Get phone number assignment order.
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
Request
- Base URLhttps://{Your_Space_Name}.signalwire.com
- URLhttps://{Your_Space_Name}.signalwire.com/api/relay/rest/registry/beta/campaigns/{id}/orders
- AuthHTTP basic
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"
}Changes
No operation changes found yet. Some revisions have not been checked.