# DeskTime

DeskTime is an automatic time tracking software that helps teams and freelancers monitor productivity, manage projects, and analyze work habits.

- **Category:** time tracking software
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 11
- **Triggers:** 0
- **Slug:** `DESKTIME`
- **Version:** 20260312_00

## Tools

### Create Project with Optional Task

**Slug:** `DESKTIME_CREATE_PROJECT_WITH_TASK`

Tool to create a new project with an optional initial task. Use when you need to set up a new DeskTime project programmatically.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `task` | string | No | Optional initial task name to associate with the project |
| `project` | string | Yes | Name of the project to be created |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Account Details

**Slug:** `DESKTIME_GET_ACCOUNT_DETAILS`

Retrieves company account configuration including work schedule and timezone settings. This action fetches company-level information such as company name, work hours (start/end times), work duration, working days configuration, time tracking hours, and timezone. No parameters are required. This is useful for understanding the company's work schedule configuration and timezone settings.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get All Company Employees

**Slug:** `DESKTIME_GET_ALL_COMPANY_EMPLOYEES`

Tool to list all employees in the company, including their roles and statuses. Use after confirming valid credentials to fetch the organization’s roster.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `date` | string | No | Target date in "YYYY-MM-DD" format. Defaults to today if omitted. |
| `period` | string ("day" | "month") | No | Time period granularity: "day" or "month". Defaults to "day". |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Employee

**Slug:** `DESKTIME_GET_EMPLOYEE`

Tool to retrieve information about a single employee including user info, work settings, and tracking data for a specific date. Use when you need detailed information for one employee. Returns data for the currently logged-in user if no employee ID is specified.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Employee ID. If omitted, returns data for the currently logged-in user. |
| `date` | string | No | Date in YYYY-MM-DD format to retrieve employee data for. If not provided, returns data for today's date. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Employee Apps

**Slug:** `DESKTIME_GET_EMPLOYEE_APPS`

Retrieves employee tracking data including tracked apps for a specific date. Returns data for the currently logged-in user if no employee ID is specified. Use this action to view detailed application usage and productivity data for an employee.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | Employee ID. If omitted, returns data for the current API-key user. |
| `date` | string | No | Date in YYYY-MM-DD format. If omitted, returns data for today. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Employee Projects

**Slug:** `DESKTIME_GET_EMPLOYEE_PROJECTS`

Retrieves comprehensive employee project tracking data including project assignments, time tracking metrics, work hours, and productivity statistics for a specific employee and date. Returns detailed information about: - Employee profile (ID, name, email, group) - Time tracking metrics (online time, productive time, efficiency) - Work schedule (work start/end times, timezone) - Active project details (current project and task being worked on) - Projects list (all projects tracked on the specified date with durations) - Employee status indicators (online, arrived, left, late) Use this action when you need to: - View an employee's project assignments and tracking data - Check time spent on specific projects by an employee - Monitor employee productivity and work hours - Retrieve historical project tracking data for a specific date Both parameters are optional - defaults to current API-key user and today's date.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | No | Employee ID. If omitted, returns data for the current API-key user. |
| `date` | string | No | Date in YYYY-MM-DD format. If omitted, returns data for today. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Employee Basic Data

**Slug:** `DESKTIME_GET_EMPLOYEE_PROJECTS_AND_APPS`

Retrieve an employee's basic information and daily tracking statistics from DeskTime. Returns employee profile data, work hours, productivity metrics, attendance status, and currently active project. Use this when you need employee time tracking data for a specific date (defaults to today). Note: For detailed project/app usage breakdowns, use the dedicated Get Employee Projects action.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | No | Employee ID. Optional; if omitted, returns data for the authenticated user |
| `date` | string | No | Date in YYYY-MM-DD format. Optional; defaults to today's date if omitted |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Projects List

**Slug:** `DESKTIME_GET_PROJECTS_LIST`

Tool to retrieve all active projects for the company, including related tasks. Use when you need projects overview after authentication.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Ping DeskTime API

**Slug:** `DESKTIME_PING_REQUEST`

Tool to check the API's availability and confirm the service is operational. Use when you need to verify that the DeskTime API is reachable and responsive.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Start Project Task

**Slug:** `DESKTIME_START_PROJECT_TASK`

Starts time tracking for a specified project and optional task in DeskTime. This action begins recording time against the specified project. If a task name is provided, time is also tracked at the task level within that project. Both projects and tasks are created automatically if they don't already exist in the DeskTime account. Use this action when a user wants to: - Begin working on a project and track time - Start a specific task within a project - Switch time tracking to a different project or task Note: Only one project/task can be tracked at a time per user. Starting a new project automatically stops tracking on any previously active project.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `task` | string | No | Optional task name within the project to track time against. If not provided, time is tracked only at the project level. If provided and doesn't exist, it will be created automatically. |
| `project` | string | Yes | Name of the project to start tracking time for. If the project doesn't exist, it will be created automatically by DeskTime. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Stop Project Task

**Slug:** `DESKTIME_STOP_PROJECT_TASK`

Tool to stop tracking time for a specified project and optional task. Use when you have finished work and need to record end time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `task` | string | No | Optional task name to stop tracking time for |
| `project` | string | Yes | Project name to stop tracking time for |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
