Chuyển tới nội dung chính

13. Activity & Timeline

13.1 Get Activity Timeline

GET /api/v1/timeline

Get organization activity timeline.

Query Parameters:

  • limit - Number of activities (default: 50)
  • offset - Pagination offset
  • type - Filter by activity type

Response:

{
"activities": [
{
"id": "activity-001",
"type": "contact_created",
"actor": {
"id": "user-123",
"name": "John Doe"
},
"resource": {
"type": "contact",
"id": "contact-001",
"title": "Nguyen Van A"
},
"description": "Created new contact",
"timestamp": "2026-06-05T17:35:00Z"
}
],
"pagination": { "total": 1500, "limit": 50, "offset": 0 }
}