API integration
  • 13 Feb 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

API integration

  • Dark
    Light
  • PDF

You can get API Token in two ways:

Option 1:

Connect via API directly:

  1. Using your TL credentials, login to this endpoint: https://multi-api-v3.tellq.io/api/client/auth/login
  2. Open devTools and "requests" section see token "Bearer xxxxxxxxxxxxxxxxxxx"
  3. Enter API token at https://multi-api-v3.tellq.io/client/api/documentation "Authorize":

image.png

  1. Use this Token to get info needed, f.i.: https://multi-api-v3.tellq.io/api/client/calls?from=2021-12-01&to=2021-12-03

Option 2:

  1. Open https://multi-api-v3.tellq.io/client/api/documentation
  2. Enter TL credentials at /auth/login -> click Execute

/auth/login
endpoint sends response in this format:
"data": {
"token": "Bearer xxxxxxxxxxxxxxxxxx"
}

image.png

  1. Enter API token at https://multi-api-v3.tellq.io/client/api/documentation "Authorize:

image.png

Calls info via API:

Send request with one / or more of these parameters:
Date, Agents, Phoneline.

Receive a response:

{
"id": 1211,
"phoneline_name": "000000000",
"total_calls": 10,
"inbound_calls": 6,
"outbound_calls": 4,
"transferred_calls": 0,
"total_talking_time": 0,
"inbound_talk_time": 0,
"avg_call_duration": null,
"avg_handling_time": null
}