MOH

Manage your MOH.

Retrieve moh server

get

Retrieve moh server information.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get
/moh_server

Update moh server

post

Update moh server

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
enabledbooleanOptional

Enable MOH service or not.

play_typestring · enumOptional

Set MOH personalized music by these modes:

  • DEFAULT_MUSIC:
  • RANDOM_MUSIC_PER_CALL:
  • RANDOM_MUSIC_PER_DAY:
Possible values:
Responses
200

OK

No content

post
/moh_server

No content

List moh musics

get

Retrieve a collection of moh musics.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get
/moh_server/musics

Create a MOH music

post

Create a MOH music.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
file_idall ofOptional

The unique ID of the file.

stringOptional

The unique ID of the resource.

Example: NzAwNTUxOTA5NzczMTQ4MTYw
Responses
post
/moh_server/musics

Retrieve a moh music

get

Retrieve a moh music.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idall ofRequired

The unique ID of MOH music.

stringOptional

The unique ID of the resource.

Example: NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200

OK

application/json
get
/moh_server/musics/{id}

Delete a MOH music

post

Delete a MOH music

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idall ofRequired

The unique ID of MOH music.

stringOptional

The unique ID of the resource.

Example: NzAwNTUxOTA5NzczMTQ4MTYw
Responses
post
/moh_server/musics/{id}/destroy

No content

Last updated