Skip to main content
POST
/
time_entry
Create a time entry
curl --request POST \
  --url https://{your-workspace}.neetoinvoice.com/api/external/v1/time_entry \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "client_id": "d3e77fe4b9cae1e82d8a",
  "project_id": "e34204233797f4b637c5",
  "task_id": "4d0d7ad1-91ce-44d0-abfe-6718422716dd",
  "email": "[email protected]",
  "recorded_on": "2025-06-06",
  "hours": "2",
  "notes": "Completed working on adding tests.",
  "metadata": {
    "source": "external_api"
  },
  "checklist_items": [
    {
      "id": "fe067c21-ee1e-432a-9f38-f1ae0d7ceaf2",
      "is_completed": true
    }
  ],
  "is_override": false
}
'
{
  "notice_code": "<string>",
  "organization_id": "<string>",
  "subdomain": "<string>",
  "id": "<string>",
  "hours": 123,
  "notes": "<string>",
  "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_email": "[email protected]",
  "recorded_on": "2023-12-25",
  "status": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Body

application/json
client_id
string
required

Unique ID of the client. Refer to Getting the Client ID section for detailed instructions.

Example:

"d3e77fe4b9cae1e82d8a"

project_id
string
required

Unique ID of the project. Refer to Getting the Project ID section for detailed instructions.

Example:

"e34204233797f4b637c5"

task_id
string<uuid>
required

Unique ID of the task. Refer to Getting the Task ID section for detailed instructions.

Example:

"4d0d7ad1-91ce-44d0-abfe-6718422716dd"

email
string<email>
required

Email address of the user.

recorded_on
string<date>
required

Date on which the time entry needs to be added.

Example:

"2025-06-06"

hours
string
required

Number of hours worked on that particular task.

Example:

"2"

notes
string

Additional notes for the task.

Example:

"Completed working on adding tests."

metadata
object

Additional metadata for the time entry.

Example:
{ "source": "external_api" }
checklist_items
object[]

List of checklist items.

is_override
boolean

Whether to override autolock settings for this time entry.

Example:

false

Response

200 - application/json

OK - Request succeeded

notice_code
string
organization_id
string
subdomain
string
id
string
hours
number<float>
notes
string
task_id
string<uuid>
user_id
string<uuid>
user_email
string<email>
recorded_on
string<date>
status
string
created_at
string<date-time>
updated_at
string<date-time>