---
title: "Create time entries · Time Entries · COUNT Partner API"
description: "Creates one or more time entry rows for a person. POST /partners/time-entries"
canonical: "https://developers.getcount.com/reference/time-entries/create-time-entry"
source: "https://developers.getcount.com/reference/time-entries/create-time-entry"
---
[Time Entries](https://developers.getcount.com/reference/time-entries) / Create time entries

# Create time entries

POST `/partners/time-entries`

Creates one or more time entry rows for a person.

Required: `peopleUuid` and `timeEntries` array. Each row needs `date` (YYYY-MM-DD) and `minutes`. Setting `projectUuid` may auto-fill the matching customer.

HMAC signature + Bearer access token

[Try this request](https://developers.getcount.com/tools/try-it?method=POST&path=%2Fpartners%2Ftime-entries&body=%7B%0A++%22peopleUuid%22%3A+%22f1a2b3c4-d5e6-4789-a012-3456789abcde%22%2C%0A++%22projectUuid%22%3A+%2211223344-5566-7788-99aa-bbccddeeff00%22%2C%0A++%22timeEntries%22%3A+%5B%0A++++%7B%0A++++++%22date%22%3A+%222026-03-15%22%2C%0A++++++%22minutes%22%3A+120%2C%0A++++++%22description%22%3A+%22Wireframe+review+session%22%2C%0A++++++%22billable%22%3A+true%0A++++%7D%0A++%5D%0A%7D)

[People API](https://developers.getcount.com/reference/people) [Projects API](https://developers.getcount.com/reference/projects) [Products & Services API](https://developers.getcount.com/reference/products-and-services)

#### Request body

`peopleUuid` uuid required

Person UUID from the People API.

`timeEntries` array required

Array of row objects to create.

`date` date required

Entry date (YYYY-MM-DD).

`minutes` integer required

Minutes logged.

`description` string

Optional notes.

`projectUuid` uuid

Project UUID for this row.

`customerUuid` uuid

Customer UUID for this row.

`productServiceUuid` uuid

Product or service UUID.

`billable` boolean

Whether the time is billable.

`wage` number

Wage rate for the row.

`projectUuid` uuid

Default project UUID applied to rows when not set per row.

#### Responses

`201` Time entries created successfully.

`400` Validation failed — for example daily minutes cap exceeded or missing peopleUuid.

`401` Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-401)

`403` The credential does not have access to this workspace or resource. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-403)

`429` Rate limit exceeded (100 requests per minute per clientId). Retry after the Retry-After header. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-429)

[Previous GET Get a time entry](https://developers.getcount.com/reference/time-entries/get-time-entry) [Next PATCH Update a time entry](https://developers.getcount.com/reference/time-entries/update-time-entry)

POST `https://api.getcount.com/partners/time-entries`

Request

```javascript
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 ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'POST';
const signingPath = '/time-entries';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "peopleUuid": "f1a2b3c4-d5e6-4789-a012-3456789abcde",
  "projectUuid": "11223344-5566-7788-99aa-bbccddeeff00",
  "timeEntries": [
    {
      "date": "2026-03-15",
      "minutes": 120,
      "description": "Wireframe review session",
      "billable": true
    }
  ]
};
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}/partners/time-entries`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
  body: bodyString,
});

console.log(await response.json());
```

Response · 201

```json
{
  "status": "success",
  "message": "Time entry created successfully",
  "data": {
    "timeEntry": {
      "id": "33445566-7788-99aa-bbcc-ddeeff001122",
      "date": "2026-03-15",
      "minutes": 120,
      "description": "Wireframe review session",
      "billable": true,
      "wage": 45,
      "people": {
        "uuid": "f1a2b3c4-d5e6-4789-a012-3456789abcde",
        "firstName": "Jane",
        "lastName": "Smith"
      },
      "project": {
        "uuid": "11223344-5566-7788-99aa-bbccddeeff00",
        "name": "Website Redesign"
      },
      "customer": {
        "uuid": "dfa3219e-6af8-4c53-997a-037534f63a35",
        "customer": "Acme Corporation"
      },
      "productService": {
        "uuid": "aa11bb22-cc33-dd44-ee55-ff6677889900",
        "description": "Consulting services"
      },
      "createdAt": "2026-01-15T10:30:00.000Z",
      "updatedAt": "2026-01-28T14:22:30.000Z"
    }
  }
}
```
