This endpoint allows you to retrieve information about a single employee to return user tracking data, including tracked projects and apps for a specific date.
When you send a GET request to this endpoint with the employee ID and/or date parameter in the request URL, the server will respond with a JSON object containing the employee information, including info about the user, work settings, and any relevant tracking data, along with tracked projects and apps.
If no employee ID is included in the request URL, the server will return information for the user currently logged in.
If no date parameter is included, it will return information for today's date.
GET
https://desktime.com/api/v2/json/employee/basic?apiKey={apiKey}&id={employeeId}&date={date}
- apiKey: user api key (required)
- employeeId: employee ID (optional)
- date: date [format: "Y-m-d"] (optional)