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

KeyDatatypeRequiredDescription
cursorstringFor pagination, the marker (an opaque string value) representing the first item on the next page
limitstringFor pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned.
assignee_idstringIf supplied, only tasks that are assigned to this user are returned
project_idstringIf supplied, only tasks that are assigned to this project are returned
parent_task_idstringIf 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.
donestringWhether the task is done or not. 0 = Not done, 1 = Done. If not omitted then returns both done and not done tasks.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:[{&quot;id&quot;:1,&quot;title&quot;:&quot;Task 1&quot;,&quot;creator_id&quot;:2,&quot;description&quot;:&quot;Task description&quot;,&quot;done&quot;:0,&quot;due_date&quot;:&quot;2023-10-11&quot;,&quot;parent_task_id&quot;:2,&quot;assignee_id&quot;:2,&quot;add_time&quot;:&quot;2023-09-14 08:14:40.288&quot;,&quot;update_time&quot;:&quot;2023-09-14 08:14:40.288&quot;,&quot;marked_as_done_time&quot;:&quot;2023-09-22 08:14:40.288&quot;,&quot;project_id&quot;:1}],&quot;additional_data&quot;:{&quot;next_cursor&quot;:&quot;eyJhY3Rpdml0aWVzIjoyN30&quot;}}