API Endpoint
BaseURI
The Number Object
Attributes
Unique identifier for a campaign.
Friendly name for the campaign.
Use case of the campaign.
Array containing status of each number linked to the campaign. Each entry includes
number and status fields.Example Object
Link Number to Campaign
Link one or more phone numbers to an existing campaign.Arguments
The numbers you want to link to a campaign. Numbers should be in E.164 format.
Fully qualified URL to which status update callbacks for the linking request should be sent.
The HTTP method to be used when calling the URL defined above. Allowed values:
GET, POST. Defaults to POST.Response
Retrieve All Numbers Linked to a Campaign
Fetch all numbers linked to a particular campaign.No arguments need to be passed.
status field in the phone_numbers array can have the following values:
FAILED- The linking request failedPROCESSING- The linking request is being processedCOMPLETED- The number has been successfully linked
Response
Retrieve Number Status
Fetch the status of a specific number linked to a campaign.No arguments need to be passed.
status field can have the values FAILED, PROCESSING, or COMPLETED.
Response
Unlink Number from Campaign
Unlink a phone number from a campaign.Arguments
Fully qualified URL to which status update callbacks for the unlinking request should be sent.
The HTTP method to be used when calling the URL defined above. Allowed values:
GET, POST. Defaults to POST.