Call Logs
GET https://video-agent.8x8.com//api/v1/call-logs
This API endpoint allows to retrieve information related to past calls. You need to use the Token API first to create an Authorization Token. You can to list the calls during a time period or with a specific Call_Reference or Phone_Number.
Example 1:
curl -X POST https://video-agent.8x8.com//api/v1/call-logs \
-H "Content-Type: application/json" \
-H x-token: YourAuthToken' \
Example 2:
curl -X POST
https://video-agent.8x8.com/api/v1/call-logs?from=yyyy-mm-dd&to=yyyy-mm-dd&q=12345&cursor=5757 \
-H "Content-Type: application/json" \
-H x-token: YourAuthToken' \
Request
Query Parameters
from date
Default value:
yyyy-mm-dd
to date
Default value:
yyyy-mm-dd
q string
cursor string
Header Parameters
Content-Type stringrequired
Default value:
application/json
x-token stringrequired
Default value:
{YourAuthToken}
Schema
{
"prevCursor":"5775",
"nextCursor":null,
"list":[
{
"CallId":"5774",
"UserB_MSISDN":"639215074178",
"CreatedAt":"2019-02-05T07:19:28.850Z",
"FinishedAt":"2019-02-05T07:24:50.170Z",
"Duration":25,
"Status":"E",
"CountryISO2alpha":"PH",
"Reference":"ffdsfsfsf",
"Location":null
},
{
"CallId":"5756",
"UserB_MSISDN":"null,",
"CreatedAt":"2019-02-04T04:00:26.250Z",
"FinishedAt":null,
"Duration":0,
"Status":"C",
"CountryISO2alpha":"“SG”",
"Reference":"mdopyomn",
"Location":null
}
]
}
Source: https://developer.8x8.com/connect/reference/call-log · 8x8 CPaaS Developer Docs. Synced for support deflection.
Please sign in to leave a comment.
0 Comments