Call Control API
  1. EnterpriseApi
Call Control API
  • Complaints
    • Complaints: Free service (with registration), providing community and government complaint lookup by phone number for up to 2,000 queries per month. Details include number complaint rates from (FTC, FCC, IRS, Indiana Attorney General) and key entity tag
      GET
  • EnterpriseApi
    • Enterprise GET: GetUser Returns the current information from the user; try 12066194123 as demo
      GET
    • Enterprise GET: ShouldBlock Simple Enteprise which returns a call block proceed decision.
      GET
    • 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
      POST
  • Reputation
    • Report: report spam calls received to better tune our algorithms based upon spam calls you receive
      POST
    • Reputation: Premium service which returns a reputation informaiton of a phone number via API.
      GET
  1. EnterpriseApi

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

POST
/api/2015-11-01/Enterprise/UpsertUser
EnterpriseApi
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.callcontrol.com/api/2015-11-01/Enterprise/UpsertUser' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Age": 0,
    "BlackList": [
        "string"
    ],
    "BlockBehavior": "allow",
    "BreakThroughQhWithMultipleCalls": true,
    "Email": "string",
    "FirstName": "string",
    "Gender": "string",
    "LastName": "string",
    "MiddleName": "string",
    "PhoneNumbeRegion": "string",
    "PhoneNumber": "string",
    "QuietHourList": [
        {
            "DayOfWeekList": [
                "Sunday"
            ],
            "DurationMin": 0,
            "StartHourLocal": 0,
            "StartMinLocal": 0,
            "TimeZoneName": "string"
        }
    ],
    "Salutation": "string",
    "Suffix": "string",
    "UseCommunityBlacklist": true,
    "WhiteList": [
        "string"
    ],
    "WhiteListBreaksQh": true
}'
Response Response Example
200 - Example 1
{}

Request

Body Params application/json
Age
integer <int32>
optional
BlackList
array[string]
optional
BlockBehavior
enum<string> 
optional
Allowed values:
allowvoiceMailblock
BreakThroughQhWithMultipleCalls
boolean 
optional
Email
string 
optional
FirstName
string 
optional
Gender
string 
optional
LastName
string 
optional
MiddleName
string 
optional
PhoneNumbeRegion
string 
optional
PhoneNumber
string 
optional
QuietHourList
array[object (QuietHour) {5}] 
optional
DayOfWeekList
array[string]
optional
Allowed values:
SundayMondayTuesdayWednesdayThursdayFridaySaturday
DurationMin
integer <int32>
optional
StartHourLocal
integer <int32>
optional
StartMinLocal
integer <int32>
optional
TimeZoneName
string 
optional
Salutation
string 
optional
Suffix
string 
optional
UseCommunityBlacklist
boolean 
optional
WhiteList
array[string]
optional
WhiteListBreaksQh
boolean 
optional
Examples

Responses

🟢200Ok
application/json
Body
object {0}
🟠400Bad request (eg. invalid phone nubmer)
Previous
Enterprise GET: ShouldBlock Simple Enteprise which returns a call block proceed decision.
Next
Report: report spam calls received to better tune our algorithms based upon spam calls you receive
Built with