-
Print
-
DarkLight
-
PDF
You can get API Token in two ways:
Option 1:
Connect via API directly:
- Using your TL credentials, login to this endpoint: https://multi-api-v3.tellq.io/api/client/auth/login
- Open devTools and "requests" section see token "Bearer xxxxxxxxxxxxxxxxxxx"
- Enter API token at https://multi-api-v3.tellq.io/client/api/documentation "Authorize":
- 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:
- Open https://multi-api-v3.tellq.io/client/api/documentation
- Enter TL credentials at /auth/login -> click Execute
/auth/login
endpoint sends response in this format:
"data": {
"token": "Bearer xxxxxxxxxxxxxxxxxx"
}
- Enter API token at https://multi-api-v3.tellq.io/client/api/documentation "Authorize:
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
}