Skip to main content
GET
List project notes

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.

Path Parameters

projectId
integer
required

The id of the project.

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 note's id.

filter[type_id]
integer

Exact match on the id of the note's category.

filter[created_by]
integer

Exact match on the id of the user who wrote the note.

filter[is_visible_on_customer_portal]
boolean

Exact match on whether the note is visible to the customer through their customer portal (1 or 0).

filter[is_user_generated]
boolean

Exact match on whether the note is a user comment (1) or an automatic activity entry (0).

filter[created_at_range]
string

Limit to notes whose created_at falls within the given range, formatted as start,end. Date-only values expand to cover the full day.

filter[updated_at_range]
string

Limit to notes whose updated_at falls within the given range, formatted as start,end. Date-only values expand to cover the full day.

Matches notes whose body contains all of the given words, in any order.

include
string

Comma-separated related resources to embed. Allowed: type, project, creator.

sort
string

Field to sort by. Prefix with - for descending. Allowed: created_at, updated_at, body, is_visible_on_customer_portal, is_user_generated, creator (orders by the creating user's first name), type (orders by the category's name). Defaults to -created_at (newest first).

Response

A paginated list of project notes.

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