Chat
The MediaVault API allows you to retrieve chat transcripts based on a specific call ID. This endpoint makes it easy to access and manage chat conversations associated with particular calls within your application.
GET /chat/by-call-id/{call_id}
Retrieve chat transcript based on call_id
Required Parameters
call_id string
call_id of the associated chat transcript
Request
curl -X 'GET' \
'https://api.mediavaultplus.com/chat/by-call-id/131604421973' \
-H 'accept: application/json'
Response
{
"isError": false,
"errorMessage": null,
"data": [
{
"call_id": null,
"transcript": null,
"datetime": "2024-07-12T16:41:34.1621349-05:00",
"party_type": "user1",
"label": null,
"room_id": "room1"
},
{
"call_id": null,
"transcript": null,
"datetime": "2024-07-12T16:42:34.1621455-05:00",
"party_type": "user1",
"label": null,
"room_id": "room1"
},
{
"call_id": null,
"transcript": null,
"datetime": "2024-07-12T16:43:34.1621471-05:00",
"party_type": "user1",
"label": null,
"room_id": "room1"
}
]
}