List firm projects
GET
/firm-partners/firm/projectsLists open projects in the firm’s workspace and its client workspaces, ordered by name.
Projects with status Completed are excluded. Not paginated. Needs a key with access to all client workspaces. A key limited to selected client workspaces gets 403 on this route.
HMAC signature only
Query parameters
clientWorkspaceUuiduuidoptionalOnly projects in this client workspace (or the firm’s own workspace).
Responses
200Open projects.401Missing signing headers, an invalid HMAC signature, or a timestamp more than 5 minutes off. Troubleshoot403The API key is inactive, its scope does not cover this route, or it is limited to selected client workspaces and the route is firm-wide. Troubleshoot404`clientWorkspaceUuid` is not one of the firm’s workspaces.429Rate limit exceeded (100 requests per minute per firm user of each app, or 10,000 per minute per app). TroubleshootGET
https://api.getcount.com/firm-partners/firm/projectsRequest
import crypto from 'node:crypto';
const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;
const method = 'GET';
const signingPath = '/firm/projects';
const timestamp = Math.floor(Date.now() / 1000).toString();
const bodyString = '';
const bodyHash = '';
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');
const response = await fetch(`${BASE_URL}/firm-partners/firm/projects`, {
method,
headers: {
'x-client-id': CLIENT_ID,
'x-timestamp': timestamp,
'x-signature': signature,
},
});
console.log(await response.json());Response · 200
{
"status": "success",
"message": "Firm projects retrieved successfully",
"data": {
"projects": [
{
"id": "4a5b6c7d-8e9f-4a0b-9c1d-2e3f4a5b6c7d",
"name": "Harbor Coffee – Year-end close",
"status": "In progress"
}
]
}
}