List cost codes
List and filter cost codes. Supports pagination, sorting, field selection, search, and filters.
Inactive codes are returned like any other. Filter on isActive when you only want the ones still in use.
Full-text search covers code and description.
Authorizations
Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.
Query Parameters
Page to return, starting at 1. Pages are 1-based, so page=0 is rejected with a 400.
x >= 1Records per page. Defaults to 100 when no pagination parameter is sent. /timesheet applies no default at all, so send this explicitly.
Sort fields, e.g. name:asc,createdAt:desc. Comma-separated and repeated parameters are equivalent.
Fields to return. Comma-separated or repeated parameters are equivalent; an explicit selection includes only requested fields. Nested JSON paths are supported.
Full-text search across the resource's search columns. Append :col1,col2 to limit which columns are searched.
AND/OR filter expression, for example type eq 'phase' and isArchived eq false. Simple equality can also be passed as plain field parameters.