Retrieve a paginated, filterable list of all activities in your account.
Request
GET
GET /v1/activity
Query Parameters
- page
integerPage number. Default: 1
- limit
integerNumber of records per page. Max: 25. Default: 25
- sort_by
stringField to sort by. Allowed values:
created_at,updated_at. Default: updated_at - sort_order
stringSort direction. One of: asc, desc. Default: desc
- importance
stringFilter by importance level. One of: low, normal, high, critical
- activity_type_id
integerFilter by activity type. Inbuilt: 2 (Meeting), 3 (Task), 4 (Email), 5 (Interview). To fetch all available types for your account, use the Get Activity Types endpoint.
- related_to_entity
integerFilter by entity type: 1 (Candidate), 2 (Job), 3 (Organization), 4 (Contact), 5 (Deal), 10 (Other)
- related_to
stringFilter by the slug of a related record. Example: candidate_abc123
- search
stringSearch across title, description, and location fields.
- maximize
stringComma-separated list of fields to expand in the response. Allowed values:
created_byupdated_byrelated_recordall
Example:
GET /v1/activity?maximize=created_by,related_record
Headers
- Authorization: Bearer your_access_token
Response
200
Body
- total
numberTotal number of matching records.
- per_page
numberNumber of records per page.
- current_page
numberCurrent page number.
- last_page
numberTotal number of pages.
- next_page_url
string or nullURL of the next page, or null if on the last page.
- prev_page_url
string or nullURL of the previous page, or null if on the first page.
- from
numberIndex of the first record on this page.
- to
numberIndex of the last record on this page.
- data
arrayArray of activity objects. See Add Activity response for the full activity schema.
400
Body
- Invalid sort_order or sort_by value
401
Body
- Unauthorized
Response Example
{
"total": 2,
"per_page": 25,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 2,
"data": [
{
"id": 42,
"title": "Team Sync",
"activity_type": { "id": 2, "label": "Meeting" },
"related_to": "candidate_abc123",
"related_record": { "slug": "candidate_abc123" },
"related_to_type": "candidate",
"collaborators": [],
"start_date": "2024-06-15",
"start_time": "10:00",
"end_time": "11:00",
"attendees": {
"candidates": [],
"contacts": [],
"users": []
},
"meeting_link": "https://meet.google.com/abc-xyz",
"importance": "high",
"location": "Conference Room A",
"description": "Monthly team sync",
"do_not_send_calendar_invite": false,
"mark_as_done": false,
"attachment": null,
"created_by": { "id": 1, "slug": "user_abc", "full_name": "John Doe", "email": "john@example.com" },
"updated_by": { "id": 1, "slug": "user_abc", "full_name": "John Doe", "email": "john@example.com" },
"created_at": "2024-06-15T10:00:00Z",
"updated_at": "2024-06-15T10:00:00Z"
},
{
"id": 43,
"title": "Candidate Interview",
"activity_type": { "id": 5, "label": "Interview" },
"related_to": "cand_xyz",
"related_record": { "slug": "cand_xyz" },
"related_to_type": "candidate",
"collaborators": [],
"start_date": "2024-06-16",
"start_time": "14:00",
"end_time": "15:00",
"attendees": {
"candidates": [{ "slug": "cand_xyz", "full_name": "Jane Smith" }],
"contacts": [],
"users": []
},
"meeting_link": "",
"importance": "critical",
"location": "Main Office",
"description": "Technical round",
"do_not_send_calendar_invite": false,
"mark_as_done": false,
"attachment": null,
"created_by": { "id": 1, "slug": "user_abc", "full_name": "John Doe", "email": "john@example.com" },
"updated_by": { "id": 1, "slug": "user_abc", "full_name": "John Doe", "email": "john@example.com" },
"created_at": "2024-06-14T09:00:00Z",
"updated_at": "2024-06-14T09:00:00Z"
}
]
}