List tasks
List tasks. Any role. Member tokens see only tasks on projects they have been granted.
Authorization
BearerAuth Personal Access Token. Mint at Settings → API. Token shape: hsk_<env>_<prefix12>_<secret32>.
In: header
Query Parameters
Opaque pagination cursor — pass nextCursor back unchanged with the same filters and sort. A mismatch returns 422; legacy cursors remain accepted.
Page size (1–200, default 50).
Sort field, optionally prefixed with - for descending (Stripe-style). Defaults to -createdAt (newest first). The allowed fields differ per resource — see each list* operation. Common examples: ?sort=-paidAt (latest paid invoice), ?sort=dueDate (earliest due first), ?sort=name (alphabetical). Cursors are sort-aware: keep the same sort= when paginating. Allowed sort fields for tasks: createdAt, dueDate, endDate, id, name, priority, relevance, startDate, status, updatedAt. Unsigned relevance is best-first and requires a non-empty search parameter.
Unicode-normalized token-AND search across: name, descriptionText, description (legacy), project.name, project.client.name, assignees.user.name. Three-or-more-character terms include indexed typo-tolerant candidates; one/two-character input is an indexed primary-field prefix. Max 200 chars.
Owning project UUID. Repeat the parameter for OR semantics; duplicates are ignored (max 25 values).
Owning client's UUID. Repeat the parameter for OR semantics; duplicates are ignored (max 25 values).
Filter to tasks assigned to this user UUID. Repeat the parameter for OR semantics; duplicates are ignored (max 25 values).
Exact task tag; repeated values use OR semantics. Repeat the parameter for OR semantics; duplicates are ignored (max 25 values).
One of: TODO, IN_PROGRESS, DONE. Repeat the parameter for OR semantics; duplicates are ignored (max 25 values).
One of: LOW, MEDIUM, HIGH. Repeat the parameter for OR semantics; duplicates are ignored (max 25 values).
One of: overdue, due_soon, no_due_date. Repeat the parameter for OR semantics; duplicates are ignored (max 25 values).
Boolean — true/false/1/0/yes/no.
Inclusive lower bound on startDate. Accepts YYYY-MM-DD (treated as UTC midnight) or full ISO timestamp.
Inclusive upper bound on startDate. YYYY-MM-DD is treated as end-of-day so the date is fully included.
Inclusive lower bound on dueDate. Accepts YYYY-MM-DD (treated as UTC midnight) or full ISO timestamp.
Inclusive upper bound on dueDate. YYYY-MM-DD is treated as end-of-day so the date is fully included.
Inclusive lower bound on endDate. Accepts YYYY-MM-DD (treated as UTC midnight) or full ISO timestamp.
Inclusive upper bound on endDate. YYYY-MM-DD is treated as end-of-day so the date is fully included.
Inclusive lower bound on createdAt. Accepts YYYY-MM-DD (treated as UTC midnight) or full ISO timestamp.
Inclusive upper bound on createdAt. YYYY-MM-DD is treated as end-of-day so the date is fully included.
Inclusive lower bound on updatedAt. Accepts YYYY-MM-DD (treated as UTC midnight) or full ISO timestamp.
Inclusive upper bound on updatedAt. YYYY-MM-DD is treated as end-of-day so the date is fully included.
Inclusive lower bound on estimatedHours. Accepts decimal-string values like "150.00" to preserve precision.
Inclusive upper bound on estimatedHours.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/tasks"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "orgId": "25b2c2d5-a7fc-47d0-89e4-8709a1560bfa", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "name": "string", "description": "string", "status": "TODO", "priority": "LOW", "billable": true, "estimatedHours": "string", "assigneeIds": [ "80f8de4f-e685-4a1d-91fc-c0bb26d5cfc0" ], "tags": [ "string" ], "startDate": "2019-08-24", "dueDate": "2019-08-24", "endDate": "2019-08-24", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z" } ], "pagination": { "limit": 1, "nextCursor": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}{ "error": { "code": "unauthenticated", "message": "string", "fields": { "property1": "string", "property2": "string" }, "requiredPlan": "studio", "feature": "string", "requestId": "string" }}