---
title: "Create time entry"
method: POST
path: "/entries"
tags: ["[v1] Entry"]
---

# Create time entry

`POST /entries`

Create time entry.

## Request body

- object
  - `get_entries` 0 | 1 — if `true` then this works like `GET`
  - `date` string, required — entry will be created on this date
  - `start` string — entry start time, this has higher priority than `start_time` if provided both
  - `start_time` string — entry start time
  - `end` string — entry end time, this has higher priority than `end_time` if provided both
  - `end_time` string — entry end time
  - `duration` integer — duration in seconds, required if `start` and `end` are not given
  - `user_id` union — user id for which you create the entry
    - string
    - integer
  - `task_id` number — entry task
  - `tags` object[] — array of tags ids to add to entry
    - `tagId` integer
  - `note` string — note for entry, same as `description`
  - `description` string — description for entry, same as `note`
  - `billable` boolean — is entry billable

## Response `200`

OK

- object
  - `entry_id` number, required

## Other responses

- `400` — Bad request
- `403` — Forbidden

---

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