---
title: "Bulk create timesheet entries"
method: POST
path: "/time/timesheet_entries/bulk"
tags: ["Time"]
---

# Bulk create timesheet entries

`POST /time/timesheet_entries/bulk`

Create in bulk timesheet entries for employees.

A maxmimum number of **50 employees** can be provided for each request.

A maxmimum number of **50 timesheet entries** can be provided for a given employee.

## Request body

- object
  - `data` object[], required
    - `employee_id` integer, required
    - `entries` object[]
      - `starts_at` integer, required — Start datetime of the shift. Value should be a valid Unix timestamp.
      - `ends_at` integer, required — End datetime of the shift, must be on same day as starts_at. Value should be a valid Unix timestamp.
      - `project_id` integer

## Response `200`

OK

- object
  - `records` object
    - `count` string — Count of created timesheet entries.
    - `data` object[]
      - `timesheet_entry_id` integer — Returned ID of created timesheet entry.
      - `employee_id` integer — Employee ID of the created record
      - `project_id` integer — Project ID of the created record
  - `errors` object
    - `count` string — Count of errors in creating timesheet entries.
    - `data` object[]
      - `employee_id` integer
      - `starts_at` integer — Start datetime of the shift. Value should be a valid Unix timestamp.
      - `ends_at` integer — End datetime of the shift. Value should be a valid Unix timestamp.
      - `messages` string[] — Array of error messages when creating the record. eg. Clock in overlaps with another timesheet entry
      - `project_id` integer

---

[API](https://skmtc.net/peopleforce/apis/company-api.md) · [All operations](https://skmtc.net/peopleforce/apis/company-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peopleforce/company-api/revisions/ff612e61a4c3/schema)
