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