Update Members
In order to get the call quality metrics in post call analytics the user has to update the members in the call as agent and user
curl --location --request POST 'https://streams.marsview.ai/rb/v1/streams/update_call_members' \
--header 'Authorization: Bearer <AccessToken>' \
--header 'Content-Type: application/json' \
--data-raw '{
"txnId" : "<txnId of the call>",
"members" : [{"agent": <agent channelId>}, {"user" : <user channelId>}]
}'
The member data is updated if the server responds with a 200 status code and the
status
is set to True
in the JSON response{
"status": true,
"data": {
"status": true,
"data": {
"status": true,
"message": "updated members"
}
}
}
Last modified 1yr ago