Enterprise GET: ShouldBlock Simple Enteprise which returns a call block proceed decision.
GET
/api/2015-11-01/Enterprise/ShouldBlock/{phoneNumber}/{userPhoneNumber}
EnterpriseApi
Try with api_key 'demo' and phone numbers 18008472911, 13157244022, 17275567300, 18008276655, and 12061231234 (last one not spam)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.callcontrol.com/api/2015-11-01/Enterprise/ShouldBlock//'
Response Response Example
200 - Example 1
"allow"
Request
Path Params
phoneNumber
string
required
userPhoneNumber
string
required
Responses
Previous
Enterprise GET: GetUser
Returns the current information from the user; try 12066194123 as demo
Next
UpsertUser: insert or update all properties from a user
PhoneNumber
WhiteList (list of phone numbers to whitelist)
BlackList (list of phone numbers to blacklist)
QuietHourList (list of quiet hour objects)
UseCommunityBlacklist (enable / disable commu