MOH
Manage your MOH.
Update moh server
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
enabledbooleanOptional
Enable MOH service or not.
play_typestring · enumOptionalPossible values:
Set MOH personalized music by these modes:
DEFAULT_MUSIC:RANDOM_MUSIC_PER_CALL:RANDOM_MUSIC_PER_DAY:
Responses
200
OK
No content
4XX
Error
post
/moh_serverNo content
Create a MOH music.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
file_idall ofOptional
The unique ID of the file.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwResponses
201
Created MOH music
application/json
4XX
Error
post
/moh_server/musicsRetrieve a moh music.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idall ofRequired
The unique ID of MOH music.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwResponses
200
OK
application/json
4XX
Error
get
/moh_server/musics/{id}Delete a MOH music
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idall ofRequired
The unique ID of MOH music.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwResponses
204
No Content
4XX
Error
post
/moh_server/musics/{id}/destroyNo content
Last updated