---
title: "Create Hourly Report Root Preset"
method: POST
path: "/timesheets/root-presets"
tags: ["projects"]
---

# Create Hourly Report Root Preset

`POST /timesheets/root-presets`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/timesheets/root-presets`
- Auth: HTTP bearer

Creates a new hourly report root preset and initiates asynchronous processing; the response includes an async_task object that can be used to track completion.

 **Token scopes**: `timesheets:write`

## Request body

- object
  - `file` string, binary, nullable: Optional file attachment for the root preset
  - `type` 'RATE' | 'TRACKING': The type of preset, RATE – indicates a preset that overrides the default contract rate, TRACKING - used exclusively for tracking, applying the default contract rate
  - `title` string, required: The title of the hourly report root preset (maximum 255 characters)
  - `description` string: Detailed description of the root preset's purpose and usage (maximum 30000 characters)
  - `hourly_report_presets` TimesheetsRootPresetsPostRequestBodyContentApplicationJsonSchemaHourlyReportPresetsItems[]: Array of preset configurations to be created along with the root preset
    - `file` string, binary, nullable: Optional file attachment for this specific preset instance
    - `rate` number, double: The hourly rate for this preset (must be greater than 0)
    - `title` string: The title for this specific preset instance (maximum 255 characters)
    - `action_type` 'ADD': The action to perform with this preset (currently only ADD is supported)
    - `contract_id` string, required: The unique identifier of the contract this preset is associated with
    - `description` string, nullable: Detailed description for this specific preset instance (maximum 30000 characters)
  - `hourly_report_presets_processing_type` 'ASYNC' | 'SYNC': Determines whether presets should be processed synchronously or asynchronously

## Response `200`

Successful operation.

- ProjectsCreateRootTimesheetsPresetResponse200
  - `data` TimesheetsRootPresetsPostResponsesContentApplicationJsonSchemaData, required: Container object with the identifier of the newly created root preset.
    - `id` string, uuid, required: The unique identifier of the created root preset
    - `async_task` TimesheetsRootPresetsPostResponsesContentApplicationJsonSchemaDataAsyncTask: Asynchronous task created to process this request, if applicable.
      - `id` integer: The identifier of the asynchronous task processing this request

## Other responses

- `400`: Bad Request - The requesting token is not associated with an organization.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Internal Server Error - The hourly report root presets could not be processed due to an unexpected upstream or internal failure.

## Changes

- **2026-11-30** `ddc5cc57db56`: 3 warning, 4 info
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `errors/items/path` from the response with the `500` status
  - removed the optional property `request` from the response with the `500` status
  - added the optional property `errors/items/code` to the response with the `500` status
  - …3 more

[Operation history](https://skmtc.dev/deel/apis/endpoints-2/changes/timesheets/root-presets/post.md)

---

[API](https://skmtc.dev/deel/apis/endpoints-2.md) - [All operations](https://skmtc.dev/deel/apis/endpoints-2/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints-2/revisions/b48979ae8a04?raw)
