2.5.c) AI Calls transcription via API
To get the conversation sentiment / summary / transcription via the API, follow these steps:
- Log in at: https://multi-api-v3.tellq.io/client/api/documentation
- Send a GET request to:
/api/client/calls/{call_id}/transcription, -> you will get a transcription.
Response example:
{
"status": "success",
"status_code": 200,
"message": "Transcription found",
"data": {
"transcription": [
{
"speaker": "AGENT",
"timestamp": 0,
"text": " πππ",
"agent_id": 2
},
{
"speaker": "CLIENT",
"timestamp": 0,
"text": " π΅π΅π΅",
"contact_id": 318
}
],
"summary": {
"text": "Pokalbyje buvo tik emociniai simboliai, be verbalinΔs komunikacijos.",
"text_translated": null,
"translation_language": null
},
"sentiment": "neutral"
}
}
β¦ If the Call has transcription, you will see additional parameter transcription to the endpoints: /api/client/calls and /api/client/calls/{call_id}:
"transcription": [
{
"speaker": "AGENT",
"timestamp": 0,
"text": " πππ",
"agent_id": 2
},
{
"speaker": "CLIENT",
"timestamp": 0,
"text": " π΅π΅π΅",
"contact_id": 318
}
],
"summary": {
"text": "Pokalbyje buvo tik emociniai simboliai, be verbalinΔs komunikacijos.",
"text_translated": null,
"translation_language": null
},
"sentiment": "neutral"
}