Login History

This API is used for listing a user's login activity.

get
Login History

https://api.vaultoro.com/v1/private/history/logins
Request
Response
Request
Headers
VTOKEN
required
string
The API token
Query Parameters
until
optional
number
Timestamp for the end date of the results
limit
optional
number
Number of results per page
page
optional
number
The number of requested page.
sortDirection
optional
integer
The direction to sort by createdAt field. It can be either 1 or -1
since
optional
number
Timestamp for the beginning date of the results
Response
200: OK
{
"data": {
"results": [
{
"ts": 1618570442,
"ip": "::ffff:127.0.0.1",
"createdAt": "2021-04-16T10:54:02.000Z"
},
{
"ts": 1618781118,
"ip": "::ffff:127.0.0.1",
"createdAt": "2021-04-18T21:25:18.000Z"
},
{
"ts": 1618781546,
"ip": "::ffff:127.0.0.1",
"createdAt": "2021-04-18T21:32:26.000Z"
},
{
"ts": 1618842209,
"ip": "::ffff:127.0.0.1",
"createdAt": "2021-04-19T14:23:29.000Z"
},
{
"ts": 1618844021,
"ip": "::ffff:127.0.0.1",
"createdAt": "2021-04-19T14:53:41.000Z"
}
]
}
}

​