Skip to content
Education & Software

How ClickUp Webhooks Work: Architecture, Setup, and Payload Guide

In this article

ClickUp webhooks work by delivering real-time HTTP POST notifications from ClickUp to an external listener URL whenever specific workspace events occur. Instead of constantly polling the ClickUp API for changes, your application registers an endpoint that automatically receives JSON payloads containing event details, task data, and field updates the moment they happen.

Core Concepts: What Are ClickUp Webhooks and How Do They Function?

Modern workplace automation relies heavily on real-time data synchronization. In traditional web development, applications retrieved updated data through continuous API polling—repeatedly querying a server every few seconds or minutes to ask if new information was available. Polling incurs significant network overhead, consumes API rate limits rapidly, and introduces latent delays between when an action occurs and when an external system processes it.

ClickUp webhooks reverse this communication model by using an event-driven architecture, often referred to as a "reverse API" or push notification system. When a user creates a task, changes a status, posts a comment, or alters a custom field inside ClickUp, the platform's backend infrastructure captures that event instantly. If a webhook subscription matches the event type and scope, ClickUp generates an HTTP POST request containing a structured JSON payload and transmits it immediately to a user-defined URL endpoint.

  1. ClickUp Engine (Workspace Event)
    • Event Triggered
  2. ClickUp Webhook Delivery Pipeline
    • HTTP POST (JSON Payload)
  3. External Endpoint Listener (Server)
    • Verifies HMAC Signature
  4. Automation / App Logic Execution

Webhooks in ClickUp operate across explicit structural boundaries. Subscriptions can be scoped globally at the Workspace (Team) level, or filtered down to specific Spaces, Folders, Lists, or individual Tasks. This granular scoping prevents unnecessary payload delivery and reduces processing overhead on your application servers.

Understanding this push architecture is essential for building resilient integrations, sync pipelines with third-party CRMs, automated developer workflows, and custom analytics dashboards.

The ClickUp Webhook Lifecycle: Trigger to Payload Delivery

To design robust system integrations, software engineers must understand the exact path data takes from the moment an action occurs in the user interface to the final receipt at an HTTP destination. The ClickUp webhook delivery process follows four distinct sequential phases:

  1. Event Generation
  2. Scope Matching
  3. Payload Construction
  4. Transmission & Validation

1. Event Generation

A user or an automated bot performs an action within ClickUp. This can range from dragging a task card across a Kanban board to updating a custom date field via a ClickUp Form or third-party integration. The internal ClickUp database records the action and generates an event signal.

2. Subscription Matching and Filtering

The event signal enters ClickUp's internal message queue. The engine checks the active webhook registry associated with the target Workspace. It evaluates two primary criteria:

  • Event Match: Does the registered webhook listen for this specific event key (e.g., taskStatusUpdated)?
  • Scope Match: Did the event occur within the spatial boundary defined during webhook creation (e.g., inside Space ID 12345 or List ID 67890)?

If both conditions match, the engine queues the event for payload generation; otherwise, the event is safely discarded.

3. Payload Construction

ClickUp constructs a unified JSON document. This payload includes metadata about the webhook registration itself, the top-level entity IDs (Workspace, Space, Folder, List), the exact ID of the affected resource, a timestamp, and a crucial array named history_items. The history_items array contains the "delta" or state change details—revealing the state before and after the modification occurred.

4. HTTP POST Transmission and Verification

ClickUp sends the JSON payload over HTTPS using a standard POST request to your pre-configured endpoint URL. The request includes custom HTTP header key-value pairs, notably X-Signature, which contains a hash designed for cryptographic verification.

Your receiver server receives the HTTP POST request, validates its authenticity using the signature, returns a standard 200 OK response code to acknowledge receipt, and processes the payload asynchronously.

How to setup ClickUp Update Task / Create Task with Logic If/Else
How to setup ClickUp Update Task / Create Task with Logic If/Else

Webhook Event Types and Scope Filtering Matrix

ClickUp supports an extensive range of event triggers spanning tasks, lists, folders, spaces, and goals. Selecting the narrowest possible scope ensures high delivery performance and minimizes server resource consumption.

Event Type Key Category Trigger Action Description Supported Filter Scopes Typical Integration Use Case
taskCreated Task A new task is instantiated inside a workspace or sub-location. Workspace, Space, Folder, List Triggering external provisioning (e.g., creating a Jira ticket or GitHub issue).
taskUpdated Task Any core task attribute or custom field is modified. Workspace, Space, Folder, List, Task Synchronizing field changes to external databases or CRM platforms.
taskDeleted Task A task is permanently deleted or moved to the trash bin. Workspace, Space, Folder, List Cleaning up reference records in downstream data stores.
taskStatusUpdated Task The status value of a task transitions (e.g., "Open" to "Closed"). Workspace, Space, Folder, List Logging time metrics, notifying messaging channels, triggering deployments.
taskAssigneeUpdated Task Assignees are added to or removed from a task card. Workspace, Space, Folder, List Sending custom SMS/email notifications or updating resource management tools.
taskCommentPosted Comment A new comment is published on a task discussion thread. Workspace, Space, Folder, List, Task Syncing communication channels with Slack, Teams, or Zendesk tickets.
listCreated / listUpdated Structure A List container is added, renamed, or modified. Workspace, Space, Folder Automating structure mapping in external project management tools.
folderCreated / folderUpdated Structure A Folder container is added or modified. Workspace, Space Archiving structural changes or managing workspace templates programmatically.
spaceCreated / spaceUpdated Structure A top-level Space container is created or modified. Workspace Workspace administration and governance tracking.
keyResultUpdated Goal Target metrics within ClickUp Goals receive data updates. Workspace Feeding executive dashboards or BI pipelines with real-time KPI progress.

ClickUp Webhook Payload Anatomy: Demystifying the Data Structure

Understanding the structure of incoming JSON payloads is necessary to write code that parses webhook data correctly. Below is a representative JSON payload generated by ClickUp when a task status changes:

{ "event": "taskStatusUpdated", "webhook_id": "3b9a8f12-0000-4a88-89ab-123456789abc", "task_id": "8678ab12", "history_items": [ { "id": "9007199254740991", "type": 1, "date": "1771488000000", "field": "status", "parent_id": "8678ab12", "data": { "status_type": "closed" }, "source": "user", "user": { "id": 123456, "username": "Jane Doe", "email": "jane.doe@example.com", "color": "#7b68ee", "profilePicture": "https://attachment.clickup.com/profile.jpg" }, "before": { "status": "in progress", "color": "#d3d3d3", "orderindex": 1, "type": "custom" }, "after": { "status": "complete", "color": "#6bc04b", "orderindex": 2, "type": "closed" } } ] }

Key Payload Field Definitions

  • event: A string matching the exact event trigger key that prompted the payload delivery.
  • webhook_id: The unique UUID assigned to the webhook subscription when it was provisioned via the API.
  • task_id: The alphanumeric identifier of the task affected by the change.
  • history_items: An array of object changes associated with this specific HTTP call. ClickUp groups concurrent modifications into a single delivery when possible.
  • history_items[].field: Identifies the exact property modified (e.g., status, assignee, custom_field, dueDate).
  • history_items[].before and history_items[].after: State snapshots showing the exact properties of the element prior to and immediately following the modification.
  • history_items[].user: Details regarding the user account, API token, or integration user that initiated the change.

Step-by-Step: Creating and Provisioning Webhooks via the ClickUp API

ClickUp webhooks cannot be created through the native UI dashboard for arbitrary web servers; they are managed strictly through the ClickUp REST API v2.

Prerequisites

  1. API Token: A Personal Access Token or an OAuth 2.0 bearer token authorized for your target workspace.
  2. Team ID (Workspace ID): You must know your numerical team_id, reachable via the GET https://api.clickup.com/api/v2/team endpoint.
  3. Publicly Accessible HTTPS Endpoint: Webhook receivers must expose a publicly accessible URL secured with a valid TLS certificate. Local endpoints must be exposed via reverse proxy tools for testing.

Creating a Webhook Subscription

To create a webhook, send an HTTP POST request to the ClickUp REST API endpoint:

POST https://api.clickup.com/api/v2/team/{team_id}/webhook

HTTP Request Headers

Authorization: pk_12345678_EXAMPLETOKEN Content-Type: application/json

HTTP Request Body

{ "endpoint": "https://api.yourdomain.com/webhooks/clickup", "events": [ "taskCreated", "taskUpdated", "taskStatusUpdated" ], "space_id": 123456, "folder_id": 789012, "list_id": 345678 }

Note: space_id, folder_id, and list_id are optional scope filters. If left omitted, the webhook defaults to observing all events across the entire Workspace (team_id).

Example HTTP Response from ClickUp

{ "id": "3b9a8f12-0000-4a88-89ab-123456789abc", "webhook": { "id": "3b9a8f12-0000-4a88-89ab-123456789abc", "userid": 123456, "team_id": 98765, "endpoint": "https://api.yourdomain.com/webhooks/clickup", "clientId": "", "events": [ "taskCreated", "taskUpdated", "taskStatusUpdated" ], "task_id": null, "list_id": 345678, "folder_id": 789012, "space_id": 123456, "health": { "status": "active", "fail_count": 0 }, "secret": "SECRET_SIGNING_KEY_STRING_HERE" } }

Crucial Implementation Note: Save the returned secret parameter immediately. ClickUp uses this secret string to sign payload requests. It is only returned once during initial subscription creation and cannot be retrieved later through GET requests.

Managing Active Webhooks

You can list, update, and delete registered webhooks using the following API v2 endpoints:

  • List Webhooks: GET https://api.clickup.com/api/v2/team/{team_id}/webhook
  • Update Webhook: PUT https://api.clickup.com/api/v2/webhook/{webhook_id} (Allows updating endpoint URL, events array, or health status)
  • Delete Webhook: DELETE https://api.clickup.com/api/v2/webhook/{webhook_id}

Security Best Practices: Signature Verification and Data Integrity

Because webhook listener endpoints are publicly accessible over the internet, malicious actors could attempt to send spoofed POST requests to your server. To prevent security vulnerabilities, developers must verify the cryptographic signature sent by ClickUp with every payload.

The HMAC SHA-256 Verification Process

When ClickUp sends a payload to your endpoint, it attaches an HTTP header named X-Signature. This signature is generated using a Keyed-Hash Message Authentication Code (HMAC) with the SHA-256 algorithm.

The HMAC calculation uses the raw, unparsed HTTP request body string as the message data and your stored webhook secret as the key.

Verification Steps for Receiver Applications

  1. Intercept the raw body string: Read the raw, unparsed HTTP request body string exactly as delivered over the network. Do not attempt to parse or re-serialize the JSON before generating the hash, as white-space variations will break hash matching.
  2. Retrieve header value: Extract the signature string present in the X-Signature request header.
  3. Compute HMAC-SHA256: Calculate an HMAC SHA-256 hash using the raw request body and your stored secret key.
  4. Perform constant-time comparison: Compare the calculated hash value against the X-Signature header value using a secure, constant-time comparison algorithm to prevent timing attacks.

Node.js Verification Example

const crypto = require('crypto'); function verifyClickUpWebhook(rawRequestBody, xSignatureHeader, secretKey) { const hash = crypto .createHmac('sha256', secretKey) .update(rawRequestBody) .digest('hex'); // Use timingSafeEqual to avoid timing side-channel attacks const hashBuffer = Buffer.from(hash, 'utf-8'); const signatureBuffer = Buffer.from(xSignatureHeader, 'utf-8'); if (hashBuffer.length !== signatureBuffer.length) { return false; } return crypto.timingSafeEqual(hashBuffer, signatureBuffer); }

If the generated hash does not match the X-Signature header, your server must reject the payload immediately with an HTTP 401 Unauthorized or 403 Forbidden response code.

Handling Rate Limits, Retries, and Failures in Production

Production environments require robust error handling for network hiccups, server crashes, and downstream system outages.

Webhook Delivery Health States

ClickUp monitors the health of your webhook endpoint via the health object property (status and fail_count).

  • active: The endpoint consistently responds with standard successful HTTP status codes (200 OK, 201 Created, 202 Accepted, 204 No Content).
  • failing: The endpoint has returned non-2xx HTTP status codes (such as 500 Internal Server Error, 502 Bad Gateway, 504 Gateway Timeout) or timed out repeatedly.
  • failed: The endpoint has failed persistently over an extended threshold. ClickUp automatically suspends active delivery to endpoints that enter a failed state.

Delivery Timeout and Retry Rules

  • Execution Timeout: ClickUp expects your listener server to complete its HTTP response within a strict timeframe (typically 5 seconds). If your application requires intensive background processing, your endpoint should immediately respond with an HTTP 202 Accepted status and hand off payload processing to an asynchronous queue (such as Redis, AWS SQS, or RabbitMQ).
  • Exponential Backoff: When your endpoint returns error response codes or times out, ClickUp enqueues the failed payload for delivery retries using an exponential backoff schedule before ultimately marking the subscription state as failed.

Building for Idempotency

Due to potential network retries or distribution delays across ClickUp's internal microservices, your endpoint may occasionally receive the exact same payload more than once. Receiver systems must be designed for idempotency—ensuring that processing a duplicate payload multiple times produces the exact same outcome as processing it once.

To enforce idempotency:

  1. Extract the webhook_id and the history_items[].id or event timestamp from the incoming JSON body.
  2. Store processed event IDs inside an in-memory cache (e.g., Redis) or temporary database index with a Time-To-Live (TTL) of 24 to 48 hours.
  3. When a payload arrives, check whether its event ID exists in your cache. If found, return an HTTP 200 OK immediately and skip reprocessing logic.

Frequently Asked Questions

How do ClickUp webhooks differ from standard ClickUp API polling?

Standard API polling requires an external application to issue repetitive, schedule-driven HTTP request calls to ClickUp endpoints to inspect changes. This method incurs high latency, consumes API rate limits rapidly, and wastes network bandwidth. ClickUp webhooks deliver near-real-time push notifications only when specified events happen, reducing processing overhead for both systems.

Why did my ClickUp webhook automatically deactivate or stop sending payloads?

ClickUp deactivates webhooks when the target receiver URL returns failure status codes (HTTP 4xx or 5xx) or fails to respond within the expected timeout period across multiple retry attempts. When this occurs, the webhook's health.status transitions from active to failing and eventually to failed. You can reactivate a failed webhook by updating its status back to active via a PUT call to the ClickUp API /webhook/{webhook_id} endpoint.

Can I filter ClickUp webhooks for specific custom fields?

ClickUp does not support server-side filtering for specific custom field IDs during webhook subscription setup. When you subscribe to taskUpdated, your endpoint receives events for any task modification, including standard fields and all custom fields. Your listener application must parse the payload's history_items array on receipt to check if the modified field or custom_field matches the specific attribute you intend to process.

How do I verify that incoming HTTP POST requests actually originated from ClickUp?

You verify authenticity by computing an HMAC SHA-256 hash of the raw HTTP POST request body using the secret key returned when the webhook was created. Compare your locally computed hash against the signature string provided in the incoming X-Signature HTTP request header using a constant-time string comparison. If the signatures match, the payload is verified as originating from ClickUp and remaining untampered in transit.

Does ClickUp support webhooks for user-level actions or global workspace events?

ClickUp webhooks operate across Workspace (Team), Space, Folder, List, and Task levels. They capture actions performed by any user within the configured boundary. However, webhooks do not support non-resource administrative events like workspace billing changes, user login activity audits, or SAML SSO provisioning. Those administrative updates are managed through enterprise audit logging tools or native workspace administration dashboards.

Architectural Recommendation: Implementing Production-Grade Webhooks

  1. Incoming POST Request

  2. API Gateway / Reverse Proxy

    • Check X-Signature HMAC Header
    • Validate TLS Connection
  3. Fast HTTP Ingestion Layer

    • Validate Payload Structure
    • Push Payload to Queue (Redis/SQS)
    • Immediately Return HTTP 202 Accepted (<200ms)
  4. Asynchronous Worker Fleet

    • Deduplicate using Event/History IDs
    • Execute Heavy Business Logic & External Synchronizations
  5. Decouple Ingestion from Processing: Never execute slow tasks (such as writing to slow databases or calling external APIs) directly inside your HTTP request handler. Receive the payload, validate the X-Signature HMAC header, push the raw event payload onto an asynchronous queue (e.g., Redis, AWS SQS, or RabbitMQ), and immediately respond with an HTTP 202 Accepted status code.

  6. Automate Health Monitoring: Implement a scheduled health check cron job via the API (GET /team/{team_id}/webhook) that scans your webhooks' health.status. Configure your system to automatically issue alert notifications to your engineering team or attempt programmatic remediation via a PUT API request if any endpoint drops into a failing state.

  7. Enforce Strict Log Retention: Store incoming webhook payload signatures, delivery timestamps, and execution status logs for a minimum of 7 to 14 days. This audit trail is invaluable for debugging data synchronization inconsistencies across distributed systems.