Getting started
APIs
Business SMS
Automation
Use cases
About Phone Numbers
Phone Numbers API endpoint allows you to manage phones numbers on the account. You can retrieve a list of phones number, search for new numbers available through VirtualPBX, reserve a new phone number and activate the number on your account.
Create List
You may create a blocklist before you add numbers to the list or you can include an initial list with the payload shown below.
API
Method: PUT
https://public-api.virtualpbx.com:8443/v2/accounts/{{account_id}}/blacklists
Payload
{
"data": {
"name": "Main Blacklist",
"numbers": {
"+14154846048": {}
}
}
}
← Previous
Add link here
Next →
Add link here
On this page