Skip to main content
TasksVersion: 2021-04-15

Get Tasks

GET/projects/lists/{listId}/tasks

Pages tasks whose primary (home) list is this list. Use limit and query searchAfter from the previous response searchAfter (opaque base64url string). Prefer Search Tasks with parentTaskId / subtaskViewMode for subtask-focused views.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:projects/tasks.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

listIdstringrequired

List id

Example:6a102435124ecfb348bd5507

Query Parameters

limitnumber

Maximum number of tasks per page. Defaults to 50.

Possible values: >= 1 and <= 100

Default:50
Example:50
searchAfterstring

Opaque searchAfter from the previous response searchAfter (base64url-encoded JSON array). Pass the string back verbatim. Legacy JSON array strings (e.g. [1738683828372,"taskId"]) are also accepted.

Example:WzE3Mzg2ODM4MjgzNzIsIjY3YTIzNWI0OWIyODk0MzFiY2Y2NTdmOCJd
locationIdstring

Location id. Required for channel: APP. Ignored for OAuth/PIT — those use the location on the auth token. Do not send in path, body, or headers.

Example:ve9EPM428h8b87FE9C12Kg

Response

Successful response

tasksobject[]required

Matching tasks

totalnumberrequired

Total matching count

Example:1
searchAfterstringnullable

Opaque searchAfter (base64url-encoded JSON array, typically [sortValue, taskId]). Pass back verbatim as Search Tasks body searchAfter or Get Tasks query searchAfter. null when there is no further page.

Example:WzE3Mzg2ODM4MjgzNzIsIjY3YTIzNWI0OWIyODk0MzFiY2Y2NTdmOCJd