Skip to main content
GET
List tasks

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Query Parameters

page[number]
integer
default:1

The 1-indexed page number to retrieve.

Required range: x >= 1
page[size]
integer
default:30

The number of results per page (max 100).

Required range: 1 <= x <= 100
filter[id]
integer

Exact match on the task's id.

filter[project_id]
integer

Exact match on the id of the project the task is linked to.

filter[created_by]
integer

Exact match on the id of the user who created the task.

filter[completed_by]
integer

Exact match on the id of the user who completed the task.

filter[assignee_type]
enum<string>

Exact match on whether the task is assigned to a user (u) or a team (t).

Available options:
u,
t
filter[assignee_id]
integer

Exact match on the id of the assigned user or team. Interpret together with filter[assignee_type].

filter[is_complete]
boolean

Exact match on whether the task is complete (1 or 0).

filter[is_high_priority]
boolean

Exact match on whether the task is flagged as high priority (1 or 0).

filter[assigned_to_user]
integer

Limit to tasks assigned directly to the given user id.

filter[assigned_to_team]
integer

Limit to tasks assigned directly to the given team id.

filter[assigned_to_user_with_teams]
string

Limit to tasks assigned directly to the given user id, or to any active team that user is an active member of. Pass the literal value me to resolve to the authenticated user.

filter[due_before]
string

Limit to tasks due on or before the given value (inclusive). A bare date (for example 2025-02-20) covers through the end of that day; a full timestamp is used exactly. Combine with filter[due_after] for a range.

filter[due_after]
string

Limit to tasks due on or after the given value (inclusive). A bare date covers from the start of that day; a full timestamp is used exactly. Combine with filter[due_before] for a range.

include
string

Comma-separated related resources to embed. Allowed: project, project_milestone, project_milestone_task, account, creator, assignee, completer.

sort
string

Field to sort by. Prefix with - for descending. Allowed: due_at, created_at, updated_at, completed_at, is_high_priority, is_complete. When omitted, results default to high-priority tasks first, then the furthest-out due date first — use sort=due_at for soonest-due-first ordering instead.

Response

A paginated list of tasks.

data
object[]
current_page
integer

The 1-indexed page number of the current response.

Example:

1

first_page_url
string

The URL of the first page of results.

from
integer | null

The 1-indexed position of the first record in data for this page. Null when the page is empty.

Example:

1

last_page
integer

The number of the final page in the result set.

Example:

4

last_page_url
string

The URL of the last page of results.

Rendered pagination links (previous, numbered pages, next).

next_page_url
string | null

The URL of the next page, or null if this is the last page.

path
string

The endpoint URL without query parameters.

per_page
integer

The number of records requested per page.

Example:

30

prev_page_url
string | null

The URL of the previous page, or null if this is the first page.

to
integer | null

The 1-indexed position of the last record in data for this page. Null when the page is empty.

Example:

30

total
integer

The total number of records across all pages.

Example:

97