v1

latestOpenAPI 3.1.02026-07-24317911.4 MB
Sites

Create Site in Domain

post/domains/{domain}/sites

Path parameters

domainstring required

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

Example:example.com

Request body

synchronous'yes' | 'no'

When synchronous is requested with "yes" the response will be a 200 on success and will contain a valid JSON representiation of the new resource. If no or left off request a 202 "Accepted" will be given in a success case and this can be considered a success. Synchronous responses will be a little slower as the API will process the geo replication request and wait till the local copy has been written and can be read back berfore sending a response.

sitestring required
login-usernamestring

This is the login for the user used to access the portals and other applications. The default will be [user]@[domain] if not set otherwise. This value is required to be unique across the entire system so 409 will be returned if not unique.

time-zone'US/Alaska' | 'US/Central' | 'US/Eastern' | 'US/Hawaii' | 'US/Mountain' | 'US/Pacific' | 'Africa/Addis_Ababa' | 'Africa/Algiers' | 'Africa/Brazzaville' | 'Africa/Cairo' | 'Africa/Casablanca' | 'Africa/Dakar' | 'Africa/Dar_es_Salaam' | 'Africa/Djibouti' | 'Africa/Johannesburg' | 'Africa/Khartoum' | 'Africa/Kigali' | 'Africa/Kinshasa' | 'Africa/Lagos' | 'Africa/Nairobi' | 'Africa/Timbuktu' | 'Africa/Tripoli' | 'Africa/Tunis' | 'America/Antigua' | 'America/Aruba' | 'America/Belize' | 'America/Bogota' | 'America/Buenos_Aires' | 'America/Cancun' | 'America/Caracas' | 'America/Cayman' | 'America/Chihuahua' | 'America/Costa_Rica' | 'America/Denver' | 'America/Detroit' | 'America/Edmonton' | 'America/El_Salvador' | 'America/Ensenada' | 'America/Grenada' | 'America/Guadeloupe' | 'America/Guatemala' | 'America/Havana' | 'America/Indianapolis' | 'America/Jamaica' | 'America/Juneau' | 'America/La_Paz' | 'America/Lima' | 'America/Los_Angeles' | 'America/Louisville' | 'America/Martinique' | 'America/Mazatlan' | 'America/Mendoza' | 'America/Menominee' | 'America/Merida' | 'America/Mexico_City' | 'America/Miquelon' | 'America/Moncton' | 'America/Monterrey' | 'America/Montevideo' | 'America/Montreal' | 'America/Montserrat' | 'America/Nassau' | 'America/New_York' | 'America/Panama' | 'America/Phoenix' | 'America/Port-au-Prince' | 'America/Port_of_Spain' | 'America/Regina' | 'America/Santiago' | 'America/Santo_Domingo' | 'America/Sao_Paulo' | 'America/Thule' | 'America/Thunder_Bay' | 'America/Tijuana' | 'America/Toronto' | 'America/Vancouver' | 'America/Winnipeg' | 'America/Yellowknife' | 'Antarctica/South_Pole' | 'Arctic/Longyearbyen' | 'Asia/Amman' | 'Asia/Baghdad' | 'Asia/Bahrain' | 'Asia/Bangkok' | 'Asia/Beirut' | 'Asia/Brunei' | 'Asia/Calcutta' | 'Asia/Colombo' | 'Asia/Dacca' | 'Asia/Damascus' | 'Asia/Dhaka' | 'Asia/Dubai' | 'Asia/Gaza' | 'Asia/Hong_Kong' | 'Asia/Istanbul' | 'Asia/Jakarta' | 'Asia/Jerusalem' | 'Asia/Kabul' | 'Asia/Katmandu' | 'Asia/Kuala_Lumpur' | 'Asia/Kuching' | 'Asia/Kuwait' | 'Asia/Macau' | 'Asia/Manila' | 'Asia/Muscat' | 'Asia/Phnom_Penh' | 'Asia/Rangoon' | 'Asia/Riyadh' | 'Asia/Saigon' | 'Asia/Seoul' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Taipei' | 'Asia/Tehran' | 'Asia/Tel_Aviv' | 'Asia/Thimphu' | 'Asia/Tokyo' | 'Asia/Ulan_Bator' | 'Asia/Vientiane' | 'Asia/Vladivostok' | 'Atlantic/Azores' | 'Atlantic/Bermuda' | 'Atlantic/Canary' | 'Atlantic/Cape_Verde' | 'Atlantic/Faeroe' | 'Atlantic/Reykjavik' | 'Australia/ACT' | 'Australia/Adelaide' | 'Australia/Brisbane' | 'Australia/Canberra' | 'Australia/Darwin' | 'Australia/LHI' | 'Australia/Melbourne' | 'Australia/North' | 'Australia/NSW' | 'Australia/Perth' | 'Australia/Queensland' | 'Australia/South' | 'Australia/Sydney' | 'Australia/Tasmania' | 'Australia/Victoria' | 'Australia/West' | 'Canada/Atlantic' | 'Canada/Central' | 'Canada/Eastern' | 'Canada/Mountain' | 'Canada/Newfoundland' | 'Canada/Pacific' | 'Canada/Saskatchewan' | 'Canada/Yukon' | 'Cuba' | 'Etc/GMT' | 'Etc/GMT+1' | 'Etc/GMT+10' | 'Etc/GMT+11' | 'Etc/GMT+12' | 'Etc/GMT+2' | 'Etc/GMT+3' | 'Etc/GMT+4' | 'Etc/GMT+5' | 'Etc/GMT+6' | 'Etc/GMT+7' | 'Etc/GMT+8' | 'Etc/GMT+9' | 'Etc/GMT-1' | 'Etc/GMT-10' | 'Etc/GMT-11' | 'Etc/GMT-12' | 'Etc/GMT-13' | 'Etc/GMT-14' | 'Etc/GMT-2' | 'Etc/GMT-3' | 'Etc/GMT-4' | 'Etc/GMT-5' | 'Etc/GMT-6' | 'Etc/GMT-7' | 'Etc/GMT-8' | 'Etc/GMT-9' | 'Etc/Greenwich' | 'Europe/Amsterdam' | 'Europe/Athens' | 'Europe/Belfast' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/Brussels' | 'Europe/Bucharest' | 'Europe/Budapest' | 'Europe/Copenhagen' | 'Europe/Dublin' | 'Europe/Helsinki' | 'Europe/Istanbul' | 'Europe/Kiev' | 'Europe/Lisbon' | 'Europe/Ljubljana' | 'Europe/London' | 'Europe/Madrid' | 'Europe/Malta' | 'Europe/Monaco' | 'Europe/Moscow' | 'Europe/Oslo' | 'Europe/Paris' | 'Europe/Prague' | 'Europe/Rome' | 'Europe/Sofia' | 'Europe/Stockholm' | 'Europe/Vienna' | 'Europe/Warsaw' | 'Europe/Zurich' | 'Greenwich' | 'Pacific/Auckland' | 'Pacific/Easter' | 'Pacific/Fiji' | 'Pacific/Galapagos' | 'Pacific/Gambier' | 'Pacific/Guam' | 'Pacific/Honolulu' | 'Pacific/Marquesas' | 'Pacific/Midway' | 'Pacific/Palau' | 'Pacific/Rarotonga' | 'Pacific/Tahiti'

This is the time zone that the user is primarily located in

dial-planstring

This is the dial plan set for the user. Dial plans are used to control action and forward options that will be used when dialing out from the user.

dial-policystring

This value is the dial policy/permission for this user whch will control the destinations this user can dial. Generally dial policys are preconfigured at system level and selected at user level.

voicemail-user-control-enabled'yes' | 'no'
phone-numbers-to-allow-enabled'yes' | 'no'
phone-numbers-to-reject-enabled'yes' | 'no'
call-screening-enabled'yes' | 'no'
language-tokenstring

This is the language that is set for the user to be used for portal viewing.

limits-max-data-storage-kilobytesinteger

This is the maximum value in kilobytes that is allowed to be stored in the user's voicemail, audio greetings and fax storage.

limits-max-active-calls-totalinteger

This is the maximum number of active calls allowed for the user.

directory-annouce-in-dial-by-name-enabled'yes' | 'no'
voicemail-enabled'yes' | 'no'
voicemail-receive-broadcast-enabled'yes' | 'no'
reject-anonymous-calls-enabled'yes' | 'no'
voicemail-playback-announce-datetime-received'yes' | 'no'
voicemail-playback-announce-caller-id'yes' | 'no'
voicemail-playback-sort-newest-to-oldest'yes' | 'no'
caller-id-numberstring phonenumber

This is the main caller id number for the user to be used for outbound calls outside of the domain.

caller-id-namestring

This is the main caller id name for the user to be used for outbound calls outside of the domain.

area-codeinteger

This is a area code for the user. I will be used when user dial's 7 digits to translate it to full 10 or 11 digit number.

directory-name-visible-in-list-enabled'yes' | 'no'
emergency-address-idstring

Value will need to be an exact match to an address-id which links to a address for DLR (dynamic location routing) for emergency calling

music-on-hold-randomized-enabled'yes' | 'no'
active-calls-total-currentinteger

This read only setting is the current active call count for this user.

recording-configuration'yes' | 'yes-with-transcription' | 'yes-with-transcription-and-sentiment' | 'no'

Option whether to record calls or not. Available options are "yes", "yes-with-transcription", "yes-with-transcription-and-sentiment", or "no"

created-datetimestring date-time

This datetime is when the user was created.

last-modified-datetimestring date-time

This datetime is when the user was last modified.

Example request

{
  "language-token": "ca_FR",
  "caller-id-number": "18585551234"
}

Response

codeinteger required
messagestring required