> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# clockify-workspace

> Clockify Workspace - workspace settings, users, groups, custom fields, policies, and webhooks

**Server path:** `/clockify-workspace` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                                              | Description                               |
| --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| [`clockify_workspace_add_user`](#clockify_workspace_add_user)                                                                     | Add users to a group                      |
| [`clockify_workspace_add_users`](#clockify_workspace_add_users)                                                                   | Add user to a workspace                   |
| [`clockify_workspace_create`](#clockify_workspace_create)                                                                         | Create custom fields on a workspace       |
| [`clockify_workspace_create_policy`](#clockify_workspace_create_policy)                                                           | Create a time off policy                  |
| [`clockify_workspace_create_user_group`](#clockify_workspace_create_user_group)                                                   | Add a new group                           |
| [`clockify_workspace_create_user_role`](#clockify_workspace_create_user_role)                                                     | Give manager role to a user               |
| [`clockify_workspace_create_webhook`](#clockify_workspace_create_webhook)                                                         | Create a webhook                          |
| [`clockify_workspace_create_workspace`](#clockify_workspace_create_workspace)                                                     | Add a workspace                           |
| [`clockify_workspace_delete`](#clockify_workspace_delete)                                                                         | Delete a custom field                     |
| [`clockify_workspace_delete_policy`](#clockify_workspace_delete_policy)                                                           | Delete a policy                           |
| [`clockify_workspace_delete_user`](#clockify_workspace_delete_user)                                                               | Remove a user from a group                |
| [`clockify_workspace_delete_user_group`](#clockify_workspace_delete_user_group)                                                   | Delete a group                            |
| [`clockify_workspace_delete_user_role`](#clockify_workspace_delete_user_role)                                                     | Remove user's manager role                |
| [`clockify_workspace_delete_webhook`](#clockify_workspace_delete_webhook)                                                         | Delete a webhook                          |
| [`clockify_workspace_edit_custom_field`](#clockify_workspace_edit_custom_field)                                                   | Update custom field on workspace          |
| [`clockify_workspace_edit_project_custom_field_default_value`](#clockify_workspace_edit_project_custom_field_default_value)       | Update custom field on a project          |
| [`clockify_workspace_filter_users_of_workspace`](#clockify_workspace_filter_users_of_workspace)                                   | Filter workspace users                    |
| [`clockify_workspace_find_policies_for_workspace`](#clockify_workspace_find_policies_for_workspace)                               | Get policies on a workspace               |
| [`clockify_workspace_generate_new_token`](#clockify_workspace_generate_new_token)                                                 | Generate a new token                      |
| [`clockify_workspace_get_addon_webhooks`](#clockify_workspace_get_addon_webhooks)                                                 | Get all webhooks for addon on a workspace |
| [`clockify_workspace_get_custom_fields_of_project`](#clockify_workspace_get_custom_fields_of_project)                             | Get custom fields on a project            |
| [`clockify_workspace_get_logged_user`](#clockify_workspace_get_logged_user)                                                       | Get currently logged-in user's info       |
| [`clockify_workspace_get_logs_for_webhook`](#clockify_workspace_get_logs_for_webhook)                                             | Get logs for a webhook                    |
| [`clockify_workspace_get_managers_of_user`](#clockify_workspace_get_managers_of_user)                                             | Find user's team manager                  |
| [`clockify_workspace_get_member_profile`](#clockify_workspace_get_member_profile)                                                 | Get a member's profile                    |
| [`clockify_workspace_get_of_user`](#clockify_workspace_get_of_user)                                                               | Get workspace info                        |
| [`clockify_workspace_get_policy`](#clockify_workspace_get_policy)                                                                 | Get a time off policy                     |
| [`clockify_workspace_get_user_groups`](#clockify_workspace_get_user_groups)                                                       | Find all groups on a workspace            |
| [`clockify_workspace_get_users_of_workspace`](#clockify_workspace_get_users_of_workspace)                                         | Find all users on a workspace             |
| [`clockify_workspace_get_webhook`](#clockify_workspace_get_webhook)                                                               | Get a specific webhook by id              |
| [`clockify_workspace_get_webhooks`](#clockify_workspace_get_webhooks)                                                             | Get all webhooks on a workspace           |
| [`clockify_workspace_get_workspaces_of_user`](#clockify_workspace_get_workspaces_of_user)                                         | Get all my workspaces                     |
| [`clockify_workspace_of_workspace`](#clockify_workspace_of_workspace)                                                             | Get custom fields on a workspace          |
| [`clockify_workspace_remove_default_value_of_project`](#clockify_workspace_remove_default_value_of_project)                       | Remove custom field from a project        |
| [`clockify_workspace_set_cost_rate_for_user`](#clockify_workspace_set_cost_rate_for_user)                                         | Update a user's cost rate                 |
| [`clockify_workspace_set_hourly_rate_for_user`](#clockify_workspace_set_hourly_rate_for_user)                                     | Update a user's hourly rate               |
| [`clockify_workspace_set_workspace_cost_rate`](#clockify_workspace_set_workspace_cost_rate)                                       | Update workspace cost rate                |
| [`clockify_workspace_set_workspace_hourly_rate`](#clockify_workspace_set_workspace_hourly_rate)                                   | Update workspace billable rate            |
| [`clockify_workspace_update_member_profile_with_additional_data`](#clockify_workspace_update_member_profile_with_additional_data) | Update a member's profile                 |
| [`clockify_workspace_update_policy`](#clockify_workspace_update_policy)                                                           | Update a policy                           |
| [`clockify_workspace_update_policy_status`](#clockify_workspace_update_policy_status)                                             | Change a policy status                    |
| [`clockify_workspace_update_user_group`](#clockify_workspace_update_user_group)                                                   | Update a group                            |
| [`clockify_workspace_update_user_status`](#clockify_workspace_update_user_status)                                                 | Update a user's status                    |
| [`clockify_workspace_update_webhook`](#clockify_workspace_update_webhook)                                                         | Update a webhook                          |
| [`clockify_workspace_upload_image`](#clockify_workspace_upload_image)                                                             | Add a photo                               |
| [`clockify_workspace_upsert_user_custom_field_value`](#clockify_workspace_upsert_user_custom_field_value)                         | Update a user's custom field              |

***

## clockify\_workspace\_add\_user

Add users to a group

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                           |
| ------------- | ------ | -------- | ------- | ----------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.  |
| `userGroupId` | string | Yes      | —       | Represents a user group identifier across the system. |
| `userId`      | string | Yes      | —       | Represents a user identifier across the system.       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userGroupId": {
        "type": "string",
        "description": "Represents a user group identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userGroupId",
      "userId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_add\_users

Add user to a workspace

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                                             |
| ------------- | ------ | -------- | ------- | ----------------------------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.                    |
| `send-email`  | string | Yes      | —       | Indicates whether to send an email when user is added to the workspace. |
| `email`       | string | Yes      | —       | Represents an email address of the user.                                |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "send-email": {
        "type": "string",
        "description": "Indicates whether to send an email when user is added to the workspace."
      },
      "email": {
        "type": "string",
        "description": "Represents an email address of the user."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "send-email",
      "email"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_create

Create custom fields on a workspace

**Parameters:**

| Parameter               | Type      | Required | Default | Description                                                                                                                                                                                                                                                            |
| ----------------------- | --------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId`           | string    | Yes      | —       | Represents workspace identifier across the system.                                                                                                                                                                                                                     |
| `allowedValues`         | string\[] | No       | —       | Represents a list of custom field's allowed values.                                                                                                                                                                                                                    |
| `description`           | string    | No       | —       | Represents custom field description.                                                                                                                                                                                                                                   |
| `entityType`            | string    | No       | —       | Represents custom field entity type                                                                                                                                                                                                                                    |
| `name`                  | string    | Yes      | —       | Represents custom field name.                                                                                                                                                                                                                                          |
| `onlyAdminCanEdit`      | boolean   | No       | —       | Flag to set whether custom field is modifiable only by admin users.                                                                                                                                                                                                    |
| `placeholder`           | string    | No       | —       | Represents custom field placeholder value.                                                                                                                                                                                                                             |
| `status`                | string    | No       | —       | Represents custom field status                                                                                                                                                                                                                                         |
| `type`                  | string    | Yes      | —       | Represents custom field type.                                                                                                                                                                                                                                          |
| `workspaceDefaultValue` | object    | No       | —       | Represents a custom field's default value in the workspace.\<li>if type = NUMBER, then value must be a number\</li>\<li>if type = DROPDOWN\_MULTIPLE, value must be a list\</li>\<li>if type = CHECKBOX, value must be true/false\</li>\<li>otherwise any string\</li> |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents workspace identifier across the system."
      },
      "allowedValues": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Represents a list of custom field's allowed values."
      },
      "description": {
        "type": "string",
        "description": "Represents custom field description."
      },
      "entityType": {
        "type": "string",
        "description": "Represents custom field entity type",
        "enum": [
          "TIMEENTRY",
          "USER"
        ]
      },
      "name": {
        "type": "string",
        "description": "Represents custom field name."
      },
      "onlyAdminCanEdit": {
        "type": "boolean",
        "description": "Flag to set whether custom field is modifiable only by admin users."
      },
      "placeholder": {
        "type": "string",
        "description": "Represents custom field placeholder value."
      },
      "status": {
        "type": "string",
        "description": "Represents custom field status",
        "enum": [
          "INACTIVE",
          "VISIBLE",
          "INVISIBLE"
        ]
      },
      "type": {
        "type": "string",
        "description": "Represents custom field type.",
        "enum": [
          "TXT",
          "NUMBER",
          "DROPDOWN_SINGLE",
          "DROPDOWN_MULTIPLE",
          "CHECKBOX",
          "LINK"
        ]
      },
      "workspaceDefaultValue": {
        "type": "object",
        "description": "Represents a custom field's default value in the workspace.<li>if type = NUMBER, then value must be a number</li><li>if type = DROPDOWN_MULTIPLE, value must be a list</li><li>if type = CHECKBOX, value must be true/false</li><li>otherwise any string</li>"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "name",
      "type"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_create\_policy

Create a time off policy

**Parameters:**

| Parameter                    | Type    | Required | Default | Description                                                                                                                                                                                                                                           |
| ---------------------------- | ------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId`                | string  | Yes      | —       | Represents a workspace identifier across the system.                                                                                                                                                                                                  |
| `allowHalfDay`               | boolean | No       | —       | Indicates whether policy allows half days.                                                                                                                                                                                                            |
| `allowNegativeBalance`       | boolean | No       | —       | Indicates whether policy allows negative balances.                                                                                                                                                                                                    |
| `approve`                    | object  | Yes      | —       | Represents approval settings.                                                                                                                                                                                                                         |
| `archived`                   | boolean | No       | —       | Indicates whether policy is archived.                                                                                                                                                                                                                 |
| `automaticAccrual`           | object  | No       | —       | Provide automatic accrual settings.                                                                                                                                                                                                                   |
| `automaticTimeEntryCreation` | object  | No       | —       | Provides automatic time entry creation settings.                                                                                                                                                                                                      |
| `color`                      | string  | No       | —       | Provide color in format ^#(?:\[0-9a-fA-F]\{6})\{1}\$. Explanation: A valid color code should start with '#' and consist of six hexadecimal characters, representing a color in hexadecimal format. Color value is in standard RGB hexadecimal format. |
| `everyoneIncludingNew`       | boolean | No       | —       | Indicates whether the policy is to be applied to future new users.                                                                                                                                                                                    |
| `hasExpiration`              | boolean | No       | —       | Indicates whether the policy balance should have expiration                                                                                                                                                                                           |
| `icon`                       | string  | No       | —       | Provide icon.                                                                                                                                                                                                                                         |
| `name`                       | string  | Yes      | —       | Represents a name of new policy.                                                                                                                                                                                                                      |
| `negativeBalance`            | object  | No       | —       | Provide the negative balance data you would like to use for updating the policy.                                                                                                                                                                      |
| `timeUnit`                   | string  | No       | —       | Indicates time unit of the policy.                                                                                                                                                                                                                    |
| `userGroups`                 | object  | No       | —       | Provide list with user group ids and corresponding status.                                                                                                                                                                                            |
| `users`                      | object  | No       | —       | Provide list with user ids and corresponding status.                                                                                                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "allowHalfDay": {
        "type": "boolean",
        "description": "Indicates whether policy allows half days."
      },
      "allowNegativeBalance": {
        "type": "boolean",
        "description": "Indicates whether policy allows negative balances."
      },
      "approve": {
        "type": "object",
        "description": "Represents approval settings.",
        "properties": {
          "requiresApproval": {
            "type": "boolean",
            "description": "Indicates whether it requires approval"
          },
          "specificMembers": {
            "type": "boolean",
            "description": "Indicates whether it requires specific members"
          },
          "teamManagers": {
            "type": "boolean",
            "description": "Indicates whether it requires team manager's approval"
          },
          "userIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Represents set of user's identifier across the system"
          }
        }
      },
      "archived": {
        "type": "boolean",
        "description": "Indicates whether policy is archived."
      },
      "automaticAccrual": {
        "type": "object",
        "description": "Provide automatic accrual settings.",
        "properties": {
          "amount": {
            "type": "number",
            "description": "Represents amount of automatic accrual."
          },
          "period": {
            "type": "string",
            "description": "Represents automatic accrual period.",
            "enum": [
              "MONTH",
              "YEAR"
            ]
          },
          "timeUnit": {
            "type": "string",
            "description": "Represents automatic accrual time unit.",
            "enum": [
              "DAYS",
              "HOURS"
            ]
          }
        },
        "required": [
          "amount"
        ]
      },
      "automaticTimeEntryCreation": {
        "type": "object",
        "description": "Provides automatic time entry creation settings.",
        "properties": {
          "defaultEntities": {
            "type": "object",
            "description": "Provides information about default project and task for automatically created time entries."
          },
          "enabled": {
            "type": "boolean",
            "description": "Indicates that automatic time entry creation is enabled."
          }
        },
        "required": [
          "defaultEntities"
        ]
      },
      "color": {
        "type": "string",
        "description": "Provide color in format ^#(?:[0-9a-fA-F]{6}){1}$. Explanation: A valid color code should start with '#' and consist of six hexadecimal characters, representing a color in hexadecimal format. Color value is in standard RGB hexadecimal format."
      },
      "everyoneIncludingNew": {
        "type": "boolean",
        "description": "Indicates whether the policy is to be applied to future new users."
      },
      "hasExpiration": {
        "type": "boolean",
        "description": "Indicates whether the policy balance should have expiration"
      },
      "icon": {
        "type": "string",
        "description": "Provide icon.",
        "enum": [
          "UMBRELLA",
          "SNOWFLAKE",
          "FAMILY",
          "PLANE",
          "STETHOSCOPE",
          "HEALTH_METRICS",
          "CHILDCARE",
          "LUGGAGE",
          "MONETIZATION",
          "CALENDAR"
        ]
      },
      "name": {
        "type": "string",
        "description": "Represents a name of new policy."
      },
      "negativeBalance": {
        "type": "object",
        "description": "Provide the negative balance data you would like to use for updating the policy.",
        "properties": {
          "amount": {
            "type": "number",
            "description": "Represents negative balance amount."
          },
          "amountValidForTimeUnit": {
            "type": "boolean",
            "description": "Amount Valid For Time Unit"
          },
          "period": {
            "type": "string",
            "description": "Represents negative balance period.",
            "enum": [
              "MONTH",
              "YEAR"
            ]
          },
          "shouldReset": {
            "type": "boolean",
            "description": "Indicates whether negative balance should be reset at the end of the negative balance period."
          },
          "timeUnit": {
            "type": "string",
            "description": "Represents negative balance time unit.",
            "enum": [
              "DAYS",
              "HOURS"
            ]
          }
        },
        "required": [
          "amount"
        ]
      },
      "timeUnit": {
        "type": "string",
        "description": "Indicates time unit of the policy.",
        "enum": [
          "DAYS",
          "HOURS"
        ]
      },
      "userGroups": {
        "type": "object",
        "description": "Provide list with user group ids and corresponding status.",
        "properties": {
          "contains": {
            "type": "string",
            "description": "The contains value",
            "enum": [
              "CONTAINS",
              "DOES_NOT_CONTAIN"
            ]
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Represents ids upon which filtering is performed."
          },
          "status": {
            "type": "string",
            "description": "Represents user status.",
            "enum": [
              "ALL",
              "ACTIVE",
              "INACTIVE"
            ]
          }
        }
      },
      "users": {
        "type": "object",
        "description": "Provide list with user ids and corresponding status.",
        "properties": {
          "contains": {
            "type": "string",
            "description": "The contains value",
            "enum": [
              "CONTAINS",
              "DOES_NOT_CONTAIN"
            ]
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Represents ids upon which filtering is performed."
          },
          "status": {
            "type": "string",
            "description": "Represents user status.",
            "enum": [
              "ALL",
              "ACTIVE",
              "INACTIVE"
            ]
          }
        }
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "approve",
      "name"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_create\_user\_group

Add a new group

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `name`        | string | No       | —       | Represents a user group name.                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "name": {
        "type": "string",
        "description": "Represents a user group name."
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_create\_user\_role

Give manager role to a user

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                                                                                                                                                                                                                                |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.                                                                                                                                                                                                       |
| `userId`      | string | Yes      | —       | Represents a user identifier across the system.                                                                                                                                                                                                            |
| `entityId`    | string | Yes      | —       | Represents an entity identifier across the system.                                                                                                                                                                                                         |
| `role`        | string | Yes      | —       | Represents a valid role.                                                                                                                                                                                                                                   |
| `sourceType`  | string | No       | —       | Optional field used to indicate that the target of the operation is a user group, in which case the value USER\_GROUP should be used, alongside a valid user group ID for the entityId field. If omitted, a user ID should be used for the entityId field. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      },
      "entityId": {
        "type": "string",
        "description": "Represents an entity identifier across the system."
      },
      "role": {
        "type": "string",
        "description": "Represents a valid role.",
        "enum": [
          "WORKSPACE_ADMIN",
          "TEAM_MANAGER",
          "PROJECT_MANAGER"
        ]
      },
      "sourceType": {
        "type": "string",
        "description": "Optional field used to indicate that the target of the operation is a user group, in which case the value USER_GROUP should be used, alongside a valid user group ID for the entityId field. If omitted, a user ID should be used for the entityId field.",
        "enum": [
          "USER_GROUP"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId",
      "entityId",
      "role"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_create\_webhook

Create a webhook

**Parameters:**

| Parameter           | Type      | Required | Default | Description                                          |
| ------------------- | --------- | -------- | ------- | ---------------------------------------------------- |
| `workspaceId`       | string    | Yes      | —       | Represents a workspace identifier across the system. |
| `name`              | string    | No       | —       | Represents a webhook name.                           |
| `triggerSource`     | string\[] | Yes      | —       | Represents a list of trigger sources.                |
| `triggerSourceType` | string    | Yes      | —       | Represents a webhook event trigger source type.      |
| `url`               | string    | Yes      | —       | Represents a webhook target url.                     |
| `webhookEvent`      | string    | Yes      | —       | Represents a webhook event type.                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "name": {
        "type": "string",
        "description": "Represents a webhook name."
      },
      "triggerSource": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Represents a list of trigger sources."
      },
      "triggerSourceType": {
        "type": "string",
        "description": "Represents a webhook event trigger source type.",
        "enum": [
          "PROJECT_ID",
          "USER_ID",
          "TAG_ID",
          "TASK_ID",
          "WORKSPACE_ID",
          "ASSIGNMENT_ID",
          "EXPENSE_ID"
        ]
      },
      "url": {
        "type": "string",
        "description": "Represents a webhook target url."
      },
      "webhookEvent": {
        "type": "string",
        "description": "Represents a webhook event type.",
        "enum": [
          "NEW_PROJECT",
          "NEW_TASK",
          "NEW_CLIENT",
          "NEW_TIMER_STARTED",
          "TIMER_STOPPED",
          "TIME_ENTRY_UPDATED",
          "TIME_ENTRY_DELETED",
          "TIME_ENTRY_SPLIT",
          "NEW_TIME_ENTRY",
          "TIME_ENTRY_RESTORED",
          "NEW_TAG",
          "USER_DELETED_FROM_WORKSPACE",
          "USER_JOINED_WORKSPACE",
          "USER_DEACTIVATED_ON_WORKSPACE",
          "USER_ACTIVATED_ON_WORKSPACE",
          "USER_EMAIL_CHANGED",
          "USER_UPDATED",
          "NEW_INVOICE",
          "INVOICE_UPDATED",
          "NEW_APPROVAL_REQUEST",
          "APPROVAL_REQUEST_STATUS_UPDATED",
          "TIME_OFF_REQUESTED",
          "TIME_OFF_REQUEST_UPDATED",
          "TIME_OFF_REQUEST_APPROVED",
          "TIME_OFF_REQUEST_REJECTED",
          "TIME_OFF_REQUEST_WITHDRAWN",
          "BALANCE_UPDATED",
          "TAG_UPDATED",
          "TAG_DELETED",
          "TASK_UPDATED",
          "CLIENT_UPDATED",
          "TASK_DELETED",
          "CLIENT_DELETED",
          "EXPENSE_RESTORED",
          "ASSIGNMENT_CREATED",
          "ASSIGNMENT_DELETED",
          "ASSIGNMENT_PUBLISHED",
          "ASSIGNMENT_UPDATED",
          "EXPENSE_CREATED",
          "EXPENSE_DELETED",
          "EXPENSE_UPDATED",
          "PROJECT_UPDATED",
          "PROJECT_DELETED",
          "USER_GROUP_CREATED",
          "USER_GROUP_UPDATED",
          "USER_GROUP_DELETED",
          "USERS_INVITED_TO_WORKSPACE",
          "LIMITED_USERS_ADDED_TO_WORKSPACE",
          "COST_RATE_UPDATED",
          "BILLABLE_RATE_UPDATED"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "triggerSource",
      "triggerSourceType",
      "url",
      "webhookEvent"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_create\_workspace

Add a workspace

**Parameters:**

| Parameter        | Type   | Required | Default | Description                                                    |
| ---------------- | ------ | -------- | ------- | -------------------------------------------------------------- |
| `name`           | string | No       | —       | Represents a workspace name.                                   |
| `organizationId` | string | No       | —       | Represents the Cake organization identifier across the system. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "name": {
        "type": "string",
        "description": "Represents a workspace name."
      },
      "organizationId": {
        "type": "string",
        "description": "Represents the Cake organization identifier across the system."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_delete

Delete a custom field

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                           |
| --------------- | ------ | -------- | ------- | ----------------------------------------------------- |
| `workspaceId`   | string | Yes      | —       | Represents workspace identifier across the system.    |
| `customFieldId` | string | Yes      | —       | Represents custom field identifier across the system. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents workspace identifier across the system."
      },
      "customFieldId": {
        "type": "string",
        "description": "Represents custom field identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "customFieldId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_delete\_policy

Delete a policy

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `id`          | string | Yes      | —       | Represents a policy identifier across the system.    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "id": {
        "type": "string",
        "description": "Represents a policy identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "id"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_delete\_user

Remove a user from a group

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                           |
| ------------- | ------ | -------- | ------- | ----------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.  |
| `userGroupId` | string | Yes      | —       | Represents a user group identifier across the system. |
| `userId`      | string | Yes      | —       | Represents a user identifier across the system.       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userGroupId": {
        "type": "string",
        "description": "Represents a user group identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userGroupId",
      "userId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_delete\_user\_group

Delete a group

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                           |
| ------------- | ------ | -------- | ------- | ----------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.  |
| `id`          | string | Yes      | —       | Represents a user group identifier across the system. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "id": {
        "type": "string",
        "description": "Represents a user group identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "id"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_delete\_user\_role

Remove user's manager role

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                                                                                                                                                                                                                                |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.                                                                                                                                                                                                       |
| `userId`      | string | Yes      | —       | Represents a user identifier across the system.                                                                                                                                                                                                            |
| `entityId`    | string | Yes      | —       | Represents an entity identifier across the system.                                                                                                                                                                                                         |
| `role`        | string | Yes      | —       | Represents a valid role.                                                                                                                                                                                                                                   |
| `sourceType`  | string | No       | —       | Optional field used to indicate that the target of the operation is a user group, in which case the value USER\_GROUP should be used, alongside a valid user group ID for the entityId field. If omitted, a user ID should be used for the entityId field. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      },
      "entityId": {
        "type": "string",
        "description": "Represents an entity identifier across the system."
      },
      "role": {
        "type": "string",
        "description": "Represents a valid role.",
        "enum": [
          "WORKSPACE_ADMIN",
          "TEAM_MANAGER",
          "PROJECT_MANAGER"
        ]
      },
      "sourceType": {
        "type": "string",
        "description": "Optional field used to indicate that the target of the operation is a user group, in which case the value USER_GROUP should be used, alongside a valid user group ID for the entityId field. If omitted, a user ID should be used for the entityId field.",
        "enum": [
          "USER_GROUP"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId",
      "entityId",
      "role"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_delete\_webhook

Delete a webhook

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `webhookId`   | string | Yes      | —       | Represents a webhook identifier across the system.   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "webhookId": {
        "type": "string",
        "description": "Represents a webhook identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "webhookId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_edit\_custom\_field

Update custom field on workspace

**Parameters:**

| Parameter               | Type      | Required | Default | Description                                                         |
| ----------------------- | --------- | -------- | ------- | ------------------------------------------------------------------- |
| `workspaceId`           | string    | Yes      | —       | Represents a workspace identifier across the system.                |
| `customFieldId`         | string    | Yes      | —       | Represents a custom field identifier across the system.             |
| `allowedValues`         | string\[] | No       | —       | Represents a list of custom field's allowed values.                 |
| `description`           | string    | No       | —       | Represents a custom field description.                              |
| `name`                  | string    | Yes      | —       | Represents a custom field name.                                     |
| `onlyAdminCanEdit`      | boolean   | No       | —       | Flag to set whether custom field is modifiable only by admin users. |
| `placeholder`           | string    | No       | —       | Represents a custom field placeholder value.                        |
| `required`              | boolean   | No       | —       | Flag to set whether custom field is mandatory or not.               |
| `status`                | string    | No       | —       | Represents a custom field status                                    |
| `type`                  | string    | Yes      | —       | Represents a custom field type.                                     |
| `workspaceDefaultValue` | object    | No       | —       | Represents a custom field's default value in the workspace.         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "customFieldId": {
        "type": "string",
        "description": "Represents a custom field identifier across the system."
      },
      "allowedValues": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Represents a list of custom field's allowed values."
      },
      "description": {
        "type": "string",
        "description": "Represents a custom field description."
      },
      "name": {
        "type": "string",
        "description": "Represents a custom field name."
      },
      "onlyAdminCanEdit": {
        "type": "boolean",
        "description": "Flag to set whether custom field is modifiable only by admin users."
      },
      "placeholder": {
        "type": "string",
        "description": "Represents a custom field placeholder value."
      },
      "required": {
        "type": "boolean",
        "description": "Flag to set whether custom field is mandatory or not."
      },
      "status": {
        "type": "string",
        "description": "Represents a custom field status",
        "enum": [
          "INACTIVE",
          "VISIBLE",
          "INVISIBLE"
        ]
      },
      "type": {
        "type": "string",
        "description": "Represents a custom field type.",
        "enum": [
          "TXT",
          "NUMBER",
          "DROPDOWN_SINGLE",
          "DROPDOWN_MULTIPLE",
          "CHECKBOX",
          "LINK"
        ]
      },
      "workspaceDefaultValue": {
        "type": "object",
        "description": "Represents a custom field's default value in the workspace."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "customFieldId",
      "name",
      "type"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_edit\_project\_custom\_field\_default\_value

Update custom field on a project

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                             |
| --------------- | ------ | -------- | ------- | ------------------------------------------------------- |
| `workspaceId`   | string | Yes      | —       | Represents a workspace identifier across the system.    |
| `projectId`     | string | Yes      | —       | Represents a project identifier across the system.      |
| `customFieldId` | string | Yes      | —       | Represents a custom field identifier across the system. |
| `defaultValue`  | object | No       | —       | Represents a custom field's default value.              |
| `status`        | string | No       | —       | Represents a custom field status.                       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "projectId": {
        "type": "string",
        "description": "Represents a project identifier across the system."
      },
      "customFieldId": {
        "type": "string",
        "description": "Represents a custom field identifier across the system."
      },
      "defaultValue": {
        "type": "object",
        "description": "Represents a custom field's default value."
      },
      "status": {
        "type": "string",
        "description": "Represents a custom field status.",
        "enum": [
          "INACTIVE",
          "VISIBLE",
          "INVISIBLE"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "projectId",
      "customFieldId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_filter\_users\_of\_workspace

Filter workspace users

**Parameters:**

| Parameter         | Type      | Required | Default | Description                                                                                                                                                                                   |
| ----------------- | --------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId`     | string    | Yes      | —       | Represents a workspace identifier across the system.                                                                                                                                          |
| `accountStatuses` | string\[] | No       | —       | If provided, you'll get a filtered list of users with the corresponding account status filter. If not, this will only filter ACTIVE, PENDING\_EMAIL\_VERIFICATION, and NOT\_REGISTERED Users. |
| `email`           | string    | No       | —       | If provided, you'll get a filtered list of users that contain the provided string in their email address.                                                                                     |
| `includeRoles`    | boolean   | No       | —       | If you pass along includeRoles=true, you'll get each user's detailed manager role (including projects and members for whom they're managers)                                                  |
| `memberships`     | string    | No       | —       | If provided, you'll get all users along with workspaces, groups, or projects they have access to.                                                                                             |
| `name`            | string    | No       | —       | If provided, you'll get a filtered list of users that contain the provided string in their name.                                                                                              |
| `page`            | integer   | No       | —       | Page number.                                                                                                                                                                                  |
| `pageSize`        | integer   | No       | —       | Page size.                                                                                                                                                                                    |
| `projectId`       | string    | No       | —       | If provided, you'll get a list of users that have access to the project.                                                                                                                      |
| `roles`           | string\[] | No       | —       | If provided, you'll get a filtered list of users that have any of the specified roles. Owners are counted as admins when filtering.                                                           |
| `sortColumn`      | string    | No       | —       | Sorting criteria                                                                                                                                                                              |
| `sortOrder`       | string    | No       | —       | Sorting mode                                                                                                                                                                                  |
| `status`          | string    | No       | —       | If provided, you'll get a filtered list of users with the corresponding status.                                                                                                               |
| `userGroups`      | string\[] | No       | —       | If provided, you'll get a list of users that belong to the specified user group IDs.                                                                                                          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "accountStatuses": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "If provided, you'll get a filtered list of users with the corresponding account status filter. If not, this will only filter ACTIVE, PENDING_EMAIL_VERIFICATION, and NOT_REGISTERED Users."
      },
      "email": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of users that contain the provided string in their email address."
      },
      "includeRoles": {
        "type": "boolean",
        "description": "If you pass along includeRoles=true, you'll get each user's detailed manager role (including projects and members for whom they're managers)"
      },
      "memberships": {
        "type": "string",
        "description": "If provided, you'll get all users along with workspaces, groups, or projects they have access to.",
        "enum": [
          "ALL",
          "NONE",
          "WORKSPACE",
          "PROJECT",
          "USERGROUP"
        ]
      },
      "name": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of users that contain the provided string in their name."
      },
      "page": {
        "type": "integer",
        "description": "Page number."
      },
      "pageSize": {
        "type": "integer",
        "description": "Page size."
      },
      "projectId": {
        "type": "string",
        "description": "If provided, you'll get a list of users that have access to the project."
      },
      "roles": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "WORKSPACE_ADMIN",
            "OWNER",
            "TEAM_MANAGER",
            "PROJECT_MANAGER"
          ]
        },
        "description": "If provided, you'll get a filtered list of users that have any of the specified roles. Owners are counted as admins when filtering."
      },
      "sortColumn": {
        "type": "string",
        "description": "Sorting criteria",
        "enum": [
          "ID",
          "EMAIL",
          "NAME",
          "NAME_LOWERCASE",
          "ACCESS",
          "HOURLYRATE",
          "COSTRATE"
        ]
      },
      "sortOrder": {
        "type": "string",
        "description": "Sorting mode",
        "enum": [
          "ASCENDING",
          "DESCENDING"
        ]
      },
      "status": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of users with the corresponding status.",
        "enum": [
          "PENDING",
          "ACTIVE",
          "DECLINED",
          "INACTIVE",
          "ALL"
        ]
      },
      "userGroups": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "If provided, you'll get a list of users that belong to the specified user group IDs."
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_find\_policies\_for\_workspace

Get policies on a workspace

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                                                         |
| ------------- | ------- | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `workspaceId` | string  | Yes      | —       | Represents a workspace identifier across the system.                                                |
| `page`        | string  | No       | —       | Page number.                                                                                        |
| `page-size`   | integer | No       | —       | Page size.                                                                                          |
| `name`        | string  | No       | —       | If provided, you'll get a filtered list of policies that contain the provided string in their name. |
| `status`      | string  | No       | —       | If provided, you'll get a filtered list of policies with the corresponding status.                  |
| `sort-column` | string  | No       | —       | The sort-column value                                                                               |
| `sort-order`  | string  | No       | —       | The sort-order value                                                                                |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "page": {
        "type": "string",
        "description": "Page number."
      },
      "page-size": {
        "type": "integer",
        "description": "Page size."
      },
      "name": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of policies that contain the provided string in their name."
      },
      "status": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of policies with the corresponding status.",
        "enum": [
          "ACTIVE",
          "ARCHIVED",
          "ALL"
        ]
      },
      "sort-column": {
        "type": "string",
        "description": "The sort-column value"
      },
      "sort-order": {
        "type": "string",
        "description": "The sort-order value"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_generate\_new\_token

Generate a new token

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `webhookId`   | string | Yes      | —       | Represents a webhook identifier across the system.   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "webhookId": {
        "type": "string",
        "description": "Represents a webhook identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "webhookId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_addon\_webhooks

Get all webhooks for addon on a workspace

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `addonId`     | string | Yes      | —       | Represents an addon identifier across the system.    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "addonId": {
        "type": "string",
        "description": "Represents an addon identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "addonId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_custom\_fields\_of\_project

Get custom fields on a project

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                                                                                                  |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.                                                                         |
| `projectId`   | string | Yes      | —       | Represents a project identifier across the system.                                                                           |
| `status`      | string | No       | —       | If provided, you'll get a filtered list of custom fields that matches the provided string with the custom field status.      |
| `entity-type` | string | No       | —       | If provided, you'll get a filtered list of custom fields that matches the provided string with the custom field entity type. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "projectId": {
        "type": "string",
        "description": "Represents a project identifier across the system."
      },
      "status": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of custom fields that matches the provided string with the custom field status.",
        "enum": [
          "INACTIVE",
          "VISIBLE",
          "INVISIBLE"
        ]
      },
      "entity-type": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of custom fields that matches the provided string with the custom field entity type."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "projectId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_logged\_user

Get currently logged-in user's info

**Parameters:**

| Parameter             | Type    | Required | Default | Description                                   |
| --------------------- | ------- | -------- | ------- | --------------------------------------------- |
| `include-memberships` | boolean | No       | —       | If set to true, memberships will be included. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "include-memberships": {
        "type": "boolean",
        "description": "If set to true, memberships will be included."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_logs\_for\_webhook

Get logs for a webhook

**Parameters:**

| Parameter      | Type    | Required | Default | Description                                                                                                                       |
| -------------- | ------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId`  | string  | Yes      | —       | Represents a workspace identifier across the system.                                                                              |
| `webhookId`    | string  | Yes      | —       | Represents a webhook identifier across the system.                                                                                |
| `page`         | integer | No       | —       | Page number.                                                                                                                      |
| `size`         | integer | No       | —       | Page size.                                                                                                                        |
| `from`         | string  | No       | —       | Represents date and time in yyyy-MM-ddThh:mm:ssZ format. If provided, results will include logs which occurred after this value.  |
| `sortByNewest` | boolean | No       | —       | If set to true, logs will be sorted with most recent first.                                                                       |
| `status`       | string  | No       | —       | Filters logs by status.                                                                                                           |
| `to`           | string  | No       | —       | Represents date and time in yyyy-MM-ddThh:mm:ssZ format. If provided, results will include logs which occurred before this value. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "webhookId": {
        "type": "string",
        "description": "Represents a webhook identifier across the system."
      },
      "page": {
        "type": "integer",
        "description": "Page number."
      },
      "size": {
        "type": "integer",
        "description": "Page size."
      },
      "from": {
        "type": "string",
        "description": "Represents date and time in yyyy-MM-ddThh:mm:ssZ format. If provided, results will include logs which occurred after this value."
      },
      "sortByNewest": {
        "type": "boolean",
        "description": "If set to true, logs will be sorted with most recent first."
      },
      "status": {
        "type": "string",
        "description": "Filters logs by status.",
        "enum": [
          "ALL",
          "SUCCEEDED",
          "FAILED"
        ]
      },
      "to": {
        "type": "string",
        "description": "Represents date and time in yyyy-MM-ddThh:mm:ssZ format. If provided, results will include logs which occurred before this value."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "webhookId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_managers\_of\_user

Find user's team manager

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                          |
| ------------- | ------- | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string  | Yes      | —       | Represents a workspace identifier across the system. |
| `userId`      | string  | Yes      | —       | Represents a user identifier across the system.      |
| `sort-column` | string  | No       | —       | Sorting column criteria                              |
| `sort-order`  | string  | No       | —       | Sorting mode                                         |
| `page`        | integer | No       | —       | Page number.                                         |
| `page-size`   | integer | No       | —       | Page size.                                           |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      },
      "sort-column": {
        "type": "string",
        "description": "Sorting column criteria",
        "enum": [
          "ID",
          "EMAIL",
          "NAME",
          "NAME_LOWERCASE",
          "ACCESS",
          "HOURLYRATE",
          "COSTRATE"
        ]
      },
      "sort-order": {
        "type": "string",
        "description": "Sorting mode",
        "enum": [
          "ASCENDING",
          "DESCENDING"
        ]
      },
      "page": {
        "type": "integer",
        "description": "Page number."
      },
      "page-size": {
        "type": "integer",
        "description": "Page size."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_member\_profile

Get a member's profile

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `userId`      | string | Yes      | —       | Represents a user identifier across the system.      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_of\_user

Get workspace info

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_policy

Get a time off policy

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `id`          | string | Yes      | —       | Represents a policy identifier across the system.    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "id": {
        "type": "string",
        "description": "Represents a policy identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "id"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_user\_groups

Find all groups on a workspace

**Parameters:**

| Parameter             | Type    | Required | Default | Description                                                                                             |
| --------------------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------- |
| `workspaceId`         | string  | Yes      | —       | Represents a workspace identifier across the system.                                                    |
| `project-id`          | string  | No       | —       | If provided, you'll get a filtered list of groups that matches the string provided in their project id. |
| `name`                | string  | No       | —       | If provided, you'll get a filtered list of groups that matches the string provided in their name.       |
| `sort-column`         | string  | No       | —       | Column to be used as the sorting criteria.                                                              |
| `sort-order`          | string  | No       | —       | Sorting mode.                                                                                           |
| `page`                | integer | No       | —       | Page number.                                                                                            |
| `page-size`           | integer | No       | —       | Page size.                                                                                              |
| `includeTeamManagers` | boolean | No       | —       | If provided, you'll get a list of team managers assigned to this user group.                            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "project-id": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of groups that matches the string provided in their project id."
      },
      "name": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of groups that matches the string provided in their name."
      },
      "sort-column": {
        "type": "string",
        "description": "Column to be used as the sorting criteria.",
        "enum": [
          "ID",
          "NAME"
        ]
      },
      "sort-order": {
        "type": "string",
        "description": "Sorting mode.",
        "enum": [
          "ASCENDING",
          "DESCENDING"
        ]
      },
      "page": {
        "type": "integer",
        "description": "Page number."
      },
      "page-size": {
        "type": "integer",
        "description": "Page size."
      },
      "includeTeamManagers": {
        "type": "boolean",
        "description": "If provided, you'll get a list of team managers assigned to this user group."
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_users\_of\_workspace

Find all users on a workspace

**Parameters:**

| Parameter          | Type    | Required | Default | Description                                                                                                                                                                                   |
| ------------------ | ------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId`      | string  | Yes      | —       | Represents a workspace identifier across the system.                                                                                                                                          |
| `email`            | string  | No       | —       | If provided, you'll get a filtered list of users that contain the provided string in their email address.                                                                                     |
| `project-id`       | string  | No       | —       | If provided, you'll get a list of users that have access to the project.                                                                                                                      |
| `status`           | string  | No       | —       | If provided, you'll get a filtered list of users with the corresponding status.                                                                                                               |
| `account-statuses` | string  | No       | —       | If provided, you'll get a filtered list of users with the corresponding account status filter. If not, this will only filter ACTIVE, PENDING\_EMAIL\_VERIFICATION, and NOT\_REGISTERED Users. |
| `name`             | string  | No       | —       | If provided, you'll get a filtered list of users that contain the provided string in their name                                                                                               |
| `sort-column`      | string  | No       | —       | Sorting column criteria. Default value: EMAIL                                                                                                                                                 |
| `sort-order`       | string  | No       | —       | Sorting mode. Default value: ASCENDING                                                                                                                                                        |
| `page`             | integer | No       | —       | Page number.                                                                                                                                                                                  |
| `page-size`        | integer | No       | —       | Page size.                                                                                                                                                                                    |
| `memberships`      | string  | No       | —       | If provided, you'll get all users along with workspaces, groups, or projects they have access to. Default value is NONE.                                                                      |
| `include-roles`    | string  | Yes      | —       | If you pass along includeRoles=true, you'll get each user's detailed manager role (including projects and members which they manage)                                                          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "email": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of users that contain the provided string in their email address."
      },
      "project-id": {
        "type": "string",
        "description": "If provided, you'll get a list of users that have access to the project."
      },
      "status": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of users with the corresponding status.",
        "enum": [
          "PENDING",
          "ACTIVE",
          "DECLINED",
          "INACTIVE",
          "ALL"
        ]
      },
      "account-statuses": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of users with the corresponding account status filter. If not, this will only filter ACTIVE, PENDING_EMAIL_VERIFICATION, and NOT_REGISTERED Users."
      },
      "name": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of users that contain the provided string in their name"
      },
      "sort-column": {
        "type": "string",
        "description": "Sorting column criteria. Default value: EMAIL",
        "enum": [
          "ID",
          "EMAIL",
          "NAME",
          "NAME_LOWERCASE",
          "ACCESS",
          "HOURLYRATE",
          "COSTRATE"
        ]
      },
      "sort-order": {
        "type": "string",
        "description": "Sorting mode. Default value: ASCENDING",
        "enum": [
          "ASCENDING",
          "DESCENDING"
        ]
      },
      "page": {
        "type": "integer",
        "description": "Page number."
      },
      "page-size": {
        "type": "integer",
        "description": "Page size."
      },
      "memberships": {
        "type": "string",
        "description": "If provided, you'll get all users along with workspaces, groups, or projects they have access to. Default value is NONE.",
        "enum": [
          "ALL",
          "NONE",
          "WORKSPACE",
          "PROJECT",
          "USERGROUP"
        ]
      },
      "include-roles": {
        "type": "string",
        "description": "If you pass along includeRoles=true, you'll get each user's detailed manager role (including projects and members which they manage)"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "include-roles"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_webhook

Get a specific webhook by id

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `webhookId`   | string | Yes      | —       | Represents a webhook identifier across the system.   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "webhookId": {
        "type": "string",
        "description": "Represents a webhook identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "webhookId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_webhooks

Get all webhooks on a workspace

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `type`        | string | No       | —       | Represents a webhook type.                           |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "type": {
        "type": "string",
        "description": "Represents a webhook type.",
        "enum": [
          "USER_CREATED",
          "SYSTEM",
          "ADDON"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_get\_workspaces\_of\_user

Get all my workspaces

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                                                                                       |
| --------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `roles`   | string | No       | —       | If provided, you'll get a filtered list of workspaces where you have any of the specified roles. Owners are not counted as admins when filtering. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "roles": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of workspaces where you have any of the specified roles. Owners are not counted as admins when filtering.",
        "enum": [
          "WORKSPACE_ADMIN",
          "OWNER",
          "TEAM_MANAGER",
          "PROJECT_MANAGER"
        ]
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_of\_workspace

Get custom fields on a workspace

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                                                                                                  |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.                                                                         |
| `name`        | string | No       | —       | If provided, you'll get a filtered list of custom fields that contain the provided string in their name.                     |
| `status`      | string | No       | —       | If provided, you'll get a filtered list of custom fields that matches the provided string with the custom field status.      |
| `entity-type` | string | No       | —       | If provided, you'll get a filtered list of custom fields that matches the provided string with the custom field entity type. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "name": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of custom fields that contain the provided string in their name."
      },
      "status": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of custom fields that matches the provided string with the custom field status.",
        "enum": [
          "INACTIVE",
          "VISIBLE",
          "INVISIBLE"
        ]
      },
      "entity-type": {
        "type": "string",
        "description": "If provided, you'll get a filtered list of custom fields that matches the provided string with the custom field entity type."
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_remove\_default\_value\_of\_project

Remove custom field from a project

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                             |
| --------------- | ------ | -------- | ------- | ------------------------------------------------------- |
| `workspaceId`   | string | Yes      | —       | Represents a workspace identifier across the system.    |
| `projectId`     | string | Yes      | —       | Represents a project identifier across the system.      |
| `customFieldId` | string | Yes      | —       | Represents a custom field identifier across the system. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "projectId": {
        "type": "string",
        "description": "Represents a project identifier across the system."
      },
      "customFieldId": {
        "type": "string",
        "description": "Represents a custom field identifier across the system."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "projectId",
      "customFieldId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_set\_cost\_rate\_for\_user

Update a user's cost rate

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                |
| ------------- | ------- | -------- | ------- | ---------------------------------------------------------- |
| `workspaceId` | string  | Yes      | —       | Represents a workspace identifier across the system.       |
| `userId`      | string  | Yes      | —       | Represents a user identifier across the system.            |
| `amount`      | integer | Yes      | —       | Represents an amount as integer.                           |
| `since`       | string  | No       | —       | Represents a date and time in yyyy-MM-ddThh:mm:ssZ format. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      },
      "amount": {
        "type": "integer",
        "description": "Represents an amount as integer."
      },
      "since": {
        "type": "string",
        "description": "Represents a date and time in yyyy-MM-ddThh:mm:ssZ format."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId",
      "amount"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_set\_hourly\_rate\_for\_user

Update a user's hourly rate

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                |
| ------------- | ------- | -------- | ------- | ---------------------------------------------------------- |
| `workspaceId` | string  | Yes      | —       | Represents a workspace identifier across the system.       |
| `userId`      | string  | Yes      | —       | Represents a user identifier across the system.            |
| `amount`      | integer | Yes      | —       | Represents an hourly rate amount as integer.               |
| `since`       | string  | No       | —       | Represents a date and time in yyyy-MM-ddThh:mm:ssZ format. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      },
      "amount": {
        "type": "integer",
        "description": "Represents an hourly rate amount as integer."
      },
      "since": {
        "type": "string",
        "description": "Represents a date and time in yyyy-MM-ddThh:mm:ssZ format."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId",
      "amount"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_set\_workspace\_cost\_rate

Update workspace cost rate

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                |
| ------------- | ------- | -------- | ------- | ---------------------------------------------------------- |
| `workspaceId` | string  | Yes      | —       | Represents a workspace identifier across the system.       |
| `amount`      | integer | Yes      | —       | Represents an amount as integer.                           |
| `since`       | string  | No       | —       | Represents a date and time in yyyy-MM-ddThh:mm:ssZ format. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "amount": {
        "type": "integer",
        "description": "Represents an amount as integer."
      },
      "since": {
        "type": "string",
        "description": "Represents a date and time in yyyy-MM-ddThh:mm:ssZ format."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "amount"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_set\_workspace\_hourly\_rate

Update workspace billable rate

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                |
| ------------- | ------- | -------- | ------- | ---------------------------------------------------------- |
| `workspaceId` | string  | Yes      | —       | Represents a workspace identifier across the system.       |
| `amount`      | integer | Yes      | —       | Represents an amount as integer.                           |
| `currency`    | string  | Yes      | —       | Represents a currency.                                     |
| `since`       | string  | No       | —       | Represents a date and time in yyyy-MM-ddThh:mm:ssZ format. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "amount": {
        "type": "integer",
        "description": "Represents an amount as integer."
      },
      "currency": {
        "type": "string",
        "description": "Represents a currency."
      },
      "since": {
        "type": "string",
        "description": "Represents a date and time in yyyy-MM-ddThh:mm:ssZ format."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "amount",
      "currency"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_update\_member\_profile\_with\_additional\_data

Update a member's profile

**Parameters:**

| Parameter            | Type      | Required | Default | Description                                                                                                                                                   |
| -------------------- | --------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId`        | string    | Yes      | —       | Represents a workspace identifier across the system.                                                                                                          |
| `userId`             | string    | Yes      | —       | Represents a user identifier across the system.                                                                                                               |
| `imageUrl`           | string    | No       | —       | Represents an image url. A field that can only be updated for limited users.                                                                                  |
| `name`               | string    | No       | —       | This body field is deprecated and can only be updated for limited users. Represents name of the user and can be changed on the CAKE.com Account profile page. |
| `removeProfileImage` | boolean   | No       | —       | Indicates whether to remove profile image or not. A field that can only be updated for limited users.                                                         |
| `userCustomFields`   | object\[] | No       | —       | Represents a list of upsert user custom field objects.                                                                                                        |
| `weekStart`          | string    | No       | —       | Represents a day of the week.                                                                                                                                 |
| `workCapacity`       | string    | No       | —       | Represents work capacity as a time duration in the ISO-8601 format. For example, for a 7hr work day, input should be PT7H.                                    |
| `workingDays`        | string    | No       | —       | Represents a list of days of the week.                                                                                                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      },
      "imageUrl": {
        "type": "string",
        "description": "Represents an image url. A field that can only be updated for limited users."
      },
      "name": {
        "type": "string",
        "description": "This body field is deprecated and can only be updated for limited users. Represents name of the user and can be changed on the CAKE.com Account profile page."
      },
      "removeProfileImage": {
        "type": "boolean",
        "description": "Indicates whether to remove profile image or not. A field that can only be updated for limited users."
      },
      "userCustomFields": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "customFieldId": {
              "type": "string",
              "description": "Represents custom field identifier across the system."
            },
            "value": {
              "type": "object",
              "description": "Represents custom field value."
            }
          },
          "required": [
            "customFieldId"
          ]
        },
        "description": "Represents a list of upsert user custom field objects."
      },
      "weekStart": {
        "type": "string",
        "description": "Represents a day of the week.",
        "enum": [
          "MONDAY",
          "TUESDAY",
          "WEDNESDAY",
          "THURSDAY",
          "FRIDAY",
          "SATURDAY",
          "SUNDAY"
        ]
      },
      "workCapacity": {
        "type": "string",
        "description": "Represents work capacity as a time duration in the ISO-8601 format. For example, for a 7hr work day, input should be PT7H."
      },
      "workingDays": {
        "type": "string",
        "description": "Represents a list of days of the week.",
        "enum": [
          "MONDAY",
          "TUESDAY",
          "WEDNESDAY",
          "THURSDAY",
          "FRIDAY",
          "SATURDAY",
          "SUNDAY"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_update\_policy

Update a policy

**Parameters:**

| Parameter                    | Type    | Required | Default | Description                                                                                                                                                                                                                                           |
| ---------------------------- | ------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspaceId`                | string  | Yes      | —       | Represents a workspace identifier across the system.                                                                                                                                                                                                  |
| `id`                         | string  | Yes      | —       | Represents a policy identifier across the system.                                                                                                                                                                                                     |
| `allowHalfDay`               | boolean | Yes      | —       | Indicates whether policy allows half day.                                                                                                                                                                                                             |
| `allowNegativeBalance`       | boolean | Yes      | —       | Indicates whether policy allows negative balance.                                                                                                                                                                                                     |
| `approve`                    | object  | Yes      | —       | Represents approval settings.                                                                                                                                                                                                                         |
| `archived`                   | boolean | Yes      | —       | Indicates whether policy is archived.                                                                                                                                                                                                                 |
| `automaticAccrual`           | object  | No       | —       | Provide automatic accrual settings.                                                                                                                                                                                                                   |
| `automaticTimeEntryCreation` | object  | No       | —       | Provides automatic time entry creation settings.                                                                                                                                                                                                      |
| `color`                      | string  | No       | —       | Provide color in format ^#(?:\[0-9a-fA-F]\{6})\{1}\$. Explanation: A valid color code should start with '#' and consist of six hexadecimal characters, representing a color in hexadecimal format. Color value is in standard RGB hexadecimal format. |
| `everyoneIncludingNew`       | boolean | Yes      | —       | Indicates whether the policy is shown to new users.                                                                                                                                                                                                   |
| `hasExpiration`              | boolean | Yes      | —       | Indicates whether the policy has expiration.                                                                                                                                                                                                          |
| `icon`                       | string  | No       | —       | Provide icon.                                                                                                                                                                                                                                         |
| `name`                       | string  | Yes      | —       | Provide the name you would like to use for updating the policy.                                                                                                                                                                                       |
| `negativeBalance`            | object  | No       | —       | Provide the negative balance data you would like to use for updating the policy.                                                                                                                                                                      |
| `userGroups`                 | object  | Yes      | —       | Provide list with user group ids and corresponding status.                                                                                                                                                                                            |
| `users`                      | object  | Yes      | —       | Provide list with user ids and corresponding status.                                                                                                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "id": {
        "type": "string",
        "description": "Represents a policy identifier across the system."
      },
      "allowHalfDay": {
        "type": "boolean",
        "description": "Indicates whether policy allows half day."
      },
      "allowNegativeBalance": {
        "type": "boolean",
        "description": "Indicates whether policy allows negative balance."
      },
      "approve": {
        "type": "object",
        "description": "Represents approval settings.",
        "properties": {
          "requiresApproval": {
            "type": "boolean",
            "description": "Indicates whether it requires approval"
          },
          "specificMembers": {
            "type": "boolean",
            "description": "Indicates whether it requires specific members"
          },
          "teamManagers": {
            "type": "boolean",
            "description": "Indicates whether it requires team manager's approval"
          },
          "userIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Represents set of user's identifier across the system"
          }
        }
      },
      "archived": {
        "type": "boolean",
        "description": "Indicates whether policy is archived."
      },
      "automaticAccrual": {
        "type": "object",
        "description": "Provide automatic accrual settings.",
        "properties": {
          "amount": {
            "type": "number",
            "description": "Represents amount of automatic accrual."
          },
          "period": {
            "type": "string",
            "description": "Represents automatic accrual period.",
            "enum": [
              "MONTH",
              "YEAR"
            ]
          },
          "timeUnit": {
            "type": "string",
            "description": "Represents automatic accrual time unit.",
            "enum": [
              "DAYS",
              "HOURS"
            ]
          }
        },
        "required": [
          "amount"
        ]
      },
      "automaticTimeEntryCreation": {
        "type": "object",
        "description": "Provides automatic time entry creation settings.",
        "properties": {
          "defaultEntities": {
            "type": "object",
            "description": "Provides information about default project and task for automatically created time entries."
          },
          "enabled": {
            "type": "boolean",
            "description": "Indicates that automatic time entry creation is enabled."
          }
        },
        "required": [
          "defaultEntities"
        ]
      },
      "color": {
        "type": "string",
        "description": "Provide color in format ^#(?:[0-9a-fA-F]{6}){1}$. Explanation: A valid color code should start with '#' and consist of six hexadecimal characters, representing a color in hexadecimal format. Color value is in standard RGB hexadecimal format."
      },
      "everyoneIncludingNew": {
        "type": "boolean",
        "description": "Indicates whether the policy is shown to new users."
      },
      "hasExpiration": {
        "type": "boolean",
        "description": "Indicates whether the policy has expiration."
      },
      "icon": {
        "type": "string",
        "description": "Provide icon.",
        "enum": [
          "UMBRELLA",
          "SNOWFLAKE",
          "FAMILY",
          "PLANE",
          "STETHOSCOPE",
          "HEALTH_METRICS",
          "CHILDCARE",
          "LUGGAGE",
          "MONETIZATION",
          "CALENDAR"
        ]
      },
      "name": {
        "type": "string",
        "description": "Provide the name you would like to use for updating the policy."
      },
      "negativeBalance": {
        "type": "object",
        "description": "Provide the negative balance data you would like to use for updating the policy.",
        "properties": {
          "amount": {
            "type": "number",
            "description": "Represents negative balance amount."
          },
          "amountValidForTimeUnit": {
            "type": "boolean",
            "description": "Amount Valid For Time Unit"
          },
          "period": {
            "type": "string",
            "description": "Represents negative balance period.",
            "enum": [
              "MONTH",
              "YEAR"
            ]
          },
          "shouldReset": {
            "type": "boolean",
            "description": "Indicates whether negative balance should be reset at the end of the negative balance period."
          },
          "timeUnit": {
            "type": "string",
            "description": "Represents negative balance time unit.",
            "enum": [
              "DAYS",
              "HOURS"
            ]
          }
        },
        "required": [
          "amount"
        ]
      },
      "userGroups": {
        "type": "object",
        "description": "Provide list with user group ids and corresponding status.",
        "properties": {
          "contains": {
            "type": "string",
            "description": "The contains value",
            "enum": [
              "CONTAINS",
              "DOES_NOT_CONTAIN"
            ]
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Represents ids upon which filtering is performed."
          },
          "status": {
            "type": "string",
            "description": "Represents user status.",
            "enum": [
              "ALL",
              "ACTIVE",
              "INACTIVE"
            ]
          }
        }
      },
      "users": {
        "type": "object",
        "description": "Provide list with user ids and corresponding status.",
        "properties": {
          "contains": {
            "type": "string",
            "description": "The contains value",
            "enum": [
              "CONTAINS",
              "DOES_NOT_CONTAIN"
            ]
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Represents ids upon which filtering is performed."
          },
          "status": {
            "type": "string",
            "description": "Represents user status.",
            "enum": [
              "ALL",
              "ACTIVE",
              "INACTIVE"
            ]
          }
        }
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "id",
      "allowHalfDay",
      "allowNegativeBalance",
      "approve",
      "archived",
      "everyoneIncludingNew",
      "hasExpiration",
      "name",
      "userGroups",
      "users"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_update\_policy\_status

Change a policy status

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                                       |
| ------------- | ------ | -------- | ------- | ----------------------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.              |
| `id`          | string | Yes      | —       | Represents a policy identifier across the system.                 |
| `status`      | string | Yes      | —       | Provide the status you would like to use for changing the policy. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "id": {
        "type": "string",
        "description": "Represents a policy identifier across the system."
      },
      "status": {
        "type": "string",
        "description": "Provide the status you would like to use for changing the policy.",
        "enum": [
          "ACTIVE",
          "ARCHIVED",
          "ALL"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "id",
      "status"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_update\_user\_group

Update a group

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                           |
| ------------- | ------ | -------- | ------- | ----------------------------------------------------- |
| `id`          | string | Yes      | —       | Represents a user group identifier across the system. |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system.  |
| `name`        | string | No       | —       | Represents a user group name.                         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "string",
        "description": "Represents a user group identifier across the system."
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "name": {
        "type": "string",
        "description": "Represents a user group name."
      }
    },
    "required": [
      "PCID",
      "id",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_update\_user\_status

Update a user's status

**Parameters:**

| Parameter     | Type   | Required | Default | Description                                          |
| ------------- | ------ | -------- | ------- | ---------------------------------------------------- |
| `workspaceId` | string | Yes      | —       | Represents a workspace identifier across the system. |
| `userId`      | string | Yes      | —       | Represents a user identifier across the system.      |
| `status`      | string | Yes      | —       | Represents membership status.                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      },
      "status": {
        "type": "string",
        "description": "Represents membership status.",
        "enum": [
          "ACTIVE",
          "INACTIVE"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId",
      "status"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_update\_webhook

Update a webhook

**Parameters:**

| Parameter           | Type      | Required | Default | Description                                          |
| ------------------- | --------- | -------- | ------- | ---------------------------------------------------- |
| `workspaceId`       | string    | Yes      | —       | Represents a workspace identifier across the system. |
| `webhookId`         | string    | Yes      | —       | Represents a webhook identifier across the system.   |
| `name`              | string    | No       | —       | Represents a webhook name.                           |
| `triggerSource`     | string\[] | Yes      | —       | Represents a list of trigger sources.                |
| `triggerSourceType` | string    | Yes      | —       | Represents a webhook event trigger source type.      |
| `url`               | string    | Yes      | —       | Represents a workspace identifier across the system. |
| `webhookEvent`      | string    | Yes      | —       | Represents a webhook event type.                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "webhookId": {
        "type": "string",
        "description": "Represents a webhook identifier across the system."
      },
      "name": {
        "type": "string",
        "description": "Represents a webhook name."
      },
      "triggerSource": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Represents a list of trigger sources."
      },
      "triggerSourceType": {
        "type": "string",
        "description": "Represents a webhook event trigger source type.",
        "enum": [
          "PROJECT_ID",
          "USER_ID",
          "TAG_ID",
          "TASK_ID",
          "WORKSPACE_ID",
          "ASSIGNMENT_ID",
          "EXPENSE_ID"
        ]
      },
      "url": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "webhookEvent": {
        "type": "string",
        "description": "Represents a webhook event type.",
        "enum": [
          "NEW_PROJECT",
          "NEW_TASK",
          "NEW_CLIENT",
          "NEW_TIMER_STARTED",
          "TIMER_STOPPED",
          "TIME_ENTRY_UPDATED",
          "TIME_ENTRY_DELETED",
          "TIME_ENTRY_SPLIT",
          "NEW_TIME_ENTRY",
          "TIME_ENTRY_RESTORED",
          "NEW_TAG",
          "USER_DELETED_FROM_WORKSPACE",
          "USER_JOINED_WORKSPACE",
          "USER_DEACTIVATED_ON_WORKSPACE",
          "USER_ACTIVATED_ON_WORKSPACE",
          "USER_EMAIL_CHANGED",
          "USER_UPDATED",
          "NEW_INVOICE",
          "INVOICE_UPDATED",
          "NEW_APPROVAL_REQUEST",
          "APPROVAL_REQUEST_STATUS_UPDATED",
          "TIME_OFF_REQUESTED",
          "TIME_OFF_REQUEST_UPDATED",
          "TIME_OFF_REQUEST_APPROVED",
          "TIME_OFF_REQUEST_REJECTED",
          "TIME_OFF_REQUEST_WITHDRAWN",
          "BALANCE_UPDATED",
          "TAG_UPDATED",
          "TAG_DELETED",
          "TASK_UPDATED",
          "CLIENT_UPDATED",
          "TASK_DELETED",
          "CLIENT_DELETED",
          "EXPENSE_RESTORED",
          "ASSIGNMENT_CREATED",
          "ASSIGNMENT_DELETED",
          "ASSIGNMENT_PUBLISHED",
          "ASSIGNMENT_UPDATED",
          "EXPENSE_CREATED",
          "EXPENSE_DELETED",
          "EXPENSE_UPDATED",
          "PROJECT_UPDATED",
          "PROJECT_DELETED",
          "USER_GROUP_CREATED",
          "USER_GROUP_UPDATED",
          "USER_GROUP_DELETED",
          "USERS_INVITED_TO_WORKSPACE",
          "LIMITED_USERS_ADDED_TO_WORKSPACE",
          "COST_RATE_UPDATED",
          "BILLABLE_RATE_UPDATED"
        ]
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "webhookId",
      "triggerSource",
      "triggerSourceType",
      "url",
      "webhookEvent"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_upload\_image

Add a photo

**Parameters:**

| Parameter | Type   | Required | Default | Description          |
| --------- | ------ | -------- | ------- | -------------------- |
| `file`    | string | Yes      | —       | Image to be uploaded |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "file": {
        "type": "string",
        "description": "Image to be uploaded"
      }
    },
    "required": [
      "PCID",
      "file"
    ]
  }
  ```
</Expandable>

***

## clockify\_workspace\_upsert\_user\_custom\_field\_value

Update a user's custom field

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                           |
| --------------- | ------ | -------- | ------- | ----------------------------------------------------- |
| `workspaceId`   | string | Yes      | —       | Represents a workspace identifier across the system.  |
| `userId`        | string | Yes      | —       | Represents a user identifier across the system.       |
| `customFieldId` | string | Yes      | —       | Represents custom field identifier across the system. |
| `value`         | object | No       | —       | Represents custom field value.                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "string",
        "description": "Represents a workspace identifier across the system."
      },
      "userId": {
        "type": "string",
        "description": "Represents a user identifier across the system."
      },
      "customFieldId": {
        "type": "string",
        "description": "Represents custom field identifier across the system."
      },
      "value": {
        "type": "object",
        "description": "Represents custom field value."
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "userId",
      "customFieldId"
    ]
  }
  ```
</Expandable>
