The Get Employees endpoint allows you to retrieve information about all employees in your company, with an optional period parameter to return user tracking data for a specific day or month, starting with the given date.
When you send a GET request to this endpoint with the date and/or period parameter in the request URL, the server will respond with a JSON object containing information for all employees, including info about each user, work settings, and any relevant tracking data.
If no date parameter is included in the request URL, it will return information for today's date. The period parameter can be set to either "day" or "month" to specify the period for which the tracking data should be returned. The default period value is "day."
GET
https://desktime.com/api/v2/json/employees?apiKey={apiKey}&date={date}&period={period}
- apiKey: user api key (required)
- date: date [format: "Y-m-d"] (optional)
- period: day|month (optional)