Getting started
Getting StartedAPI BasicsAPIs
AuthenticationBlocklistsCall ChannelsCall CenterCall RecordingsDevicesPivotQuickcallWebhooksBusiness SMS
VirtualTextAutomation
ZapierUse cases
Create Trello Card for Voicemails Received Send Call Data to Google SheetsSlack Notifications from Call EventsSMS Airtable TemplateTrigger SMS Messages from Your CRMZapier Webinar RecordingAbout 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