v1

latestOpenAPI 3.0.32026-07-24156161.2 MB
Speech Recognition

Get Speech for call id

Use the Get speech for call id if you want to get the transcription of call, specified by the call id. You should send the call id as a variable in the request.

Response Body

  • data (object)

    • remote_identifier (string): Remote identifier.

    • created_at (string): Date and time of creation.

    • language (string): Language used in the call.

    • plain_body (string): Plain body of the call.

    • sentiment (float): call rank (score) between 0 - 1. assess the quality and value of the call.

    • summary (String): AI Summary analyzes call transcripts to generate concise summaries.

    • phrases (array): Array of phrases detected in the call.

      • phrase (string): Detected phrase.

      • start_at (integer): Start time of the phrase.

      • end_at (integer): End time of the phrase.

      • channel (integer): Channel of the phrase.

    • metadata (object)

      • channel_id (string): fetch calls that created for specific speech channel.
    • status (string): Status of the call.

    • message (string): Additional message related to the call.

**Important: The token used to create the speech transcription for a call will be the only token authorized to retrieve the speech recognition results.

get/speech-recognition/{call_id}

Response

Get Speech for call

Example response

{
  "data": {
    "created_at": "2025-03-29 14:35:00",
    "entities": {
      "ORGANIZATION": [
        "PaperPlus"
      ],
      "PERSON": [
        "John"
      ]
    },
    "entities_list": [
      "John",
      "PaperPlus",
      "membership",
      "discount",
      "payment"
    ],
    "language": "en-US",
    "metadata": {
      "channel_id": "1",
      "tenant_id": "1",
      "uuid": "d2f1e6c0-1a3b-11ee-bf36-0242ac120002"
    },
    "phrases": [
      {
        "channel": 1,
        "end_at": 8,
        "phrase": "Hello, this is John from PaperPlus. I wanted to talk to you about our annual membership.",
        "start_at": 2
      },
      {
        "channel": 2,
        "end_at": 15,
        "phrase": "Oh, I'm interested, but do you offer any discounts?",
        "start_at": 10
      },
      {
        "channel": 1,
        "end_at": 22,
        "phrase": "Yes, I can offer you a 5% discount if you subscribe today.",
        "start_at": 18
      },
      {
        "channel": 2,
        "end_at": 30,
        "phrase": "Hmm, that sounds reasonable. Okay, I'll go ahead with it.",
        "start_at": 25
      },
      {
        "channel": 1,
        "end_at": 38,
        "phrase": "Great! I’ll process your payment now, and your membership will be activated shortly.",
        "start_at": 33
      }
    ],
    "plain_body": "Hello, this is John from PaperPlus. I wanted to talk to you about our annual membership.\nOh, I'm interested, but do you offer any discounts?\nYes, I can offer you a 5% discount if you subscribe today.\nHmm, that sounds reasonable. Okay, I'll go ahead with it.\nGreat! I’ll process your payment now, and your membership will be activated shortly.",
    "remote_identifier": "84920",
    "sentiment": 0.85,
    "sentiment_description": "The conversation was positive and professional. The agent successfully addressed the lead’s concern about discounts and provided a suitable offer. The lead responded favorably and completed the purchase, indicating a successful sales interaction.",
    "status": "success",
    "summary": "The agent introduced an annual membership offer, and the lead inquired about available discounts. The agent provided a 5% discount, which convinced the lead to proceed with the purchase. The payment was processed, and the membership was activated successfully."
  }
}