Admin
Get activity logs for a user
Retrieve activity logs for a specific user.
get/admin/activity-logs/user/{user_id}
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/admin/activity-logs/user/{user_id}
- Auth: HTTP bearer
Path parameters
user_idstring uuid required
Example:44bd21ad-4262-45b7-b6fe-0f6ddf85bdbf
Query parameters
limitnumber nullable
pagenumber nullable
order_by'asc' | 'desc'
sort_bystring
include_archived'true' | 'false'
skip_pagination'true' | 'false'
Response
User activity logs retrieved successfully
Example response
{
"records": [
{
"action": "CREATED",
"sub_action": "published",
"entity_type": "article",
"entity_id": "5f3085b2-568c-4a11-af51-43ea74c94fec",
"entity_name": "Tech Trends 2026",
"description": "Created article \"Tech Trends 2026\"",
"new_state": {
"title": "Tech Trends 2026",
"status": "draft"
},
"category": "CONTENT",
"user_id": "496ff26d-6cca-49dc-baeb-00deeea28d7b",
"actor_type": "USER",
"team_id": "9dc63d21-8742-4192-9d03-e6351db01800"
}
]
}Changes
No recorded changes to this operation across all 3 revisions of this API.