Get all tasks
GET {{baseUrl}}/tasks?cursor=<string>&limit=<integer>&assignee_id=<integer>&project_id=<integer>&parent_task_id=<integer>&done=<number>
Returns all tasks. This is a cursor-paginated endpoint. For more information, please refer to our documentation on pagination.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cursor | string | For pagination, the marker (an opaque string value) representing the first item on the next page | |
limit | string | For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned. | |
assignee_id | string | If supplied, only tasks that are assigned to this user are returned | |
project_id | string | If supplied, only tasks that are assigned to this project are returned | |
parent_task_id | string | If null is supplied then only parent tasks are returned. If integer is supplied then only subtasks of a specific task are returned. By default all tasks are returned. | |
done | string | Whether the task is done or not. 0 = Not done, 1 = Done. If not omitted then returns both done and not done tasks. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"success":true,"data":[{"id":1,"title":"Task 1","creator_id":2,"description":"Task description","done":0,"due_date":"2023-10-11","parent_task_id":2,"assignee_id":2,"add_time":"2023-09-14 08:14:40.288","update_time":"2023-09-14 08:14:40.288","marked_as_done_time":"2023-09-22 08:14:40.288","project_id":1}],"additional_data":{"next_cursor":"eyJhY3Rpdml0aWVzIjoyN30"}}