> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a time entry

### Parameters

<ParamField body="worker" type="string" required>
  The ID of an existing worker this time entry is for.
</ParamField>

<ParamField body="duration" type="string" required>
  The duration of the time entry in hours. Must be greater than 0 and less than 24.
</ParamField>

<ParamField body="date" type="string" required>
  The date this time entry is for.
</ParamField>

<ParamField body="note" type="string">
  Optional note about the time entry.
</ParamField>

### Returns

Returns the new time entry ID on success.

<ResponseExample>
  ```json Success theme={null}
  { "id": "tme_1HPCXADYAhh5k1NMU0r1WUqs" }
  ```
</ResponseExample>
