Start Call

WebRTC is no longer supported with Omnichannel Livechat. To configure audio/video calls, see Omnichannel Audio/Video Call Configuration.

Start a WebRTC audio/video call in a room.

HTTP MethodURLRequires Auth

GET

/api/v1/livechat/webrtc.call

Permission required: view-l-room

Query Parameters

KeyExample ValueDescription

rid*

zRAeTszXor8CCPceB

The room ID.

Example Call

curl --location --request GET 'http://localhost:3000/api/v1/livechat/webrtc.call?rid=123abcxyz123\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'

Example Response

{
    "videoCall": {
        "rid": "123abcxyz123",
        "provider": "webrtc",
        "callStatus": "ringing"
    },
    "success": true
}

Last updated

Rocket.Chat versions receive support for six months after release.