Skip to main content
GET
/
time_entries
List time entries
curl --request GET \
  --url https://{your-workspace}.neetoinvoice.com/api/external/v1/time_entries \
  --header 'X-Api-Key: <x-api-key>'
{
  "time_entries": [
    {
      "id": "<string>",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_name": "<string>",
      "user_email": "[email protected]",
      "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "task_name": "<string>",
      "project_id": "<string>",
      "project_name": "<string>",
      "client_id": "<string>",
      "client_name": "<string>",
      "hours": 123,
      "recorded_on": "2023-12-25",
      "notes": "<string>",
      "status": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total_count": 123,
  "page": 123,
  "page_size": 123,
  "total_pages": 123,
  "next_page": 123,
  "prev_page": 123
}
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.

Query Parameters

client_id
string
required

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

project_id
string
required

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

start_date
string<date>

Filter time entries recorded on or after this date in YYYY-MM-DD format

end_date
string<date>

Filter time entries recorded on or before this date in YYYY-MM-DD format

page
integer

Retrieve paginated results by specifying the desired page number. Defaults to 1 if not specified.

page_size
integer

Number of results per page. Defaults to 30 if not specified.

Response

200 - application/json

OK - Request succeeded

time_entries
object[]
total_count
integer
page
integer
page_size
integer
total_pages
integer
next_page
integer | null
prev_page
integer | null