> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Tasks

Get all tasks. Use one or more of the parameters provided to filter the tasks returned.

You must specify exactly one of the following parameters:

* `Workspace` and `Assignee` (both required)
* `Project ID`
* `Section`

<Note>
  External Documentation

  To learn more, visit the [Asana documentation](https://developers.asana.com/reference/gettasks).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                           |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
  | Assignee         | The ID of the assignee to filter tasks on.<br /><br />**Note**: If you specify `Assignee`, you must also specify the `Workspace`.     |
  | Include Fields   | A comma-separated list of properties to include in the response.                                                                      |
  | Project ID       | The ID of the project to filter tasks on.                                                                                             |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                      |
  | Section          | The ID of the section to filter tasks on.                                                                                             |
  | Workspace        | The ID of the workspace to filter tasks on.<br /><br />**Note**: If you specify `Workspace`, you must also specify the `Assignee ID`. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                                                                                                                                                                      |
  | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Completed Since | Only get tasks that are either incomplete or that have been completed since this time.                                                                                                                                                                                                                                                                           |
  | Limit           | Results per page.<br />The number of objects to return per page. The value must be between 1 and 100.                                                                                                                                                                                                                                                            |
  | Modified Since  | Only get tasks that have been modified since the given time.                                                                                                                                                                                                                                                                                                     |
  | Offset          | An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an `offset` parameter to the next request. If an offset is not passed in, the API will return the first page of results.<br /><br />**Note:** You can only pass in an offset that was returned to you via a previously paginated request. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"gid": "12345",
			"name": "Bug Task",
			"resource_subtype": "default_task",
			"resource_type": "task"
		}
	]
}
```

## Workflow Library Example

[List Tasks with Asana and Send Results Via Email](https://library.blinkops.com/workflows/list-tasks-with-asana-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-tasks-with-asana-and-send-results-via-email/canvas" />
</div>
