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 |
Permission required:
view-l-room
Key | Example Value | Description |
---|---|---|
callId * | zRAeTszXor8CCPceB | The call message _id . |
Key | Example Value | Description |
---|---|---|
rid * | abc123xyzabc | The room ID. |
status * | ended | The status of the 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"
}'
{
"status": "ended",
"success": true
}
Last modified 5d ago