Firm Time EntriesCreate a firm time entry

Create a firm time entry

POST/firm-partners/firm/time-entries

Logs time for a staff member.

Unknown fields are ignored.

HMAC signature only

Request body

peopleUuiduuidrequired

Staff person UUID in the firm’s workspace.

datedaterequired

Day the work was done (YYYY-MM-DD).

minutesintegerrequired

Minutes worked. A positive whole number.

notesstring

What the time was spent on. Omit rather than send null.

isBillableboolean

Defaults to true.

customerUuiduuid

An active customer in the firm’s workspace.

projectUuiduuid

A project in the firm’s workspace.

productServiceUuiduuid

A service in the firm’s workspace.

taskUuiduuid

A firm task. Its project, if in the firm’s workspace, overrides `projectUuid` and `customerUuid`.

Responses

201The created time entry.
400`peopleUuid`, `date` or `minutes` is missing or invalid, or the customer is inactive.
401Missing signing headers, an invalid HMAC signature, or a timestamp more than 5 minutes off. Troubleshoot
403The 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. Troubleshoot
404The staff member, customer, project, service or task does not exist in the firm’s workspace.
429Rate limit exceeded (100 requests per minute per firm user of each app, or 10,000 per minute per app). Troubleshoot
POSThttps://api.getcount.com/firm-partners/firm/time-entries
Request
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 = 'POST';
const signingPath = '/firm/time-entries';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "peopleUuid": "8e9f0a1b-2c3d-4e4f-9a5b-6c7d8e9f0a1b",
  "date": "2026-10-20",
  "minutes": 90,
  "notes": "Payroll reconciliation",
  "isBillable": true,
  "customerUuid": "9f0a1b2c-3d4e-4f5a-8b6c-7d8e9f0a1b2c",
  "productServiceUuid": "0a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d"
};
const bodyString = JSON.stringify(body);

const bodyHash = crypto.createHash('sha256').update(bodyString).digest('hex');
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/time-entries`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
  },
  body: bodyString,
});

console.log(await response.json());
Response · 201
{
  "status": "success",
  "message": "Time entry created successfully",
  "data": {
    "timeEntry": {
      "id": "6c7d8e9f-0a1b-4c2d-8e3f-4a5b6c7d8e9f",
      "date": "2026-10-20",
      "minutes": 90,
      "notes": "Payroll reconciliation",
      "isBillable": true,
      "isBilled": false,
      "unitPrice": null,
      "people": {
        "id": 8812,
        "firstName": "Dana",
        "lastName": "Okafor",
        "email": "dana@northwind.example",
        "avatarUrl": null,
        "type": "employee"
      },
      "project": {
        "id": 402,
        "name": "Harbor Coffee – Monthly close"
      },
      "customer": {
        "id": 9931,
        "customer": "Harbor Coffee Co."
      },
      "productService": {
        "id": 77,
        "name": "Bookkeeping (hourly)",
        "unitPrice": "150.0000",
        "pricingMethod": "hourly"
      },
      "task": {
        "id": 120345,
        "name": "Q3 sales tax filing"
      },
      "createdAt": "2026-10-21T10:04:05.000Z",
      "updatedAt": "2026-10-21T10:04:05.000Z"
    }
  }
}