The Account endpoint enables you to fetch data related to your company account.
When you make a GET request to this endpoint, the server will respond with a JSON object containing information about your company account, including the company name, work settings, account timezone, and a timestamp of when the data was requested.
GET
https://desktime.com/api/v2/json/company?apiKey={apiKey}- apiKey: user api key (required)
Authenticate by sending your API key in the X-API-Key request header.
HEADER
X-API-Key: {apiKey}- X-API-Key: user api key (required)
Response example:
{
"name": "DeskTime",
"work_starts": "08:00:00",
"work_ends": "18:00:00",
"work_duration": "28800",
"working_days": 31,
"work_start_tracking": "00:00:00",
"work_stop_tracking": "23:59:59",
"timezone_identifier": "Asia/Kolkata",
"__request_time": "1759299465"
}