Skip to main content

GET методы речевой аналитики записанных разговоров

GETМетод: Отправить запись звонка на AI-анализ



https://cld.alovoice.uz/callsendai/YOUR_TOKEN/CALL_ID
Example Request (curl)

curl --location 'https://cld.alovoice.uz/callsendai/YOUR_TOKEN/CALL_ID'
200 OK
Example Response

json
{
  "answer": {
    "begin_time": 1716209468,
    "aicallid": "664b4741bfsssa0ssdf2757ef7",
    "stereoaudio": "/stereo/CALL_ID"
  }
}
Headers (9)
Server nginx
Date Wed, 22 May 2024 06:20:56 GMT
Content-Type application/json; charset=utf-8
Content-Length 1674
Connection keep-alive
X-Powered-By Express
Access-Control-Allow-Origin *
ETag W/"68a-ltGHghH0LqScAJEW6o3W/k0iw+o"
X-Frame-Options ALLOWALL

GET Метод: Получить результаты анализа AI записи звонка

https://cld.alovoice.uz/callgetairesult/YOUR_TOKEN/CALL_ID
Example Request (curl)
curl --location 'https://cld.alovoice.uz/callgetairesult/YOUR_TOKEN/CALL_ID'

200 OK

Example Response
json
{
  "answer": {
    "begin_time": 1716207617,
    "aicallid": "664b400ccccc3235a7cd17f",
    "stalk": [
      {
        "begin": 1120,
        "end": 2960,
        "direction": "operator",
        "text": "assalomu alaykum",
        "fragment_id": "664b423209f8892adba7206f"
      },
      {
        "begin": 4720,
        "end": 6280,
        "direction": "client",
        "text": "assalomu alaykum",
        "fragment_id": "664b423209f8892adba72070"
      }
    ],
    "tags": [
      {
        "name": "Нет представления компании",
        "value": "",
        "visible": null,
        "tag_type": "rule"
      },
      {
        "name": "Нет дополнительной информации",
        "value": "",
        "visible": null,
        "tag_type": "rule"
      },
      {
        "name": "Приветсвие",
        "value": "Приветствие",
        "visible": null,
        "tag_type": "rule",
        "begin": 1120,
        "end": 2960,
        "match_text": "assalomu alaykum",
        "fragment_id": "664b423209f8892adba7206f"
      },
      {
        "name": "Прощание",
        "value": "Прощание",
        "visible": null,
        "tag_type": "rule",
        "begin": 233800,
        "end": 235880,
        "match_text": "salomat bo'ling",
        "fragment_id": "664b423209f8892adba7208f"
      },
      {
        "name": "Прощание",
        "value": "Прощание",
        "visible": null,
        "tag_type": "rule",
        "begin": 233800,
        "end": 235880,
        "match_text": "salomat",
        "fragment_id": "664b423209f8892adba7208f"
      }
    ],
    "stereoaudio": "/stereo/CALL_ID"
  }
}