Create User in DomainAsk AIpost https://{server}/ns-api/v2/domains/{domain}/usersPath Paramsdomainstringrequiredlength ≤ 64Defaults to ~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.Body ParamssynchronousstringenumDefaults to noWhen 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.noyesnoAllowed:yesnouserstringrequiredThis is the main user extension for the user account.name-first-namestringrequiredThis is the first name for the username-last-namestringrequiredThis is the last name for the userlogin-usernamestringThis 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.email-addressstringrequiredThis is the email adresses or list of email addresses sepertaed with a semi-colon.user-scopestringenumrequiredDefaults to Basic UserThis is the scope that should be enforced in combination with the reseller, domain and user fields. it will be set using the scope used to create the subscription.Basic UserSimple UserAdvanced UserCall Center AgentSite ManagerCall Center SupervisorOffice ManagerResellerSuper UserNDPNo Portal Show 11 enum valuesdepartmentstringThis is the depertment that user belongs to in the domain. Can be any string to group users, a department is not require to be setup before in order to set it for a user.sitestringThis is the site or location for this user. The site will group users that are at the same phyiscal location, but can be used for other grouping purposes as well. New users will inherit some settings from the site if the site was previously setup. If the site is not previously created then a new site will be created with the value given on new user create assuming the domain's max sites setting has remaining sites.time-zonestringenumThe timezone which the meeting was created withPacific/TahitiUS/AlaskaUS/CentralUS/EasternUS/HawaiiUS/MountainUS/PacificAfrica/Addis_AbabaAfrica/AlgiersAfrica/BrazzavilleAfrica/CairoAfrica/CasablancaAfrica/DakarAfrica/Dar_es_SalaamAfrica/DjiboutiAfrica/JohannesburgAfrica/KhartoumAfrica/KigaliAfrica/KinshasaAfrica/LagosAfrica/NairobiAfrica/TimbuktuAfrica/TripoliAfrica/TunisAmerica/AntiguaAmerica/ArubaAmerica/BelizeAmerica/BogotaAmerica/Buenos_AiresAmerica/CancunAmerica/CaracasAmerica/CaymanAmerica/ChihuahuaAmerica/Costa_RicaAmerica/DenverAmerica/DetroitAmerica/EdmontonAmerica/El_SalvadorAmerica/EnsenadaAmerica/GrenadaAmerica/GuadeloupeAmerica/GuatemalaAmerica/HavanaAmerica/IndianapolisAmerica/JamaicaAmerica/JuneauAmerica/La_PazAmerica/LimaAmerica/Los_AngelesAmerica/LouisvilleAmerica/MartiniqueAmerica/MazatlanAmerica/MendozaAmerica/MenomineeAmerica/MeridaAmerica/Mexico_CityAmerica/MiquelonAmerica/MonctonAmerica/MonterreyAmerica/MontevideoAmerica/MontrealAmerica/MontserratAmerica/NassauAmerica/New_YorkAmerica/PanamaAmerica/PhoenixAmerica/Port-au-PrinceAmerica/Port_of_SpainAmerica/ReginaAmerica/SantiagoAmerica/Santo_DomingoAmerica/Sao_PauloAmerica/ThuleAmerica/Thunder_BayAmerica/TijuanaAmerica/TorontoAmerica/VancouverAmerica/WinnipegAmerica/YellowknifeAntarctica/South_PoleArctic/LongyearbyenAsia/AmmanAsia/BaghdadAsia/BahrainAsia/BangkokAsia/BeirutAsia/BruneiAsia/CalcuttaAsia/ColomboAsia/DaccaAsia/DamascusAsia/DhakaAsia/DubaiAsia/GazaAsia/Hong_KongAsia/IstanbulAsia/JakartaAsia/JerusalemAsia/KabulAsia/KatmanduAsia/Kuala_LumpurAsia/KuchingAsia/KuwaitAsia/MacauAsia/ManilaAsia/MuscatAsia/Phnom_PenhAsia/RangoonAsia/RiyadhAsia/SaigonAsia/SeoulAsia/ShanghaiAsia/SingaporeAsia/TaipeiAsia/TehranAsia/Tel_AvivAsia/ThimphuAsia/TokyoAsia/Ulan_BatorAsia/VientianeAsia/VladivostokAtlantic/AzoresAtlantic/BermudaAtlantic/CanaryAtlantic/Cape_VerdeAtlantic/FaeroeAtlantic/ReykjavikAustralia/ACTAustralia/AdelaideAustralia/BrisbaneAustralia/CanberraAustralia/DarwinAustralia/LHIAustralia/MelbourneAustralia/NorthAustralia/NSWAustralia/PerthAustralia/QueenslandAustralia/SouthAustralia/SydneyAustralia/TasmaniaAustralia/VictoriaAustralia/WestCanada/AtlanticCanada/CentralCanada/EasternCanada/MountainCanada/NewfoundlandCanada/PacificCanada/SaskatchewanCanada/YukonCubaEtc/GMTEtc/GMT+1Etc/GMT+10Etc/GMT+11Etc/GMT+12Etc/GMT+2Etc/GMT+3Etc/GMT+4Etc/GMT+5Etc/GMT+6Etc/GMT+7Etc/GMT+8Etc/GMT+9Etc/GMT-1Etc/GMT-10Etc/GMT-11Etc/GMT-12Etc/GMT-13Etc/GMT-14Etc/GMT-2Etc/GMT-3Etc/GMT-4Etc/GMT-5Etc/GMT-6Etc/GMT-7Etc/GMT-8Etc/GMT-9Etc/GreenwichEurope/AmsterdamEurope/AthensEurope/BelfastEurope/BelgradeEurope/BerlinEurope/BrusselsEurope/BucharestEurope/BudapestEurope/CopenhagenEurope/DublinEurope/HelsinkiEurope/IstanbulEurope/KievEurope/LisbonEurope/LjubljanaEurope/LondonEurope/MadridEurope/MaltaEurope/MonacoEurope/MoscowEurope/OsloEurope/ParisEurope/PragueEurope/RomeEurope/SofiaEurope/StockholmEurope/ViennaEurope/WarsawEurope/ZurichGreenwichPacific/AucklandPacific/EasterPacific/FijiPacific/GalapagosPacific/GambierPacific/GuamPacific/HonoluluPacific/MarquesasPacific/MidwayPacific/PalauPacific/RarotongaPacific/TahitiShow 221 enum valuesvoicemail-login-pinintegerThis is the numberic pin that would be used by the user validating their account when connecting into voice IVR to check voicemail.privacystringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnodial-planstringThis 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-policystringThis 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.status-messagestringThis is is a value that is often set by the end user to show their current status, often a away message of some kind.directory-name-number-dtmf-mappinginteger100 to 999This is a 3 digit numberic mapping that correlates to the first 3 digits of a user's first or last name for dial by name directory. Example Smith would be "764" translating the letters to numbers using the normal phone number mappings.voicemail-user-control-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnophone-numbers-to-allow-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnophone-numbers-to-reject-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnocall-screening-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnoring-no-answer-timeout-secondsinteger0 to 3600This time setting in seconds will controll how long a inbound call attempt will attempt to connect the call before stopping and attempting the next option which might be a forward setting in answer rules or voicemail if enabled.language-tokenstringDefaults to en_USThis is the language that is set for the user to be used for portal viewing.limits-max-data-storage-kilobytesinteger≥ 0This 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-totalinteger0 to 3600This is the maximum number of active calls allowed for the user.directory-annouce-in-dial-by-name-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnodirectory-override-order-duplicate-dtmf-mappinginteger0 to 100This value can be used in cases where multiple users have the same value for directory-name-number-dtmf-mapping, if they are the same then use this setting to set the order low to high for playback in dial by name directory menu.voicemail-greeting-indexinteger≥ 0This is the index of the greeting that is enabled currently for the user. Greeting 0 is the generic "[name] is not available" message will be played.voicemail-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnovoicemail-receive-broadcast-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnoreject-anonymous-calls-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnovoicemail-playback-announce-datetime-receivedstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnovoicemail-playback-announce-caller-idstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnovoicemail-playback-sort-newest-to-oldeststringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnoemail-send-alert-new-voicemail-cc-list-csvstringThis list of user's which will be forward copies of new voicemails left on that user.email-send-alert-new-voicemail-behaviorstringenumDefaults to noThis is the behavior that the voicemail logic will take after a voicmail is left. The options include ability to send with attachements or hyperlinks.noyesattnewattsaveatttrashbriefbriefattnewbriefattsavebriefatttrashShow 9 enum valuesemail-send-alert-new-voicemail-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnoemail-send-alert-new-missed-call-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnoemail-send-alert-data-storage-limit-reached-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnocaller-id-numberinteger≥ 10This is the main caller id number for the user to be used for outbound calls outside of the domain.caller-id-namestringThis is the main caller id name for the user to be used for outbound calls outside of the domain.caller-id-number-emergencyinteger≥ 10This is the main caller id that will be used for emergency calls when placed by the user.area-codeinteger100 to 999This 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-enabledstringenumDefaults to yesThis allows any added configurations to specify a hostname. Default to "yes"yesnoAllowed:yesnoservice-codestringService codes are for internal use that allow user's to be tagged for billing and tracking purposes. Any service code starting with "system-" will be hidden by default in the portals and not count as regular users.voicemail-transcription-enabledstringenumDefaults to noEnable this setting and select a vendor if you wish to have voicemails transcripted after a voicemail is recorded.noDeepgramGoogleMutareVoicebaseAllowed:noDeepgramGoogleMutareVoicebaseemergency-address-idstringValue will need to be an exact match to an address-id which links to a address for DLR (dynamic location routing) for emergency callingcall-recordings-hide-from-others-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnomusic-on-hold-randomized-enabledstringenumDefaults to noThis will enable IP checking. Default is noyesnoAllowed:yesnomusic-on-hold-comfort-message-repeat-interval-secondsinteger0 to 3600This interval will control how frequently the music on hold would be interupted and have messages played. Should be used when using music on hod and custom messages.recording-configurationstringenumDefaults to noOption whether to record calls or not. Available options are "yes", "yes-with-transcription", "yes-with-transcription-and-sentiment", or "no"yesyes-with-transcriptionyes-with-transcription-and-sentimentnoAllowed:yesyes-with-transcriptionyes-with-transcription-and-sentimentnoHeadersacceptstringenumDefaults to application/jsonGenerated from available response content types*/*application/jsonAllowed:*/*application/jsonResponses 200Success 202Accepted 400Bad Request 401Authentication Required 404Record not found 409DuplicateUpdated 11 months ago