Skip to content

Lists, paging and filtering

Every endpoint that returns many records returns them one page at a time. The parameters below work the same way on every list; each list’s page shows which of them it takes and the values it accepts.

Parameter Meaning
page The page to return, counting from 1. Default 1.
limit Records per page. Default 20, at most 1000.

A list answers:

{
"data": [ ],
"totalCount": 137,
"page": 2,
"limit": 50
}

data holds the records of this page, totalCount the number of records that match the request across all pages, and page and limit echo the page you got. To read everything, ask for page 1, 2, 3 and so on until you have totalCount records or a page comes back with fewer than limit records.

Parameter Meaning
search Text to look for in the list’s records.
sortField The field to sort by. Each list’s page lists the fields it can sort by and its default order.
sortOrder asc or desc.

A value a list does not accept, such as a field it cannot sort by, is refused with 400.

Filters narrow a list; all the filters of one request apply together.

  • By related records: parameters named filter + the kind of record + Ids take a comma-separated list of ids, for example filterProjectIds=cm1d4e5f60023rs08a1b2c3dd,cm1d4e5f60024rs08b2c3d4ee or filterMemberIds=.... A record matches when it belongs to any of them.
  • By day: from and to take days (YYYY-MM-DD) and include both ends.
  • By a single value: plain parameters such as isBillable=true or approvalStatus=submitted.

A filter never shows more than the person may see. Naming a project or team member the person may not see is not an error: it just matches nothing.

A list that takes updatedSince (its page shows the parameter) accepts a moment in ISO 8601 (for example 2026-11-20T10:15:00.000Z), and then returns only the records changed at or after it.

To keep a copy of your data in step with OneSuite:

  1. Read the whole list once and note the latest updatedAt among the records.
  2. Next time, pass that moment as updatedSince and page through what comes back. Because the moment itself is included, you may see a record again: match records on their id.
  3. Note the latest updatedAt again, and repeat.

Records deleted since your last request are not reported. To find them, read the list’s ids again from time to time and remove from your copy any id that is no longer there.