Links

Update Call Status

Update the call status of an existing WebRTC audio/video call.
HTTP Method
URL
Requires Auth
PUT
/api/v1/livechat/webrtc.call/:callId
yes
Permission required: view-l-room

Path Variables

Key
Example Value
Description
callId*
zRAeTszXor8CCPceB
The call message _id.

Body Parameters

Key
Example Value
Description
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 modified 5d ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.