Getting started
APIs
Business SMS
Automation
Use cases
Create Trello Card for Voicemails Received
Send Call Data to Google Sheets
Slack Notifications from Call Events
Trigger SMS Messages from Your CRM
A blocklist is a map of caller id numbers that can be then apply to the account to block these callers to call the system. You may also configure a blocklist to block callers that block or restrict their caller id.
You may create a blocklist before you add numbers to the list or you can include an initial list with the payload shown below.
Method: PUT
<https://public-api.virtualpbx.com:8443/v2/accounts/{{account_id}>}/blacklists
{
"data": {
"name": "Main Blacklist",
"numbers": {
"+14154846048": {}
}
}
}
curl --location -g --request PUT '<https://public-api.virtualpbx.com:8443/v2/accounts/{ACCOUNT_ID}/blacklists>' \\
--header 'X-Auth-Token: {AUTH_TOKEN}' \\
--header 'Content-Type: application/json' \\
--data-raw '{
"data": {
"name": "Main Blacklist",
"numbers": {
"+14154846048": {
}
}
}
}'
You may create a blocklist before you add numbers to the list or you can include an initial list with the payload shown below.
Method: GET
<https://public-api.virtualpbx.com:8443/v2/accounts/{{account_id}>}/blacklists
You may create a blocklist before you add numbers to the list or you can include an initial list with the payload shown below.
Method: GET
<https://public-api.virtualpbx.com:8443/v2/accounts/{{account_id}>}/blacklists/{{blacklist_id}}
You may create a blocklist before you add numbers to the list or you can include an initial list with the payload shown below.
Method: POST
<https://public-api.virtualpbx.com:8443/v2/accounts/{{account_id}>}/blacklists
{
"data": {
"name": "Main Blacklist",
"numbers": {
"+12109077509": {},
"+13152151224": {},
"+18322413415": {}
}
}
}
You may create a blocklist before you add numbers to the list or you can include an initial list with the payload shown below.
Method: DELETE
<https://public-api.virtualpbx.com:8443/v2/accounts/{{account_id}>}/blacklists/{{blacklist_id}}
{
"data": {
"name": "Main Blacklist",
"numbers": {
"+14154846048": {}
}
}
}
← Previous
Add link here
Next →
Add link here