For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Webhooks

Start Taskade automations with inbound webhooks, call other APIs, and get signed Taskade events. Webhooks need the Pro plan or higher.

Use webhooks to connect Taskade to other services. Start an automation from another service, call another API from an automation, or get a signed POST when something changes in Taskade.

In short: To start an automation, POST JSON to its webhook URL with a Bearer token or a signature. To get Taskade events in your app, register a signed webhook with POST /api/v2/webhooks, then check X-Taskade-Signature-V2 and X-Taskade-Timestamp on each delivery. Both need the Pro plan or higher.

You want to
Use
Go to

Start an automation from another service

Inbound webhook

Call another API from an automation

Send HTTP Request action

Get Taskade events in your code

Signed webhook API

Get Taskade events with no code

Trigger and HTTP action

If you want to manage registrations in code and verify HMAC deliveries, use the signed API. Its events are the list in Supported events.

The no-code route covers more events. Automation triggers also cover events such as task added, task completed, due-date changes, custom-field updates, schedules, and connected services. You choose the payload that goes out in the HTTP action.

Before you start

  • A workspace on the Pro plan or higher. Webhook triggers and the Webhook Registration API return 402 on Free and Starter.

  • For the Webhook Registration API, an account with a verified email address and a personal access token from taskade.com/settings/api.

  • An HTTPS endpoint that you control, if you receive events.

  • curl in a terminal.

Save the token in your terminal. The registration examples read it from TASKADE_TOKEN:


Inbound webhooks

Use an inbound webhook to start a Taskade automation with data from an external service.

How it works

  1. Create a webhook trigger in an automation.

  2. Copy the URL from the Webhook URL field in the trigger panel.

  3. In Verify requests, choose how Taskade checks each call: a Bearer token, a Stripe signature, or an HMAC-SHA256 signature. See Authentication.

  4. Enable the automation. If you chose a Bearer token, Taskade generates the token at this step.

  5. Configure your external service to POST JSON data to the URL, with the token or the signature that you chose.

  6. Use the webhook payload as dynamic data in the actions that follow.

Taskade generates one webhook URL per automation. The URL has the form https://www.taskade.com/webhooks/flow/<automation-id>/sync. The URL identifies the automation. Thus the URL does not change.

Webhook triggers run on Pro and above. On Free and Starter, a call returns 402 with code: "PAYMENT_REQUIRED", and the automation does not run.

Payload structure

The webhook accepts application/json, multipart/form-data, or application/x-www-form-urlencoded. Taskade rejects any other content type with 400.

A JSON body larger than about 1.1 MB returns 413. Taskade applies the limit after it encodes the body. Thus the message of a PAYLOAD_TOO_LARGE error states about 1.5 MB.

Each payload field becomes a dynamic variable for the actions that follow.

Example payload:

All four fields (event, name, email, message) are available as dynamic variables in your automation steps.

Authentication

The Verify requests setting in the webhook trigger panel decides which calls start the automation. A new webhook trigger starts at None. With None, anyone with the URL can start the automation. Pick a check before you share the URL.

Verify requests
What the caller sends
Use it for

None

Nothing

A test, or a sender that cannot authenticate

Bearer token

Authorization: Bearer <token>

Your own code, a form tool, or any sender that can set a header

Stripe signature

The Stripe-Signature header

A Stripe webhook endpoint

HMAC-SHA256 signature

A hex HMAC-SHA256 of <timestamp>.<raw body>, and the timestamp, in two headers

A Taskade signed webhook, or another sender that signs the same way

With None, the panel shows this message:

The URL does not change. Thus only the token or the signing secret protects the automation.

Use a Bearer token

Taskade generates the token when you enable the automation. Then Taskade rejects every call that does not send the token.

Get the token:

  1. Open the webhook trigger panel in your automation.

  2. In Verify requests, select Bearer token.

  3. Enable the automation. Taskade generates the token.

  4. In the Authorization Token field, click Show or Copy.

Call the webhook:

Save the webhook URL and the authorization token from the trigger panel. Then send the payload with the token in the Authorization header:

The webhook token is a different secret from TASKADE_TOKEN. It works only for this one automation.

Taskade returns 401 Unauthorized for a request with a missing or incorrect token. The automation does not run. The response message is Invalid or missing webhook authorization token.

If you set Verify requests to None, validate each payload in your automation logic. For example, require an expected event value.

Verify Stripe and HMAC-signed webhook calls

With a signature check, a sender that cannot set an Authorization header can start an automation. Stripe is the common case. A signature check replaces the Bearer token check for that automation.

Taskade rejects a forged call and a call more than 5 minutes old. Taskade stores no request id. Thus a copy of a signed call that arrives in those 5 minutes still starts the automation. Design the automation so that a repeated call does no harm.

  1. Open the webhook trigger panel in your automation.

  2. In Verify requests, select Stripe signature or HMAC-SHA256 signature.

  3. Paste the signing secret into Signing secret. For Stripe, use the signing secret of your Stripe webhook endpoint.

  4. For HMAC-SHA256 signature only: if your sender uses other header names, set Signature header and Timestamp header. If these fields are empty, Taskade uses X-Taskade-Signature-V2 and X-Taskade-Timestamp.

  5. Enable the automation.

Taskade checks each signed call in this order:

Check
Rule

Body size

The raw body must be 1 MB or smaller. A larger body returns 413 before any other check.

Signature

HMAC-SHA256 of <timestamp>.<raw body>, keyed with the signing secret, compared in constant time. The value is hex, with or without a sha256= prefix.

Stripe header

Taskade reads t= and every v1= value from Stripe-Signature. When Stripe rolls the secret, one saved secret is enough.

Timestamp

Unix seconds. A call more than 5 minutes away from the Taskade clock returns 401.

To test the HMAC-SHA256 mode from a terminal, sign the body the same way a sender does:

A Taskade signed webhook sends these two headers on every delivery. Thus you can send a signed webhook from one Taskade account to an automation URL. Use the webhook secret as the signing secret.

Return a response to the caller

The URL ends in /sync. If the automation defines a Webhook Response output, the call waits for the run and returns that response. Otherwise, Taskade returns 200 with an empty body as soon as it accepts the call.

What the run stores

Each run keeps the request method, the query parameters, the request headers, and the body as trigger data. Later steps can read them. Before Taskade stores a run, it removes the headers that contain a credential:

Header removed from the run
Why

Authorization, Proxy-Authorization

They contain the webhook token or another bearer credential

Cookie, Set-Cookie

They contain session cookies

X-Api-Key, X-Auth-Token

They contain an API key of the sender

Taskade also removes its own internal headers. Signature headers stay, for example Stripe-Signature, X-Taskade-Signature-V2, and X-Taskade-Timestamp. A custom header that you choose stays too, for example X-Status-Secret.

Thus a step cannot check an X-Api-Key value that a sender puts on the call. To protect the automation, use a Bearer token or a signature check in Verify requests.

A member who can view automations but cannot edit them does not see the webhook token or the signing secret. Taskade removes both from the automation and from its run history for that member.

Inbound webhook errors

What you see
Cause
Fix

Invalid or missing webhook authorization token

The Authorization header is missing, or the token is wrong

Send Authorization: Bearer $WEBHOOK_TOKEN with the token from the trigger panel.

Webhook authorization required but not yet configured

Bearer token: the automation is not enabled, so Taskade has not generated the token yet. Signature: no signing secret is saved

Enable the automation, then copy the token. For a signature check, paste the signing secret.

Invalid or missing webhook signature

The signature header is missing, or it does not match the signing secret

Sign <timestamp>.<raw body> with the signing secret. Sign the raw bytes, not a re-serialized JSON object.

Webhook signature timestamp is more than 5 minutes old or ahead

The signed timestamp is more than 5 minutes from the Taskade clock, or the call is a copy of a call older than 5 minutes

Send the current time in unix seconds, and sign each call again. Make sure that the sender clock is correct.

Signed webhook body exceeds the 1 MB limit

A signed call has a raw body larger than 1 MB

Send a smaller body, or send a link to the data instead.

Webhook Automation requires a Pro plan or higher

The workspace is on Free or Starter

Upgrade the workspace to Pro or higher.

Only application/json, multipart/form-data or application/x-www-form-urlencoded is accepted

The request has another Content-Type

Send Content-Type: application/json.

Common patterns

Source
What Happens in Taskade

External form submission

Create a task and notify the team

Stripe payment webhook

Update project status and send a confirmation

GitHub CI/CD webhook

Update deployment status in a project

CRM event (HubSpot and others)

Sync contact data to a Taskade project


Outbound HTTP requests

To call an external API from an automation, use the Send HTTP Request action. Later steps can use the response.

Configuration

Setting
Details

Method

GET, POST, PATCH, PUT, DELETE, HEAD

URL

The external endpoint

Headers

Request headers such as Authorization and Content-Type

Query params

Values added to the URL query string

Request Body Type

none, json, raw, formData, or multipart

Response Body Type

No parsed body, or JSON

Timeout (ms)

The maximum wait. If the value is not valid, zero, or negative, Taskade uses 30 seconds

Follow Redirects

Off by default. When you turn it on, Taskade follows up to five safe redirects

Return Status On Error

On a non-2xx response, return the response and status. The step does not fail

Response data from the HTTP request becomes dynamic variables in the automation steps that follow. You can use these variables to connect API calls in a chain.

Choose a body type

Pick the body type that the receiving API expects.

Body type
What Taskade sends
Use it for

none

No request body

GET, HEAD, or another request without a body

json

A JSON value or supported structured value

JSON APIs

raw

The configured body without JSON conversion

Text, XML, or another raw payload

formData

Object fields as form data

Simple form submissions

multipart

Validated multipart fields and files

File uploads and mixed form data

If you do not set another content type, JSON mode sets Content-Type: application/json. If the receiving API expects JSON and the body is text, enter valid JSON.

Use none for a request without a body. Do not send an empty JSON object as a placeholder.

Insert dynamic values with the variable controls in the automation editor. The editor writes the supported expression into the field.

Example: post to an external API

Setting
Value

Method

POST

URL

https://api.example.com/notifications

Headers

Content-Type: application/json Authorization: Bearer <token for api.example.com>

Body:


Webhook Registration API

Registration returns a signing secret exactly once. Store it before you do anything else. The live Action API v2 spec has the authoritative schema.

Register signed outbound webhooks with the public API. You do not need an automation.

Taskade sends the event payload with POST. It signs every delivery with an HMAC secret.

The API has fewer events than the catalog of no-code automation triggers.

This API replaces the unsigned subscribeWebhook and unsubscribeWebhook operations. Those operations still work, but they are deprecated. See Legacy unsigned subscriptions.

Register a webhook

POST /api/v2/webhooks takes one target URL, one or more events, and an optional list of workspaces:

Response (secret is shown once):

The id of a webhook is its target URL. When you use the id as a path parameter, URL-encode it.

Supported events

The events array accepts only these six names. Any other value returns 400:

Event
Fires when

task.due

The due date of a task arrives

task.assigned

Someone assigns a task to a person

comment.created

Someone adds a comment to a task

project.created

Someone creates a project

project.assigned

Someone assigns a project to a person

project.joined

Someone joins a project

Delivery payload

The delivery body is the object of the event. The body has no envelope with the event name. Branch on the fields that you need, not on a type discriminator:

Event
Top-level fields

task.due

spaceName, spaceId, projectName, projectId, id, text, isCompleted, assignees, taskStartDate, taskStartTime, taskStartTimezone, taskEndDate, taskEndTime, taskEndTimezone

task.assigned

projectName, projectId, assignerName, assignedNodes[] (each nodeId, nodeText, isCompleted, assignees), and nodes[], a copy of assignedNodes[]

comment.created

projectName, projectId, nodeId, nodeText, commenterDisplayName, commenterHandle, commentBody, commentBodyType, assignees, mentionedHandles

project.created

spaceName, spaceId, projectName, projectId, creatorName

project.assigned

spaceName, spaceId, projectName, projectId, assignerName, assigneeName, assigneeId

project.joined

spaceId, projectName, projectId, joinerName, joinerUserId

If your handler must know which event arrived, register one URL for each event. Otherwise, use a field that only one event has.

Scope to specific workspaces

"spaceIds": [] (the default) delivers matching events from all your workspaces. Pass workspace ids to receive events from only those workspaces:

List, inspect, delete

GET /api/v2/webhooks returns { "ok": true, "items": [ ... ] }.

DELETE /api/v2/webhooks/{id} returns { "ok": true, "deleted": <boolean> }. deleted is false when no webhook matched that id. The status is 200 either way.

GET /api/v2/webhooks/{id} returns { "ok": true, "webhook": { ... } }.

Validate delivery signatures

Every signed delivery is a POST with a JSON body and three signature headers. Each signature is sha256= followed by a hex HMAC-SHA256, keyed with the secret from the registration response:

Header
Value

X-Taskade-Signature

sha256=<hex> of the raw request body

X-Taskade-Timestamp

The send time, in unix seconds

X-Taskade-Signature-V2

sha256=<hex> of <timestamp>.<raw body>, with the X-Taskade-Timestamp value as <timestamp>

In a new receiver, check X-Taskade-Signature-V2. The timestamp is part of the signed data. Thus a captured delivery fails the check after 5 minutes.

A copy that arrives in those 5 minutes still passes. Make your handler idempotent, or record each delivery that you process and skip a repeat.

X-Taskade-Signature does not change. Receivers that check it continue to work.

To check V2:

  1. Read the raw request body before you parse the JSON.

  2. Compute the HMAC-SHA256 of the X-Taskade-Timestamp value, a period (.), and the raw body. Use your secret as the key.

  3. Compare sha256=<your hex> with X-Taskade-Signature-V2 in constant time.

  4. If the timestamp is more than 5 minutes away from your clock, reject the delivery.

  5. Skip a delivery that you processed before, or make the handler idempotent. The timestamp check does not stop a copy that arrives inside the 5 minutes.

This Node.js 18 function does steps 1 to 4:

Reject each delivery that fails the check. A delivery that passes the check can still be a copy. Thus do step 5 in your handler. A receiver that verifies only X-Taskade-Signature compares sha256=<hex> of the raw body, with no timestamp. That check still works, but it does not stop a replay.

Limits & requirements

Rule
Detail

Plan

Pro or above, otherwise 402 with code: "PAYMENT_REQUIRED". You can always delete a webhook. Thus an account on a lower plan can still remove its webhooks.

Account

The account email must be verified, otherwise 403 with code: "FORBIDDEN".

Target URL

Must be https. Maximum 2,048 characters after URL encoding. The encoded URL is the :id path parameter.

Limit

100 event-workspace combinations per account. One webhook with 3 events scoped to 2 workspaces counts as 6.

Scope

All workspaces by default. Narrow the scope with spaceIds.

Dashboard

You can also create and manage outgoing webhooks in Settings > API.

Legacy: unsigned subscriptions (deprecated)

The subscribeWebhook and unsubscribeWebhook operations still work, but they are deprecated.

Each subscription covers one event. Its scope is the whole account. Taskade does not sign the deliveries.

Use POST /api/v2/webhooks for new integrations. To migrate, register the same URL there. Then remove the old subscription.

Registration errors

Every registration error uses the standard JSON error envelope. For example, a Free plan returns 402:

What you see
Cause
Fix

Webhooks require a Pro plan or higher.

The account is on Free or Starter

Upgrade to Pro or higher.

User must be verified.

The account email is not verified

Complete the email verification for your account, then register again.

url must use https

The target URL uses http

Serve your endpoint over HTTPS.

"code": "FST_ERR_VALIDATION"

An event name is not in Supported events, or a field is missing

Read message, fix each field that it names, then send the request again.

A webhook for this URL already exists.

You registered this target URL before

Delete the old registration, or use a different URL.

Webhook limit reached (max 100 per account).

The account already has 100 event-workspace combinations

Delete registrations that you do not use.


Receiving Taskade events

To send Taskade events to your app, build an automation with two ends. Start it with a Taskade trigger, such as a new task or a completed task.

End it with an Outbound HTTP Request to your endpoint. The fields of the trigger are available as dynamic variables in the HTTP body.

Common triggers and their payloads

Task added fires when someone adds a new task to a project:

Task completed fires when a task becomes complete:

The custom-field values of the task show as more keys. Other triggers use the same pattern.

See the Action & Trigger Reference for new comments, dates, project completion, and schedules.


Rate limits

If a sender makes too many inbound webhook calls, Taskade can throttle them. If you send a high volume of calls, send events in batches. You can also add a queue on the sender.


Next steps


This page is also published at taskade.com/docs/guides/webhooks.

Last updated