Clickup API¶
The Clickup API provides a comprehensive set of endpoints for creating, organizing, and managing workspaces, spaces, lists, and tasks. It also facilitates communication within tasks.
Why Integrate ClickUp with EasyTask?¶
Integrating ClickUp with EasyTask enables you to automate project and task management workflows across your organization. This integration allows you to:
- Automate Task Lifecycle Management: Create, update, and track ClickUp tasks automatically as part of your EasyTask workflows without manual intervention.
- Synchronize Workspaces and Spaces: Keep your ClickUp workspaces, spaces, and lists in sync with other business systems through automated EasyTask orchestration.
- Streamline Team Communication: Automatically send and retrieve task comments and messages, keeping your team informed through automated notifications and updates.
Requirements in Vault¶
Example Usage¶
curl -X POST http://localhost:8014/run-integration \
-H "Content-Type: application/json" \
-d '{
"is_credentials": {
"userid": "gAAAAABpYAT5SrWnvJnWWk7OTmNDFSvtwah3t2HuDnbb_G2n69i2De_ra4EItK5TMXYHHLzZPQa_Ll58j8GlYS1S42g9eIxokQ==",
"passwd": "gAAAAABpYAT5gS7jV8gpcnjr26utcTXxDPnS_mZIVIj4yTxQmdCKr7qdEzCn80ASocsrvURzrgTrMsMq9Ju_GSFC5DZlIOfKQg=="
},
"integrations": [
{
"integration": "clickup",
"uuid": "ae0e8ba9-423a-410e-bba5-e1933ff868c5",
"init": {
"vault_path_key": "clickup/secret"
},
"action": [
{
"get_all_workspaces": {}
}
]
}
]
}'
Functions¶
get_all_workspaces¶
get_all_workspaces: This function retrieves all workspaces for the authenticated user.
get_all_spaces¶
get_all_spaces: This function retrieves all spaces across all workspaces.
get_all_lists¶
get_all_lists: This function retrieves all lists across all spaces.
get_all_tasks¶
get_all_tasks: This function retrieves all tasks across all lists.
create_space¶
create_space: This function creates a new space in a specified workspace.
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| workspace_name | str | Name of the workspace to create the space in | yes |
| space_details | dict | Dictionary containing space details | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | dict | Dictionary containing information about the created space |
create_list¶
create_list: This function creates a new list in a specified space.
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| space_name | str | Name of the space to create the list in | yes |
| list_details | dict | Dictionary containing list details | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | dict | Dictionary containing information about the created list |
create_task¶
create_task: This function creates a new task in a specified list.
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| list_name | str | Name of the list to create the task in | yes |
| task_details | dict | Dictionary containing task details | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | dict | Dictionary containing information about the created task |
update_space¶
update_space: This function updates an existing space.
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| space_name | str | Name of the space to update | yes |
| space_details | dict | Dictionary containing updated space details | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | dict | Dictionary containing information about the updated space |
update_list¶
update_list: This function updates an existing list.
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| list_name | str | Name of the list to update | yes |
| list_details | dict | Dictionary containing updated list details | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | dict | Dictionary containing information about the updated list |
update_task¶
update_task: This function updates an existing task.
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| task_name | str | Name of the task to update | yes |
| task_details | dict | Dictionary containing updated task details | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | dict | Dictionary containing information about the updated task |
send_message¶
send_message: This function sends a message (comment) to a specific task.
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| task_name | str | Name of the task to send the message to | yes |
| message | str | Content of the message | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | dict | Dictionary containing information about the sent message |
retreive_message¶
retreive_message: This function retrieves messages (comments) from a specific task.
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| task_name | str | Name of the task to retrieve messages from | yes |
| num | int | Number of messages to retrieve | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | list | List of dictionaries containing message information |
modify_message¶
modify_message: This function modifies an existing message (comment).
| Input Parameter | Type | Description | Mandatory |
|---|---|---|---|
| comment_id | str | ID of the comment to modify | yes |
| message | str | Updated content of the message | yes |
| Output Parameter | Type | Description |
|---|---|---|
| response | dict | Dictionary containing information about the modified message |
Frequently Asked Questions¶
How do I configure ClickUp credentials in EasyTask?¶
Use the EasyTask vault system to securely store your ClickUp API token. Navigate to the integration configuration page and add your token under a vault key like clickup/secret.
Can I use ClickUp with both EasyTask Cloud and On-Premises?¶
Yes, ClickUp works seamlessly with both EasyTask Cloud and On-Premises deployments. The configuration process is identical since ClickUp is a cloud-based service.
How do I troubleshoot ClickUp connection issues?¶
Check the integration server logs in EasyTask for detailed error messages. Verify your API token in the vault, ensure the ClickUp API is accessible from the integration server, and test connectivity using the built-in connection test feature.