- 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 UserGET
- Create a new MOH for Domain from TTSPOST
- Create a new MOH for User from Upload (JSON + Base64 File)POST
- Update MOH for User from Upload (JSON + Base64 File)PUT
- Update MOH for Domain from TTSPUT
- Create a new MOH for User from Upload (Multipart/Mixed Post)POST
- Update a MOH for User from Upload (Multipart/Mixed Post)PUT
- Delete MOH for User DELETE
- 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
Read MOH for User
GET
/domains/{domain}/users/{user}/moh
Last modified:2023-12-21 20:52:14
OperationId:ReadMohUser
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
domain
stringÂ
required
Example:
{{domain}}
user
stringÂ
required
Example:
{{user}}
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 -g --request GET 'https://awqacore01.crexendocloud.com/ns-api/v2/domains/{{domain}}/users/{{user}}/moh'
Responses
🟢200OK
application/json
Body
array of:
filename
stringÂ
optional
ordinal-order
integerÂ
optional
file-duration-seconds
integerÂ
optional
file-size-kilobytes
stringÂ
optional
created-datetime
stringÂ
optional
file-access-url
stringÂ
optional
file-script-text
stringÂ
optional
file-source
stringÂ
optional
text-to-speech-voice-id
stringÂ
optional
Default:
en-US-Wavenet-C
text-to-speech-language
stringÂ
optional
Default:
en_US
FromName
stringÂ
optional
FromUser
stringÂ
optional
FromHost
stringÂ
optional
NmsAni
stringÂ
optional
recorded-datetime
stringÂ
optional
NmsRecStartTime
stringÂ
optional
NmsRecDuration
stringÂ
optional
TimeZone
stringÂ
optional
transcription
stringÂ
optional
Example
[
{
"filename": "vm-20230306200014008354-6cc082866aafdc5dee7a480c2d339c76.wav",
"index": "vm-20230306200014008354-6cc082866aafdc5dee7a480c2d339c76",
"length": "19",
"filesize": "145.67 KB",
"filedate": "2023-05-16 23:31:54",
"remotepath": "https://vb.netsapiens.com/ns-api/?object=audio&action=play&domain=portal&user=2000&type=vmail&time=20230725164140&auth=0b42df426f8e0b56713e7353a5a4e160&file=vm-20230306200014008354-6cc082866aafdc5dee7a480c2d339c76.wav",
"moh_script": "",
"source_type": "",
"voice_id": "",
"voice_language": "",
"FromName": "Site Manager",
"FromUser": "1005",
"FromHost": "portal",
"NmsAni": "1005wp",
"RecordTime": "2023-03-06 20:00:34",
"NmsRecStartTime": "2023-03-06 20:00:22",
"NmsRecDuration": "9",
"TimeZone": "US/Pacific",
"transcription": "Hello. This is Chris. This is a test message. Please give me a callback. 8 5 8 7 6 4 5 2 2 6. Thank you. "
}
]
🟠404Record not found
🟠400Bad Request
🟠401Authentication Required
Modified at 2023-12-21 20:52:14