Update Call Status

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

Update the call status of an existing WebRTC audio/video call.

HTTP MethodURLRequires Auth

PUT

/api/v1/livechat/webrtc.call/:callId

Permission required: view-l-room

Path Variables

KeyExample ValueDescription

callId*

zRAeTszXor8CCPceB

The call message _id.

Body Parameters

KeyExample ValueDescription

rid*

abc123xyzabc

The room ID.

status*

ended

The status of the call.

Example Call

curl --location --request GET 'http://localhost:3000/api/v1/livechat/webrtc.call/zRAeTszXor8CCPceB\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name' \
-d '{ 
    "rid": "abc123xyzabc", 
    "status": "ended" 
}'

Example Response

{
    "status": "ended",
    "success": true
}

Last updated

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