---
title: "Adds a break in the middle of the timesheet depending on the company settings."
method: POST
path: "/timesheets/{timesheetId}/insert-auto-break-activity"
tags: ["Timesheets"]
---

# Adds a break in the middle of the timesheet depending on the company settings.

`POST /timesheets/{timesheetId}/insert-auto-break-activity`

## Path parameters

- `timesheetId` integer, required

## Response `201`

The resource was successfully created.

## Other responses

- `204` — Will be returned if the break cannot be created. Reasons can be: There is already one break tracked, not enough working time, or the auto break feature is not activated.
- `401` — The request lacks valid authentication credentials.
- `403` — The token is valid but lacks the permission for this action.
- `500` — An unexpected error occurred on the server (e.g. a requested relation does not exist).

---

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