Audio & Video Chat
  • 16 Jun 2022
  • 1 Minute to read
  • Dark
    Light

Audio & Video Chat

  • Dark
    Light

Article summary

Audio & Video Chat

You need the Manage Settings permission to manage Audio & Video Chat.

Audio & Video Chat JSON Format

Audio & Video Chat is represented as simple flat JSON objects with the following keys:

NameTypeDescription
isEnabledboolWhether this audio & video chat is enabled or not.
isAutomaticallyRecordingAudioVideoChatsEnabledboolWhether the automatically recording of this audio & video chat is enabled or not.
recordingServerUrlstringThe URL of recording server.

Get a single Audio & Video Chat

GET livechat/audioVideoChatConfig

  • Parameters:

No Parameters

  • Response:

Audio & Video Chat

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/audioVideoChatConfig \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "isEnabled": false,
  "isAutomaticallyRecordingAudioVideoChatsEnabled": false,
  "recordingServerUrl": "http://google.com"
} 

Disable the Audio & Video Chat

POST livechat/audioVideoChatConfig:disable

  • Parameters:

No Parameters

  • Response:

Audio & Video Chat

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/audioVideoChatConfig:disable \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "isEnabled": false,
  "isAutomaticallyRecordingAudioVideoChatsEnabled": false,
  "recordingServerUrl": "http://google.com"
} 

Enable the Audio & Video Chat

POST livechat/audioVideoChatConfig:enable

  • Parameters:

No Parameters

  • Response:

Audio & Video Chat

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/audioVideoChatConfig:enable \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "isEnabled": true,
  "isAutomaticallyRecordingAudioVideoChatsEnabled": false,
  "recordingServerUrl": "http://google.com"
} 

Update the Audio & Video Chat

PUT livechat/audioVideoChatConfig

  • Parameters:

NameTypeinRequiredDescription
isEnabledboolbodynoWhether this audio & video chat is enabled or not.
isAutomaticallyRecordingAudioVideoChatsEnabledboolbodynoWhether the automatically recording of this audio & video chat is enabled or not.
recordingServerUrlstringbodyyesThe URL of recording server.
  • Response:

Audio & Video Chat

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/audioVideoChatConfig \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"isEnabled":false,"isAutomaticallyRecordingAudioVideoChatsEnabled":false,"recordingServerUrl":"http://google.com"}' 

Response:

HTTP/1.1 200 OK

{
  "isEnabled": false,
  "isAutomaticallyRecordingAudioVideoChatsEnabled": false,
  "recordingServerUrl": "http://google.com"
} 

Was this article helpful?