- TODO LIST
- Version
- Authentication
- Access Token (Oauth - Username/Password)
- API Key (Machine 2 Machine)
- JWT (JSON Web Token)
- Event Subscriptions
- Resellers
- Domains
- Phone Numbers
- Users
- Devices
- Phones/Macs
- Sites
- Call Center
- Answer Rules
- Call Blocking
- Auto Attendant
- Media
- Voicemail
- Greetings
- Read Greetings for User
- Read Specific Greeting for User
- Delete Specific Greeting for User
- Create a new Greeting from TTS
- Update Greeting with TTS script
- Create a new Greeting from Upload (JSON + Base64 File)
- Update Greeting from Upload (JSON + Base64 File)
- Create a new Greeting from Upload (Multipart/Mixed Post)
- Update Greeting from Upload (Multipart/Mixed Post)
- Music on Hold
- Domain
- Read MOH for Domain
- Create a new MOH for Domain from TTS
- Update MOH for Domain from TTS
- Create a new MOH for Domain from Upload (JSON + Base64 File)
- Update MOH for Domain from Upload (JSON + Base64 File)
- Create a new MOH for Domain from Upload (Multipart/Mixed Post)
- Update MOH for Domain from Upload (Multipart/Mixed Post)
- Delete MOH for Domain
- User
- Read MOH for User
- Create a new MOH for Domain from TTS
- Create a new MOH for User from Upload (JSON + Base64 File)
- Update MOH for User from Upload (JSON + Base64 File)
- Update MOH for Domain from TTS
- Create a new MOH for User from Upload (Multipart/Mixed Post)
- Update a MOH for User from Upload (Multipart/Mixed Post)
- Delete MOH for User
- Domain
- Hold Messages
- Text to Speech
- CDR (Call History)
- Transcriptions & Sentiment
- Call Traces & Cradle to Grave
- Calls (live/active calls)
- Contacts
- Addresses
- Get Addresses for Domain
- Validate Address
- Create Address for Domain
- Update Address for Domain
- Update Address for User
- Update Address Endpoint
- Create Address for User
- Delete Address For User
- Delete Address Endpoint
- Delete Address For Domain
- Create Address Endpoint
- Get Address Endpoints for a Domain
- Get Addresses Count for Domain
- Get Addresses for User
- Get Address Using Address ID
- Voicemail Reminders
- Dialrule
- Messages
- Get Messagesessions for Domain
- Start a new Message Session
- Get Messagesessions for User
- Get Messages for Messagesession
- Send a message (Chat)
- Send a message (Group Chat)
- Send a message (Media Chat)
- Send a message (SMS)
- Send a message (Group SMS)
- Send a message (MMS)
- Update Messagesession (Participants)
- Update Messagesession (Session Name)
- Update Messagesession (Leave)
- Delete Messagesession
- SMS Numbers
- Recordings
- Email
- Connections
- Routes
- Meetings
- Event Logs
- Iotum
- Read Iotum Video Domain Resellers
- Read Iotum Video Host
- Read All Iotum Video Hosts in a Domain
- Read Iotum Video Host Conferences
- Read Iotum Video Host Contacts
- Read Iotum Video Company
- Read Iotum Video Company Products
- Read Iotum Video Available Products
- Create a Host
- Create Host Contacts
- Create Iotum Video Subscription
- Update Domain's Iotum Company
- Update Domain's Iotum Subscriptions
- Update User's Iotum Host
- Delete Iotum Video Subscription
- Delete a Host
- Create Iotum Video Company
- Create a Ad-hoc Conference
- Delete a Video Company
- Create a Meeting with Id
- Create a Meeting
- Read Meeting
- Count Domains Meetings
- Count Meeting
- Register Meeting
- Update a Meeting
- Delete a Meeting
- Request a Meeting ID
- Read Meetings for User
- Backup & Restore
- Configs
- Images
- Templates
- Timeframes
- Domain (Shared)
- User
- Holiday Information
- Firebase
- SSL Certificates
Create a Domain
POST
/domains
Last modified:2023-12-21 20:51:58
OperationId:CreateDomain
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
synchronous
enum<string>Â
write-onlyoptional
Allowed values:
yesno
Default:
no
domain
stringÂ
required
<= 64 characters
Examples:
example.commyDomaintest.12123
Match pattern:
^[A-Za-z0-9._-]+|\*
reseller
stringÂ
required
description
stringÂ
optional
music-on-hold-enabled
enum<string>Â
optional
Allowed values:
yesno
music-on-ring-enabled
enum<string>Â
optional
Allowed values:
yesno
music-on-hold-randomized-enabled
enum<string>Â
optional
Allowed values:
yesno
domain-type
enum<string>Â
optional
Allowed values:
StandardResidentialHospitality
dial-plan
stringÂ
optional
dial-policy
stringÂ
optional
email-send-from-address
stringÂ
optional
single-sign-on-enabled
enum<string>Â
optional
Allowed values:
yesno
area-code
numberÂ
optional
>= 100<= 999
Example:
858
caller-id-name
stringÂ
optional
caller-id-number
numberÂ
optional
Example:
18005551234
caller-id-number-emergency
numberÂ
optional
Example:
18005551234
limits-max-subcriber-resources-total
integerÂ
optional
limits-max-active-calls-total
integerÂ
optional
limits-max-active-calls-offnet
integerÂ
optional
limits-max-call-queues
integerÂ
optional
limits-max-auto-attendants
integerÂ
optional
limits-max-conferences
integerÂ
optional
limits-max-departments
integerÂ
optional
limits-max-users
integerÂ
optional
limits-max-sites
integerÂ
optional
limits-max-fax-accounts
integerÂ
optional
time-zone
enum<string>Â
optional
Allowed values:
US/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/Tahiti
email-send-smtp-hostname
string <hostname> | nullÂ
optional
email-send-smtp-port
string  | nullÂ
optional
email-send-smtp-username
string  | nullÂ
optional
email-send-smtp-password
string <pass> | nullÂ
optional
emergency-address-id
string  | nullÂ
optional
voicemail-enabled
enum<string>Â
optional
Allowed values:
yesno
recording-configuration
enum<string>Â
optional
Allowed values:
yesyes-with-transcriptionyes-with-transcription-and-sentimentno
Default:
no
voicemail-transcription-enabled
enum<string>Â
optional
Allowed values:
noDeepgramGoogleMutareVoicebase
Default:
no
language-token
stringÂ
optional
Default:
en_US
Examples:
es_MXen_CA
is-domain-locked
enum<string>Â
optional
Allowed values:
yesno
is-stir-enabled
enum<string>Â
optional
Allowed values:
yesno
is-ivr-forward-change-blocked
enum<string>Â
optional
Allowed values:
yesno
Example
{
"synchronous": "no",
"domain": "{{domain}}",
"reseller": "{{reseller}}",
"description": "This is a example in reseller {{reseller}}.",
"time-zone": "US/Pacific",
"language": "en_US",
"single-sign-on-enabled": "yes",
"area-code": "858",
"caller-id-name": "{% faker company.name %}",
"caller-id-number": "{% faker datatype.number %}{% faker datatype.number %}",
"caller-id-number-emergency": "{% faker datatype.number %}{% faker datatype.number %}",
"dial-policy": "US and Canada",
"music-on-hold-enabled": "yes",
"music-on-hold-randomized-enabled": "yes"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://awqacore01.crexendocloud.com/ns-api/v2/domains' \
--header 'Content-Type: application/json' \
--data-raw '{
"synchronous": "no",
"domain": "{{domain}}",
"reseller": "{{reseller}}",
"description": "This is a example in reseller {{reseller}}.",
"time-zone": "US/Pacific",
"language": "en_US",
"single-sign-on-enabled": "yes",
"area-code": "858",
"caller-id-name": "{% faker company.name %}",
"caller-id-number": "{% faker datatype.number %}{% faker datatype.number %}",
"caller-id-number-emergency": "{% faker datatype.number %}{% faker datatype.number %}",
"dial-policy": "US and Canada",
"music-on-hold-enabled": "yes",
"music-on-hold-randomized-enabled": "yes"
}'
Responses
🟢202Accepted
application/json
Body
code
integerÂ
required
message
stringÂ
required
Example
{
"code": 0,
"message": "string"
}
🟠409Domain Already Exists
🟢200OK
🟠404Record not found
🟠400Bad Request
🟠401Authentication Required
Modified at 2023-12-21 20:51:58