Pagination and Filtering
This page documents the legacy API v0. New integrations should use API v1.
Use page, limit, id, boolean, and date filters to retrieve the exact TeamGrid records an integration needs.
List endpoints support pagination with page and limit.
Paginated responses include a pagination object next to the returned data
array.
Reference pages with the largest filter surfaces:
Pagination Parameters
Section titled “Pagination Parameters”?page=1&limit=50page selects the page number. Pages start at 1.
limit selects the maximum number of records returned per page. The default
page size is 50. The maximum documented page size is 500.
Example:
curl "https://api.teamgrid.app/tasks?page=2&limit=100" \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Accept: application/json"Filtering by ID
Section titled “Filtering by ID”Several endpoints support filtering by related ids. Where documented, multiple ids can be sent as a comma-separated list.
Example:
GET /tasks?projectId=PROJECT_IDGET /tasks?userId=USER_1,USER_2GET /times?taskId=TASK_IDBoolean Filters
Section titled “Boolean Filters”Boolean filters use true or false.
Examples:
GET /projects?completed=false&archived=falseGET /tasks?completed=trueGET /times?active=trueDate Filters
Section titled “Date Filters”Date filters use ISO 8601 timestamps.
Examples:
GET /tasks?updatedAtFrom=2026-07-01T00:00:00ZGET /times?startFrom=2026-07-01T00:00:00Z&startTo=2026-07-31T23:59:59ZCommon List Filters
Section titled “Common List Filters”Tasks support these filter groups:
| Purpose | Filters |
|---|---|
| Assignment | userId, contactId, projectId |
| State | completed, archived |
| Creation window | createdAtFrom, createdAtTo |
| Update window | updatedAtFrom, updatedAtTo |
| Planning window | plannedStartFrom, plannedStartTo, plannedEndFrom, plannedEndTo |
| Scheduling window | scheduledStartFrom, scheduledStartTo, scheduledEndFrom, scheduledEndTo, includeScheduledWork |
Time entries support these filter groups:
| Purpose | Filters |
|---|---|
| Ownership | userId, taskId, projectId, serviceId, contactId |
| Time window | startFrom, startTo |
| Billing | billed |
| State | active, type, taskCompleted, projectCompleted, taskArchived, projectArchived |
Scheduled work supports:
| Purpose | Filters |
|---|---|
| Ownership | userId, taskId |
| Date window | dateFrom, dateTo |
Journal entries support:
| Purpose | Filters |
|---|---|
| Ownership | projectId, productId, createdBy |
| Entry date window | dateFrom, dateTo |
| Creation window | createdAtFrom, createdAtTo |