Skip to main content

Fetching Logs

The GET /v3/telesign endpoint is used to fetch TeleSign logs.

GET /v3/telesign?pageNumber=1&pageSize=10&sortBy=id&sortDirection=descending&fromDate=2020-01-01&toDate=2024-01-01
Authorization: Basic ${ base64(apiKey + ':' + secretKey) }
ParameterRequiredDescription
pageNumberNoWhich page to fetch. Defaults to 1.
pageSizeNoThe size of the page. Can be no more than 100. Defaults to 10.
sortByNoWhich property to sort the results by. Can be one of: 'id', 'dateTime', 'autoDeleteDate'. Defaults to 'id'.
sortDirectionNoCan be one of: 'ascending', 'descending'. Defaults to 'ascending'.
fromDateNoA date in 'yyyy-MM-dd' format of which all returned TeleSign sessions will have been initialized after.
toDateNoA date in 'yyyy-MM-dd' format of which all returned TeleSign sessions will have been initialized before.

Response example:

HTTP/2.0 200 OK
{
"data": [
{
"id": "1668b9da-bff1-4dfc-ad48-60507b5a8d12",
"startedAt": "2022-01-26 13:05:40",
"autoDeleteDate": "2022-07-25",
"agent": {
"name": "Firstname Lastname"
},
"user": {
"ssn": "YYYYMMDDXXXX",
"country": "SWEDEN",
"name": "Firstname Lastname"
},
"signing": {
"provider": "BANKID_SE",
"certStartDate": "2022-01-04",
"orderRef": "f4c1d82e-e396-4c8b-bc52-5151bc019da5"
"text": "abc",
"hash": "f4c1d82e-e396-4c8b-bc52-5151bc019da5"
}
}
],
"totalPages": 1,
"totalElements": 1,
"numberOfElements": 1
}