List activity history
GET
/v1/account/activity
const url = 'https://api.parasta.io/v1/account/activity?type=login&page=1&size=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.parasta.io/v1/account/activity?type=login&page=1&size=20' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” type
string
from
string format: date-time
to
string format: date-time
page
integer
size
integer
Responses
Section titled “ Responses ”OK
Media type application/json
object
page
integer
size
integer
totalCount
integer
items
Array<object>
object
id
string
type
string
description
string
method
string
deviceInfo
string
ipAddress
string
createdAt
string format: date-time
Example generated
{ "page": 1, "size": 1, "totalCount": 1, "items": [ { "id": "example", "type": "example", "description": "example", "method": "example", "deviceInfo": "example", "ipAddress": "example", "createdAt": "2026-04-15T12:00:00Z" } ]}