API Call - History

Search Calls History

POST /v2/call/search

Body

Param
Type
Description

api_key

string

required

page

int

per_page

int

Default: 20, Min: 1, Max: 250

uuid

string

Return Single Call

transcript

boolean

Returns Transcripts

agents

array

[1,2,3,4]

direction

string

[inbound,outbound,inbound_voicemail,

outbound_voicemail]

phone_number

string

score

int

[Returns ===]

duration

int

[Returns ===]

start_date

date

YYYY-MM-DD

end_date

date

YYYY-MM-DD

show_all

boolean

(Default: false) Return both scored and unscored

show_unscored

boolean

(Default: false) Return only unscored

Response

{
  "current_page": 1,
  "per_page": 20,
  "total": 3408,
  "data": [
    {
      "agent_id": 1,
      "provider": "file",
      "uuid": "000000-000000-000000-000000-000000",
      "call_type": "inbound",
      "phone_number": "+44777777777",
      "duration": 332,
      "review_score": 0,
      "time_started": "2024-08-22 16:25:16",
      "updated_at": "2024-08-22T21:01:19.000000Z",
      "agent": {
        "id": 11,
        "name": "Agent",
        "department": "Sales",
        "phone_extension": "1000",
        "email_address": null
      },
      "speakers": {
        "A": "AGENT",
        "B": "CLIENT"
      },
      "metrics": [
        {
          "metric": "overall",
          "score": 0,
          "total_possible": 0,
          "good": [],
          "bad": [],
          "improve": []
        }
      ],
      "summary": "",
      "actions": [],
      "conversation": [
        {
          "speaker": "A",
          "text": ""
        },
        {
          "speaker": "B",
          "text": ""
        }
      ],
      "fillers": [
        {
          "A": {
            "well": 1,
            "right": 2
          },
          "B": []
        }
      ],
      "highlights": [
        {
          "text": "Highlight",
          "category": "Company Names",
          "total": 2
        }
      ],
      "talking": {
        "A": {
          "seconds": 155.96485200000006,
          "percentage": 84.41
        },
        "B": {
          "seconds": 28.809985000000005,
          "percentage": 15.59
        },
        "Silence": {
          "seconds": 115.51000000000002,
          "instances": 7
        }
      }
    }
  ]
}

Last updated