Skip to content

feat(task_due): subscribe via the public Action API v2#19

Open
johnxie wants to merge 1 commit into
masterfrom
feat/task-due-public-webhook-api
Open

feat(task_due): subscribe via the public Action API v2#19
johnxie wants to merge 1 commit into
masterfrom
feat/task-due-public-webhook-api

Conversation

@johnxie

@johnxie johnxie commented Jun 19, 2026

Copy link
Copy Markdown
Member

Summary

Moves the task_due trigger off Taskade's internal /webhooks/zapier/* routes onto the public, documented Action API v2 — so the trigger now rides the same surface any third party can use.

Before After
Subscribe POST /webhooks/zapier/subscribe { hookUrl, triggerType:'TaskDue', spaceId, projectId } POST /api/v2/subscribeWebhook { targetUrl, triggerType:'task.due' }
Unsubscribe DELETE /webhooks/zapier/unsubscribe?hookId= POST /api/v2/unsubscribeWebhook { hookId }
  • Account-level: the public endpoint ignores scope, so the space/project inputs no longer narrow the subscription (kept for forward-compat once scoped subscriptions ship upstream).
  • Plan: subscribing now requires Pro+ (free/Starter get 402), matching the in-app webhook gating.
  • performList still uses the internal sample route — the public API has no "list recent due tasks" sample endpoint yet (noted in code).

Dependency

Requires taskade/taskcade#26765 (the POST /api/v2/subscribeWebhook endpoint + paywall) — merged (f92f6623ed). Needs the deploy that ships it before this goes live in the Zapier app.

Changes

  • src/triggers/taskDue.tsperformSubscribe / performUnsubscribe rewired to the public endpoints.
  • README.md — drop the "in progress" note; the subscription API is live (Beta, Pro+).
  • package.json1.1.01.2.0.

…cribeWebhook)

Move the task_due trigger off the internal /webhooks/zapier/{subscribe,unsubscribe}
routes onto the public, documented Action API v2:

- performSubscribe -> POST /api/v2/subscribeWebhook { targetUrl, triggerType:'task.due' }
- performUnsubscribe -> POST /api/v2/unsubscribeWebhook { hookId } (was DELETE + query param)
- account-level: the public endpoint ignores scope, so space/project inputs no longer
  narrow the subscription (kept for forward-compat once scoped subscriptions ship)
- requires a paid plan (Pro+); free/Starter receive 402
- performList still uses the internal sample route (no public equivalent yet)

Depends on taskcade#26765 (subscribeWebhook endpoint + paywall), now merged.
README: drop the 'in progress' note; bump 1.1.0 -> 1.2.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant