Skip to content

Webhooks API

Create, inspect, test, and recover outbound webhooks through the REST API, and read the format of each delivery. Creating, changing, enabling, testing, retrying, and rotating webhooks need Pro. Reading, disabling, and deleting stay available after a downgrade.

Authentication and access

Pass a workspace API key as Authorization: Bearer pf_YOUR_API_KEY. Read endpoints require webhooks:read. Every state-changing endpoint requires webhooks:write.

The key owner's current workspace role and webhook ownership are checked on every request. Viewers cannot use these endpoints. Members can access only webhooks they created, while workspace admins and owners can access every workspace webhook.

Create and release an endpoint

  1. Create the webhook with enabled: false while the receiver is being prepared.
  2. Save the one-time secret response field in the receiver's secret manager. Project Feed cannot return the full value later.
  3. Verify public HTTPS access, raw-body handling, durable queue acceptance, and delivery-ID deduplication in the receiver.
  4. Send a test and inspect its returned success, status, duration, and error fields.
  5. Enable the webhook, generate one disposable subscribed event, and trace the real delivery through signature verification and processing.
  6. Monitor delivery history after releases. Repair the receiver before retrying a stored payload or re-enabling an auto-disabled endpoint.

Events API and replay

Project Feed keeps every event it dispatches for 30 days, whether or not a webhook subscribes to it, and serves it from GET /api/v1/events in the same shape as a delivery body. Use it to poll with since and order=asc instead of a webhook, to check what a webhook should have received, or to catch up after an outage with POST /api/v1/webhooks/:id/replay. Events are stored for workspaces on Pro.

Events use the webhook scopes. Reading them needs webhooks:read and a replay needs webhooks:write, because the key owner could receive the same events through a webhook. The events a key returns follow the same visibility rules as delivery to a webhook that key owner created. Viewers cannot read events.

Events carry timestamp in milliseconds. When two events share a millisecond, the order within it is stable but arbitrary, and a commit can land a few seconds after a later event. A poller should read from a few seconds before its newest event, or before now when it starts without a position, and skip event IDs it has already handled, as pf events tail does.

Endpoints

Event names

  • Posts: post.created, post.updated, post.deleted, post.restored, post.published, post.version_published
  • Comments: comment.created, comment.updated, comment.deleted, comment.resolved, comment.reopened
  • Reactions: reaction.added, reaction.removed
  • Projects: project.created, project.updated, project.deleted, project.archived, project.unarchived, project.member_added, project.member_removed, project.member_role_changed
  • Members: member.joined, member.left, member.role_changed, member.invited, member.invitation_revoked
  • Tasks: task.created, task.updated, task.deleted, task.restored, task.completed, task.assigned, task.status_changed, task.comment_created, task.comment_updated, task.comment_deleted
  • Handoffs: handoff.created, handoff.status_changed, handoff.updated
  • Docs: docs.created, docs.updated, docs.renamed, docs.archived, docs.restored, docs.moved, docs.deleted, docs.comment_created, docs.comment_updated, docs.comment_deleted, docs.comment_resolved, docs.comment_reopened
  • Canvases: canvas.created, canvas.renamed, canvas.visibility_changed, canvas.archived, canvas.unarchived, canvas.moved, canvas.deleted
  • Time tracking: time_entry.created, time_entry.updated, time_entry.deleted
  • Chat: chat.thread_created, chat.thread_resolved, chat.thread_reopened, chat.message_created, chat.message_updated, chat.message_deleted
  • Portals: portal.feedback_created, portal.feedback_resolved, portal.decision_made, portal.submission_created, portal.submission_status_changed, portal.message_created

Event lists are deduplicated during create and update. Unknown values and empty lists are rejected. Replace the full event list when updating rather than sending only the event you want to add.

post.version_published fires when a published post gets a new version, from the app or the API. Its data carries postId, postNumber, identifier, title, projectId, authorId, actorId, versionId, version, changeNote, and mediaCount. The same change also sends post.updated.

post.restored fires when a deleted post is restored. Its data carries projectId, postId, postNumber, identifier, title, authorId, and actorId.

post.created, post.published, and post.updated include release in data when the post has release details. Changing or removing them on a published post sends post.updated.

Comment events carry projectId, postId, commentId, parentId, and authorId. Created, updated, resolved, and reopened events also include the annotation object, or null for a plain comment. The webhook copy leaves out lines.selectedText, camera, drawing, and the resolver's name; get the comment to read them. comment.resolved and comment.reopened fire when an annotation is resolved or reopened in the app or the API. Every comment event adds actorId for the person who did it. Deleting a comment also sends comment.deleted for each of its replies.

project.archived and project.unarchived carry projectId, the project object (id, name, description), and actorId. They fire from the app, the API, and a plan change that archives projects. project.updated also fires when the project color changes. project.member_added, project.member_removed, and project.member_role_changed carry projectId, userId, role, actorId, and previousRole on a role change. The owner added when a project is created sends nothing.

member.invited and member.invitation_revoked carry invitationId, email, role, organizationId, and actorId when a person acted. SCIM invitations that need the person's consent send them too, and a SCIM cancellation has no actorId. Only webhooks created by an owner or admin receive them. member.joined also fires when SCIM adds or reactivates a person, and member.left fires when SCIM removes someone or a person deletes their account.

canvas.moved carries canvasId, identifier, name, visibility, projectId (the new project), previousProjectId, actorId, and createdVia. Updating a canvas's name and visibility together through the API sends both canvas.renamed and canvas.visibility_changed.

Chat events carry IDs only: the room, discussion, message, author, and project. They never include message text or discussion titles, including for private projects. Read the content through the Chat API with a key that can open the room. chat.thread_reopened carries the same fields as chat.thread_resolved and fires when a discussion is reopened by hand or by a reply.

docs.updated, docs.moved, and docs.restored carry pageId, identifier, spaceId, projectId when the doc belongs to a project, actorId, and createdVia. actorId is left out when a portal guest made the edit. docs.updated adds a change of content, visibility, or restored_version, and a version for the first and last of those. A content change in the live editor sends at most one docs.updated every five minutes for each doc, so a burst of edits sends fewer events than saves. When editing stops, one more docs.updated covers the last edits within five minutes of the previous one. docs.moved fires when a doc changes space or parent, not when siblings are reordered. It adds previousSpaceId, parentPageId, previousParentPageId, and previousProjectId, and webhooks for the old project receive it too. docs.restored fires when an archived doc comes back. Doc comment events carry pageId, identifier, spaceId, projectId, commentId, parentId, authorId, and actorId. authorId is null for a guest on a public page, and actorId is left out when no member acted. They never include comment text. Once a doc is purged, stored doc events read back from the events API or sent again by a replay leave out title, fromValue, and toValue.

Portal events carry IDs only. No client names, emails, or message text appear in them. Every payload has portalId and actorType, which is team, client, or system for changes no person made, plus actorId when actorType is team. projectId is present when the event belongs to one project, so a project webhook receives only the portal events tied to its project. portal.feedback_created and portal.feedback_resolved cover feedback on shared updates and comments on shared docs. Updates add itemId, postId, feedbackId, and parentId; docs add pageId, commentId, and parentId. Feedback that waits for the guest's sign-off sends portal.feedback_resolved when the guest verifies it. It also fires with actorType system when removing a guest closes their pending sign-off, or when deleting a root comment resolves its thread. portal.decision_made fires when a guest approves or asks for changes and adds decision, which is approved or needs_changes.

portal.submission_created adds submissionId, category, and reporterKind, which is visitor, contact, or member. portal.submission_status_changed adds submissionId, status, previousStatus, publicStatus, previousPublicStatus, and taskId and projectId once a task is linked. publicStatus is what the reporter sees, such as planned or fixed. previousTaskId names the task a report was moved away from or unlinked from, and previousProjectId is added when that task was in another project, so webhooks scoped to either project receive the event. When a linked task changes what the reporter sees, the event is sent with actorType system and an unchanged status. portal.message_created adds messageId and threadId for a message a guest writes in the portal discussion; team replies send chat.message_created. A webhook receives a portal event only if its creator can open that data in the app. Owners and admins receive all of them. Other creators need access to the project of the shared update or doc, a publisher grant for reports, or a role other than viewer for discussion messages.

Read what a portal ID points to through the Client Portals API with a key that has portals:read. portalId opens GET /api/v1/portals/:id, feedbackId opens GET /api/v1/client-feedback/:id, and submissionId opens GET /api/v1/portal-submissions/:id. An itemId appears in GET /api/v1/portals/:id/items, and a threadId opens the discussion through the Chat API.

task.updated lists what changed in changedFields. Checklist, tag, file, and linked post changes send it with checklist, tags, attachments, or links. Assigning or unassigning people sends it with assigneeId and assigneeIds. task.assigned fires for each person added, including on a new task, right after task.created. Deleting or restoring a task sends task.deleted or task.restored for each of its subtasks too.

Integrations send the same task events. A pull request that moves a task, a task or comment synced from GitHub, Jira, or Sentry, and a task created by an inbound webhook or the feedback form all count. Tasks and comments created by a history import send nothing.

Task comment events carry IDs only: projectId, taskId, commentId, parentId (null for a top-level comment), authorId, and actorId. They never include the comment text. Read it through the Tasks API. Deleting a comment also sends task.comment_deleted for each of its replies.

Handoff events carry IDs and state only: projectId, taskId, handoffId, the receiving tool's connectionId once one is set, and state. handoff.status_changed adds previousState and reason; handoff.updated adds reason and changes. Instructions, questions, and results stay out of the payload. Read them through the Handoffs API. States are open, requested, queued, running, needs_input, result, accepted, rejected, and canceled. Claim renewals send nothing.

Event payloads

Every event has the envelope shown under Delivery format. This reference lists the fields of data for each event. A field marked optional is left out when it has no value. Fields can be added to an event later, so ignore fields you do not know.

MCP events reuse these names for the events they cover, such as task.updated, but their payloads are separate and not covered here.

Posts

post.created

A published post was created.

  • postId string
  • authorId string
  • postNumber integer, optional
  • identifier string, optional
  • title string, optional
  • projectId string, optional
  • release object, optional. Release details, present when the post has them.
  • createdVia string, optional. Where the post was created, such as web or api.

post.updated

A post changed its title, content, status, project, release details, or version.

  • postId string
  • authorId string
  • actorId string
  • previousStatus draft | published
  • newStatus draft | published
  • postNumber integer, optional
  • identifier string, optional
  • title string, optional
  • projectId string, optional
  • release object, optional. Release details, present when the post has them.
  • previousProjectId string, optional. Set when the post moved out of a project.
  • version integer, optional
  • changeNote string, optional

previous can hold: title, status, projectId.

post.deleted

A post was deleted.

  • postId string
  • title string
  • authorId string
  • deletedBy string
  • deletedAt integer
  • projectId string, optional

post.restored

A deleted post was restored.

  • postId string
  • title string
  • authorId string
  • actorId string
  • projectId string, optional
  • postNumber integer, optional
  • identifier string, optional

post.published

A post became visible for the first time.

  • postId string
  • authorId string
  • postNumber integer, optional
  • identifier string, optional
  • title string, optional
  • projectId string, optional
  • release object, optional. Release details, present when the post has them.
  • createdVia string, optional. Where the post was created, such as web or api.

post.version_published

A published post got a new version.

  • postId string
  • authorId string
  • actorId string
  • versionId string
  • mediaCount integer
  • postNumber integer, optional
  • identifier string, optional
  • title string, optional
  • projectId string, optional
  • version integer, optional
  • changeNote string, optional
Comments

comment.created

A comment or reply was added to a post.

  • postId string
  • commentId string
  • parentId string | null
  • authorId string
  • projectId string, optional
  • actorId string, optional
  • annotation object | null, optional. The annotation the comment is pinned to, or null for a plain comment. Left out on comment.deleted.

comment.updated

A comment was edited.

  • postId string
  • commentId string
  • parentId string | null
  • authorId string
  • projectId string, optional
  • actorId string, optional
  • annotation object | null, optional. The annotation the comment is pinned to, or null for a plain comment. Left out on comment.deleted.

comment.deleted

A comment was deleted.

  • postId string
  • commentId string
  • parentId string | null
  • authorId string
  • projectId string, optional
  • actorId string, optional

comment.resolved

An annotated comment was resolved.

  • postId string
  • commentId string
  • parentId string | null
  • authorId string
  • projectId string, optional
  • actorId string, optional
  • annotation object | null, optional. The annotation the comment is pinned to, or null for a plain comment. Left out on comment.deleted.

comment.reopened

A resolved annotated comment was reopened.

  • postId string
  • commentId string
  • parentId string | null
  • authorId string
  • projectId string, optional
  • actorId string, optional
  • annotation object | null, optional. The annotation the comment is pinned to, or null for a plain comment. Left out on comment.deleted.
Reactions

reaction.added

A reaction was added.

  • targetType post | comment | annotation | task | task_comment
  • targetId string. The ID of the post, comment, annotation, task, or task comment.
  • emoji string. The emoji character.
  • userId string
  • projectId string, optional

reaction.removed

A reaction was removed.

  • targetType post | comment | annotation | task | task_comment
  • targetId string. The ID of the post, comment, annotation, task, or task comment.
  • emoji string. The emoji character.
  • userId string
  • projectId string, optional
Projects

project.created

A project was created.

  • projectId string
  • project object

project.updated

A project changed its name, slug, description, color, or visibility.

  • projectId string
  • project object

previous can hold: name, slug, description, color, visibility.

project.deleted

A project was deleted.

  • projectId string
  • project object

project.archived

A project was archived.

  • projectId string
  • project object
  • actorId string, optional

project.unarchived

An archived project was restored.

  • projectId string
  • project object
  • actorId string, optional

project.member_added

A person was added to a project.

  • projectId string
  • userId string
  • role viewer | editor | admin
  • actorId string
  • previousRole viewer | editor | admin, optional

project.member_removed

A person was removed from a project.

  • projectId string
  • userId string
  • role viewer | editor | admin
  • actorId string
  • previousRole viewer | editor | admin, optional

project.member_role_changed

A person's role in a project changed. previousRole holds the old role.

  • projectId string
  • userId string
  • role viewer | editor | admin
  • actorId string
  • previousRole viewer | editor | admin, optional
Members

member.joined

A person joined the workspace.

  • memberId string
  • userId string
  • role owner | admin | member | viewer
  • organizationId string

member.left

A person left or was removed from the workspace.

  • memberId string
  • userId string
  • role owner | admin | member | viewer
  • organizationId string

member.role_changed

A member's workspace role changed.

  • memberId string
  • userId string
  • oldRole owner | admin | member | viewer
  • newRole owner | admin | member | viewer
  • organizationId string

member.invited

A person was invited to the workspace. Only owner and admin webhooks receive it.

  • invitationId string
  • email string
  • role string
  • organizationId string
  • actorId string, optional. Left out when a SCIM cancellation, not a person, acted.

member.invitation_revoked

A workspace invitation was revoked. Only owner and admin webhooks receive it.

  • invitationId string
  • email string
  • role string
  • organizationId string
  • actorId string, optional. Left out when a SCIM cancellation, not a person, acted.
Tasks

task.created

A task was created.

  • projectId string
  • taskId string
  • taskNumber integer
  • title string
  • status backlog | todo | in_progress | perpetual | in_review | done | cancelled
  • priority none | low | medium | high | urgent
  • creatorId string
  • assigneeIds array
  • identifier string, optional
  • parentTaskId string, optional. Set on a subtask.
  • assigneeId string, optional

task.updated

A task changed. changedFields names what changed, and previous holds the old values of the fields it tracks.

  • projectId string
  • taskId string
  • taskNumber integer
  • title string
  • changedFields array
  • identifier string, optional
  • parentTaskId string, optional. Set on a subtask.
  • previousProjectId string, optional. Set when the task moved out of a project.

previous can hold: status, priority, title, startDate, dueDate, assigneeIds.

task.deleted

A task was deleted. Each of its subtasks sends its own event.

  • projectId string
  • taskId string
  • taskNumber integer
  • title string
  • identifier string, optional
  • parentTaskId string, optional. Set on a subtask.
  • actorId string, optional

task.restored

A deleted task was restored. Each of its subtasks sends its own event.

  • projectId string
  • taskId string
  • taskNumber integer
  • title string
  • identifier string, optional
  • parentTaskId string, optional. Set on a subtask.
  • actorId string, optional

task.completed

A task moved to done.

  • projectId string
  • taskId string
  • taskNumber integer
  • title string
  • oldStatus backlog | todo | in_progress | perpetual | in_review | done | cancelled
  • newStatus backlog | todo | in_progress | perpetual | in_review | done | cancelled
  • actorId string
  • identifier string, optional
  • bulkAction boolean, optional. True for a bulk status change.

task.assigned

A person was assigned to a task. It fires once for each person added.

  • projectId string
  • taskId string
  • taskNumber integer
  • title string
  • assigneeId string
  • assigneeIds array
  • actorId string
  • identifier string, optional

task.status_changed

A task changed status without moving to done.

  • projectId string
  • taskId string
  • taskNumber integer
  • title string
  • oldStatus backlog | todo | in_progress | perpetual | in_review | done | cancelled
  • newStatus backlog | todo | in_progress | perpetual | in_review | done | cancelled
  • actorId string
  • identifier string, optional
  • bulkAction boolean, optional. True for a bulk status change.

task.comment_created

A comment or reply was added to a task.

  • projectId string
  • taskId string
  • commentId string
  • parentId string | null
  • authorId string
  • actorId string, optional

task.comment_updated

A task comment was edited.

  • projectId string
  • taskId string
  • commentId string
  • parentId string | null
  • authorId string
  • actorId string, optional

task.comment_deleted

A task comment was deleted.

  • projectId string
  • taskId string
  • commentId string
  • parentId string | null
  • authorId string
  • actorId string, optional
Handoffs

handoff.created

A task handoff was created.

  • projectId string
  • taskId string
  • handoffId string
  • state open | requested | queued | running | needs_input | result | accepted | rejected | canceled. The handoff's state after the event.
  • connectionId string, optional. The receiving tool's connection. Left out until a tool is set.

handoff.status_changed

A handoff moved to a new state, for example when a tool claimed it or its result was reviewed.

  • projectId string
  • taskId string
  • handoffId string
  • state open | requested | queued | running | needs_input | result | accepted | rejected | canceled. The handoff's state after the event.
  • previousState open | requested | queued | running | needs_input | result | accepted | rejected | canceled. The handoff's state before the event.
  • reason approved | claimed | claim_expired | question_asked | clarification_answered | context_refreshed | result_submitted | accepted | rejected | canceled | task_closed. What caused the change.
  • connectionId string, optional. The receiving tool's connection. Left out until a tool is set.

handoff.updated

A handoff's task context or clarifications changed.

  • projectId string
  • taskId string
  • handoffId string
  • state open | requested | queued | running | needs_input | result | accepted | rejected | canceled. The handoff's state after the event.
  • reason context_refreshed | clarification_answered. What caused the change.
  • changes array. The parts of the handoff that changed.
  • connectionId string, optional. The receiving tool's connection. Left out until a tool is set.
Docs

docs.created

A doc was created or duplicated.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • title string
  • visibility public | private | shared
  • projectId string | null. The project the doc belongs to, or null when its space has no project.
  • createdBy string
  • createdVia web | api. Where the change was made.

docs.updated

A doc's content or visibility changed, or an earlier version was restored.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • change content | visibility | restored_version. What changed.
  • createdVia web | api. Where the change was made.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • version integer, optional. The doc's new version number. Sent for content and restored_version changes.
  • restoredFrom integer, optional. The version that was restored. Sent for restored_version changes.
  • fromValue public | private | shared, optional. The previous visibility. Sent for visibility changes.
  • toValue public | private | shared, optional. The new visibility. Sent for visibility changes.
  • actorId string, optional. Left out when a portal guest or an unattributed edit made the change.

docs.renamed

A doc was renamed.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • fromValue string. The previous title.
  • toValue string. The new title.
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.

docs.archived

A doc was archived.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • title string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • subtreeCount integer, optional. How many docs were archived, including this one. Left out when archived through the API.

docs.restored

An archived doc was restored.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.

docs.moved

A doc was moved to another space or parent.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • previousSpaceId string
  • parentPageId string | null. The new parent doc, or null for a top-level doc.
  • previousParentPageId string | null. The previous parent doc, or null for a top-level doc.
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • previousProjectId string, optional. The project the doc belonged to before the move. Left out when its previous space had no project.

docs.deleted

A doc was deleted.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • title string
  • visibility public | private | shared
  • createdBy string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • subtreeCount integer, optional. How many docs were deleted, including this one. Left out when deleted through the API.
  • moveChildrenUp boolean, optional. Whether child docs moved up a level instead of being deleted. Left out when deleted through the API.

docs.comment_created

A comment or reply was added to a doc.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • commentId string
  • parentId string | null. The comment being replied to, or null for a top-level comment.
  • authorId string | null. The comment's author, or null for a guest on a public page.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • actorId string, optional. Left out when no member acted, such as a guest on a public page.

docs.comment_updated

A doc comment was edited.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • commentId string
  • parentId string | null. The comment being replied to, or null for a top-level comment.
  • authorId string | null. The comment's author, or null for a guest on a public page.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • actorId string, optional. Left out when no member acted, such as a guest on a public page.

docs.comment_deleted

A doc comment was deleted.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • commentId string
  • parentId string | null. The comment being replied to, or null for a top-level comment.
  • authorId string | null. The comment's author, or null for a guest on a public page.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • actorId string, optional. Left out when no member acted, such as a guest on a public page.

docs.comment_resolved

A doc comment was resolved.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • commentId string
  • parentId string | null. The comment being replied to, or null for a top-level comment.
  • authorId string | null. The comment's author, or null for a guest on a public page.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • actorId string, optional. Left out when no member acted, such as a guest on a public page.

docs.comment_reopened

A resolved doc comment was reopened.

  • pageId string
  • identifier string. The doc's workspace identifier.
  • spaceId string
  • commentId string
  • parentId string | null. The comment being replied to, or null for a top-level comment.
  • authorId string | null. The comment's author, or null for a guest on a public page.
  • projectId string, optional. The project the doc belongs to. Left out when its space has no project.
  • actorId string, optional. Left out when no member acted, such as a guest on a public page.
Canvases

canvas.created

A canvas was created.

  • canvasId string
  • name string
  • visibility shared | private
  • projectId string
  • createdBy string
  • createdVia web | api. Where the change was made.
  • identifier string, optional. The canvas's project identifier. Left out when its project has no prefix.

canvas.renamed

A canvas was renamed.

  • canvasId string
  • identifier string | null. The canvas's project identifier, or null when its project has no prefix.
  • name string
  • projectId string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • fromValue string. The previous name.
  • toValue string. The new name.
  • visibility shared | private, optional. The canvas's visibility after the change. Left out when changed in the app.

canvas.visibility_changed

A canvas was switched between shared and private.

  • canvasId string
  • identifier string | null. The canvas's project identifier, or null when its project has no prefix.
  • name string
  • projectId string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • fromValue shared | private. The previous visibility.
  • toValue private | shared. The new visibility.
  • visibility shared | private, optional. The canvas's visibility after the change. Left out when changed in the app.

canvas.archived

A canvas was archived.

  • canvasId string
  • identifier string | null. The canvas's project identifier, or null when its project has no prefix.
  • name string
  • projectId string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.

canvas.unarchived

An archived canvas was restored.

  • canvasId string
  • identifier string | null. The canvas's project identifier, or null when its project has no prefix.
  • name string
  • projectId string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.

canvas.moved

A canvas was moved to another project.

  • canvasId string
  • identifier string | null. The canvas's project identifier, or null when its project has no prefix.
  • name string
  • projectId string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • visibility shared | private
  • previousProjectId string. The project the canvas belonged to before the move.

canvas.deleted

A canvas was deleted.

  • canvasId string
  • identifier string | null. The canvas's project identifier, or null when its project has no prefix.
  • name string
  • projectId string
  • actorId string. The member who made the change.
  • createdVia web | api. Where the change was made.
  • visibility shared | private
  • createdBy string
Time tracking

time_entry.created

Time was logged on a task.

  • entryId string
  • taskId string
  • projectId string
  • userId string. The person the time is logged for.
  • durationSeconds integer. The logged time in seconds.
  • occurredOn integer. When the work happened, in Unix milliseconds.
  • note string | null. The entry's note, or null when it has none.
  • source timer | manual | auto_stop | duplicate. How the entry was logged.

time_entry.updated

A time entry's duration, date, or note was edited. The payload holds the entry after the edit.

  • entryId string
  • taskId string
  • projectId string
  • userId string. The person the time is logged for.
  • durationSeconds integer. The logged time in seconds.
  • occurredOn integer. When the work happened, in Unix milliseconds.
  • note string | null. The entry's note, or null when it has none.
  • source timer | manual | auto_stop | duplicate. How the entry was logged.

time_entry.deleted

A time entry was deleted.

  • entryId string
  • taskId string
  • projectId string
  • userId string. The person the time is logged for.
  • durationSeconds integer. The logged time in seconds.
  • occurredOn integer. When the work happened, in Unix milliseconds.
  • note string | null. The entry's note, or null when it has none.
  • source timer | manual | auto_stop | duplicate. How the entry was logged.
Chat

chat.thread_created

A discussion was started in a chat room.

  • roomId string
  • projectId string | null
  • threadId string
  • threadNumber integer | null
  • actorId string, optional

chat.thread_resolved

A discussion was resolved.

  • roomId string
  • projectId string | null
  • threadId string
  • threadNumber integer | null
  • actorId string, optional

chat.thread_reopened

A discussion was reopened by hand or by a reply.

  • roomId string
  • projectId string | null
  • threadId string
  • threadNumber integer | null
  • actorId string, optional

chat.message_created

A message was posted in a discussion.

  • roomId string
  • projectId string | null
  • threadId string
  • messageId string
  • authorKind user | agent | system | client
  • authorId string | null. The user or chat agent that wrote it.
  • actorId string, optional

chat.message_updated

A message was edited.

  • roomId string
  • projectId string | null
  • threadId string
  • messageId string
  • authorKind user | agent | system | client
  • authorId string | null. The user or chat agent that wrote it.
  • actorId string, optional

chat.message_deleted

A message was deleted.

  • roomId string
  • projectId string | null
  • threadId string
  • messageId string
  • authorKind user | agent | system | client
  • authorId string | null. The user or chat agent that wrote it.
  • actorId string, optional
Portals

portal.feedback_created

Feedback was left on a shared update, or a comment was added to a shared doc.

  • portalId string
  • actorType team | client | system
  • projectId string, optional. Set when the event belongs to one project.
  • actorId string, optional. Set when actorType is team.
  • itemId string, optional. Set for feedback on a shared update.
  • postId string, optional. Set for feedback on a shared update.
  • feedbackId string, optional. Set for feedback on a shared update.
  • pageId string, optional. Set for a comment on a shared doc.
  • commentId string, optional. Set for a comment on a shared doc.
  • parentId string | null, optional. The feedback or comment this one replies to.

portal.feedback_resolved

Feedback on a shared update or doc was resolved.

  • portalId string
  • actorType team | client | system
  • projectId string, optional. Set when the event belongs to one project.
  • actorId string, optional. Set when actorType is team.
  • itemId string, optional. Set for feedback on a shared update.
  • postId string, optional. Set for feedback on a shared update.
  • feedbackId string, optional. Set for feedback on a shared update.
  • pageId string, optional. Set for a comment on a shared doc.
  • commentId string, optional. Set for a comment on a shared doc.
  • parentId string | null, optional. The feedback or comment this one replies to.

portal.decision_made

A client approved a shared update or asked for changes.

  • portalId string
  • actorType team | client | system
  • decision approved | needs_changes
  • projectId string, optional. Set when the event belongs to one project.
  • actorId string, optional. Set when actorType is team.
  • itemId string, optional. Set for feedback on a shared update.
  • postId string, optional. Set for feedback on a shared update.
  • feedbackId string, optional. Set for feedback on a shared update.
  • pageId string, optional. Set for a comment on a shared doc.
  • commentId string, optional. Set for a comment on a shared doc.
  • parentId string | null, optional. The feedback or comment this one replies to.

portal.submission_created

A visitor, client, or member submitted a report through a portal.

  • portalId string
  • actorType team | client | system
  • submissionId string
  • category string
  • reporterKind visitor | contact | member
  • projectId string, optional. Set when the event belongs to one project.
  • actorId string, optional. Set when actorType is team.

portal.submission_status_changed

A team member changed the status of a portal submission.

  • portalId string
  • actorType team | client | system
  • submissionId string
  • status string
  • previousStatus string
  • projectId string, optional. Set when the event belongs to one project.
  • actorId string, optional. Set when actorType is team.
  • taskId string, optional. Set once a task is linked.

portal.message_created

A client wrote a message in the portal discussion.

  • portalId string
  • actorType team | client | system
  • messageId string
  • threadId string
  • projectId string, optional. Set when the event belongs to one project.
  • actorId string, optional. Set when actorType is team.

Response and delivery details

One-time secrets

The secret appears only in create and regenerate-secret responses. List, get, update, test, and delivery responses never return it.

Timestamps

Fields ending in At are ISO 8601 strings, kept as before. Each has a twin ending in AtMs with the same moment in milliseconds, and fields added later, such as previousSecretExpiresAt, are in milliseconds only.

Opaque IDs

Treat webhook and delivery IDs as opaque strings. Store the exact returned values and do not infer a prefix or length.

Bounded lists

The webhook list returns at most 200 visible endpoints. Delivery history returns up to 100 attempts a page; follow nextCursor for older ones. In both responses, total is the number returned, not an all-time count.

Receiver failures

The test and retry routes can return HTTP 200 while success is false because the API call completed even though the receiver did not accept the delivery. Always inspect the response body.

Delivery format

Each delivery is a POST with a JSON body. The shape of data depends on the event. This one is task.completed.

JSON
{
  "id": "evt_01J9ZG6QK2M7XW3R5H8T4N9PVC",
  "event": "task.completed",
  "type": "task.completed",
  "apiVersion": "2026-05-26",
  "timestamp": 1780000000000,
  "organization": { "id": "ws_abc123", "name": "Acme" },
  "workspace": { "id": "ws_abc123", "slug": "acme", "name": "Acme" },
  "data": {
    "projectId": "prj_abc123",
    "taskId": "tsk_abc123",
    "taskNumber": 42,
    "identifier": "WEB-42",
    "title": "Fix login redirect",
    "oldStatus": "in_review",
    "newStatus": "done",
    "actorId": "usr_abc123"
  }
}

id

The event ID. It is unique for each event, shared by every webhook that receives the event, and unchanged on retries and replays.

type and event

The event name. type is the field to read; event carries the same value for receivers written before type existed.

apiVersion

The API date version the payload follows, the same version the REST API reports.

timestamp

When the event was dispatched, in milliseconds. It is the same on every attempt.

workspace

The workspace id, slug, and name. organization carries the id and name and stays for compatibility.

data

The event fields. They depend on the event name.

previous

Present on update events when the old values are known: the prior value of each field that changed. task.updated lists status, priority, title, startDate, dueDate, and assigneeIds. post.updated lists title, status, and projectId. project.updated lists name, slug, description, color, and visibility. Other events leave it out.

Headers

webhook-idThe event ID, the same value as id in the body, such as evt_01J9ZG6QK2M7XW3R5H8T4N9PVC. It is unique for each event, shared by every webhook that receives the event, and unchanged on automatic and manual retries. Deduplicate on it.
webhook-timestampWhen this attempt was signed, in Unix seconds. Reject a timestamp more than 5 minutes from your clock.
webhook-signaturev1, followed by the base64 HMAC-SHA256 of the signed string. During a secret rotation the header carries two signatures separated by a space; accept the request if either one matches. A webhook with asymmetric signing on adds a v1a signature, the base64 Ed25519 signature of the same string.
X-Webhook-EventThe event name, such as task.completed.
X-Webhook-DeliveryThe delivery ID: the event ID and the webhook ID joined by a dot. It is unique for each webhook and unchanged on retries.

The three webhook-* headers follow the Standard Webhooks specification, so its libraries and receivers such as Grok automations verify them without custom code. The signed string is <webhook-id>.<webhook-timestamp>.<raw body>. The key is the signing secret without the whsec_ prefix, base64-decoded. Compute the HMAC over the raw request bytes and compare it in constant time.

JavaScript
import crypto from "node:crypto";

function isValid(headers, rawBody, secret) {
  const id = headers["webhook-id"];
  const timestamp = headers["webhook-timestamp"];
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
  const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64");
  const expected = crypto
    .createHmac("sha256", key)
    .update(`${id}.${timestamp}.${rawBody}`)
    .digest("base64");
  return String(headers["webhook-signature"])
    .split(" ")
    .some((entry) => {
      const [version, signature] = entry.split(",");
      return (
        version === "v1" &&
        signature?.length === expected.length &&
        crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected))
      );
    });
}

Signing secrets

New webhooks get a secret of whsec_ followed by the base64 encoding of 32 random bytes. Secrets created earlier are whsec_ followed by 64 hex characters. A Standard Webhooks library reads those 64 characters as base64 and gets a 48-byte key, and Project Feed signs with that same key, so an existing secret verifies the new headers without being regenerated. A webhook whose stored secret is not a valid whsec_ secret gets only the legacy headers until you regenerate it.

Secret rotation

After a regenerate, webhook-signature carries two signatures for 24 hours: the new secret first, then the previous one, separated by a space. A receiver that tries each signature accepts deliveries before and after it switches secrets. The legacy X-Webhook-Signature header uses the new secret only. Supplying your own signingSecret ends any overlap.

Asymmetric signing

The v1 HMAC signature needs a secret that both sides hold. Turn on asymmetric signing and each delivery also carries a v1a signature, an Ed25519 signature of the same signed string. A receiver checks it with the webhook's public key, which is whpk_ followed by the base64 encoding of the 32-byte key, so it never holds anything that can sign. The v1 signature stays on. Each webhook has its own key pair. Project Feed stores the private key encrypted and never returns it.

Send asymmetricSigning: true when you create or update a webhook, or tick Also sign with an Ed25519 key in the webhook dialog. The public key comes back as publicKey on create, update, and read, in the MCP tools, in pf webhooks view, and on the webhook list in Workspace settings. With both signatures the header looks like this, and a receiver accepts the request when any entry it supports checks out.

Text
webhook-signature: v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4= v1a,hnO3f9T8Ytu9HwrXslvumlUpqtNVqkhqw/enGzPCXe5BdqzCInXqYXFymVJaA7AZdpXwVLPo3mNl8EM+m7TBAg==
JavaScript
import crypto from "node:crypto";

const SPKI_PREFIX = Buffer.from("302a300506032b6570032100", "hex");

function isValidV1a(headers, rawBody, publicKey) {
  const timestamp = headers["webhook-timestamp"];
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
  const key = crypto.createPublicKey({
    key: Buffer.concat([SPKI_PREFIX, Buffer.from(publicKey.replace(/^whpk_/, ""), "base64")]),
    format: "der",
    type: "spki",
  });
  const signed = Buffer.from(`${headers["webhook-id"]}.${timestamp}.${rawBody}`);
  return String(headers["webhook-signature"])
    .split(" ")
    .some((entry) => {
      const [version, signature] = entry.split(",");
      return version === "v1a" && crypto.verify(null, signed, key, Buffer.from(signature, "base64"));
    });
}

Turn asymmetric signing off with asymmetricSigning: false to delete the key pair. Turning it on again creates a new pair, so update your receiver with the new public key at that point. Webhooks that start an AI agent run do not use it.

Legacy headers

Until 14 April 2027 every delivery also carries X-Webhook-Signature, X-Webhook-Timestamp, and X-Webhook-Id, so existing receivers keep working. They are deprecated and will be removed on that date; move your receiver to the webhook-* headers before then. X-Webhook-Event and X-Webhook-Delivery stay. The legacy signature is sha256= followed by the hex HMAC-SHA256 of <X-Webhook-Timestamp>.<X-Webhook-Id>.<raw body>, keyed with the whole secret string including whsec_.

Timeout and retries

Respond with any 2xx status within 30 seconds. Anything else counts as a failed attempt, and the delivery log keeps the status, duration, error, and the first 1,000 characters of the response body. A redirect (3xx) is a failure: Project Feed never follows one, so use the final URL. After a failed attempt Project Feed retries a delivery up to nine more times, 5 seconds, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours, 14 hours, 20 hours, and 24 hours after the previous attempt, about 3 days in all. This is the example schedule in the Standard Webhooks specification. Each wait varies by up to 20 percent either way so retries from many webhooks do not arrive together. It retries only when there was no response, the status was 429, or the status was 5xx. Other 4xx responses are not retried. When the response has a Retry-After header, the next attempt waits at least that long, up to 2 hours.

A 410 Gone response disables the webhook at once, because it means the endpoint was removed for good. It is not retried. Ten consecutive failed attempts within 24 hours also disable the webhook. A success resets the count. Re-enable the webhook after you fix the receiver. Skipped attempts do not count.

A delivery that fails every automatic attempt stays in the log. Retrying a past delivery is available only through the API, with POST /api/v1/webhooks/:id/deliveries/:deliveryId/retry. The Recent deliveries dialog in Workspace settings shows the last 20 deliveries and has no Retry button.

Test event

POST /api/v1/webhooks/:id/test sends a webhook.test event. It is not part of the subscription list and is always delivered to the webhook you test.

JSON
{
  "id": "evt_01J9ZG6QK2M7XW3R5H8T4N9PVC",
  "event": "webhook.test",
  "type": "webhook.test",
  "apiVersion": "2026-05-26",
  "timestamp": 1780000000000,
  "organization": { "id": "ws_abc123", "name": "Acme" },
  "workspace": { "id": "ws_abc123", "slug": "acme", "name": "Acme" },
  "data": {
    "message": "This is a test webhook delivery",
    "triggeredBy": {
      "id": "usr_abc123",
      "name": "Alex Rivera",
      "email": "alex@example.com"
    }
  }
}

The test and retry responses add "circuitBroken": true when that attempt failed and disabled the webhook. The field is left out otherwise.

Test and manual retry deliveries carry the same headers and signature as live events. A test gets a new event ID. A manual retry resends the stored payload with its original event ID and delivery ID, so deduplication by ID treats it as the same event. A delivery recorded before event IDs existed has no ID in its payload; its manual retry gets an ID such as retry-<deliveryId>-1780000000000.

Start AI agent runs

A webhook with a destination sends one request to an AI agent service per event instead of a signed delivery to your receiver. The service decides what to run; Project Feed only sends the event. Each preset fixes the endpoint, headers, body, retry rules, and the response field used as the run link. There are no custom headers or templates.

JSON
{
  "name": "Handoff runner",
  "url": "https://api.anthropic.com/v1/claude_code/routines/trig_.../fire",
  "events": ["handoff.created"],
  "destination": {
    "kind": "agent_trigger",
    "preset": "claude_routine",
    "credential": "<token from the service>"
  }
}

claude_routine Claude Code routine

URL: https://api.anthropic.com/v1/claude_code/routines/trig_.../fire. Credential: Routine token. No options. Text limit: 65,536 characters. Limits: 30 runs an hour for each routine, shared with Run now, and 100 API runs an hour for the account.

chatgpt_workspace_agent ChatGPT workspace agent

URL: https://api.chatgpt.com/v1/workspace_agents/agtch_.../trigger. Credential: Workspace agent access token. No options. Text limit: 16,000 characters. Limits: OpenAI does not publish a limit for triggers. Each run counts toward your workspace's agent usage.

devin_session Devin session

URL: https://api.devin.ai/v3/organizations/ORG_ID/sessions. Credential: Devin service user token. Options: org_id (required). Text limit: 16,000 characters. Limits: Devin does not publish a limit for session creation. Each session counts toward your Devin usage.

github_copilot_agent GitHub Copilot cloud agent

URL: https://api.github.com/agents/repos/OWNER/REPO/tasks. Credential: GitHub personal access token. Options: base_ref, create_pull_request, model. Text limit: 16,000 characters. Limits: GitHub does not publish a limit for agent tasks. Each task counts toward Copilot usage, and the request counts toward GitHub API rate limits.

cursor_agent Cursor cloud agent

URL: https://api.cursor.com/v1/agents. Credential: Cursor API key. Options: repo_url (required), ref. Text limit: 16,000 characters. Limits: Cursor's API overview lists its rate limits. Each run counts toward your Cursor usage.

jules_session Jules session

URL: https://jules.googleapis.com/v1alpha/sessions. Credential: Jules API key. Options: source, starting_branch. Text limit: 16,000 characters. Limits: Google does not publish a limit for creating sessions. Each session counts toward your Jules usage.

The text sent to the service has three parts: a line naming the event and delivery ID, the JSON envelope a standard webhook would send (id, event, type, apiVersion, timestamp, organization, workspace, data, and previous when present), and a line telling the agent to fetch the current state through Project Feed before acting. Events carry IDs and metadata, not content. If the envelope would pass the service's text limit, it is cut and marked [truncated].

Text
Project Feed event handoff.created (delivery evt_01J9ZG6QK2M7XW3R5H8T4N9PVC.<webhook id>)

{"id":"evt_01J9ZG6QK2M7XW3R5H8T4N9PVC","event":"handoff.created","type":"handoff.created","apiVersion":"2026-05-26","timestamp":1780000000000,"organization":{"id":"ws_abc123","name":"Acme"},"workspace":{"id":"ws_abc123","slug":"acme","name":"Acme"},"data":{...}}

Fetch the current state through Project Feed before acting.
  • The credential is encrypted at rest and decrypted only to make the request. It is not in any read, delivery record, audit log, or error message. An echo of it in a response body is replaced with [redacted] before the body is stored.
  • The URL must match the preset exactly. A redirect is never followed, so the credential cannot be sent to another host. Updating the URL to another host is rejected.
  • A successful delivery stores the run link as runUrl. Only a link on the service's own site is kept.
  • A 401 or 403 means the service rejected the credential. Replace it with a new one. These and other client errors are not retried.
  • A 429 is retried at 1 minute, 5 minutes, 30 minutes, and 2 hours, waiting at least the service's Retry-After time, up to two hours. An agent run keeps this shorter schedule: a delivery stays failed after 5 attempts, and 10 failures in a row disable the webhook. It waits up to 10 seconds for the service, and a 410 does not disable it.
  • Most services accept no idempotency key, so a retry could start a second run. For those presets, a 5xx, a timeout, or a dropped connection after the request was sent is recorded as failed with "did not confirm the run" and is not retried. Only a failure before the request was sent, such as a DNS error, is retried. A preset that supports idempotency keys also retries those, using the same delivery ID. Retry a failed delivery by hand after checking the service.
  • Test and retry send a real event and start a real run. A retry counts as a new delivery.

Trigger Grok automations from Project Feed

A Grok automation with a webhook trigger gives you the endpoint URL and a whsec_ signing secret. Create a standard webhook with that URL and pass the secret as signingSecret. Project Feed then signs every delivery with the Standard Webhooks headers using the secret Grok already knows, so Grok verifies it without any other setup.

Shell
curl -X POST https://projectfeed.app/api/v1/webhooks \
  -H "Authorization: Bearer pf_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Grok triage",
    "url": "<webhook URL from Grok>",
    "events": ["task.created"],
    "signingSecret": "whsec_<secret from Grok>"
  }'
  • The response has no secret field and no read returns the secret you sent.
  • Regenerating the secret replaces it with a value Grok does not know. To change it, send the new Grok value as signingSecret in a PATCH instead.
  • Events carry IDs and metadata, not content. Have the automation read the current state through the MCP server or this API.
  • Grok checks that the timestamp is within 5 minutes and accepts bodies up to 1 MiB. Each attempt is signed when it is sent.

Fix webhook API requests

400 during create or update

Check for a missing name, a name over 100 characters, an empty or unknown event list, or a URL that is not public HTTPS. With a destination, the URL must match the preset, the credential must be present and printable without spaces, and options must be the preset's own.

403 Forbidden

Check the read or write scope, the key owner's current role, webhook ownership, workspace policy, and Pro access for the requested operation.

404 Not found

Use the webhook and delivery IDs returned for the selected workspace. Cross-workspace records are reported as not found.

429 Too many requests

An API request limit was reached. Honor Retry-After and bound retries. See rate limits.

An error when creating, testing, or retrying many times

Creating allows 20 webhooks per hour and testing or retrying allows 10 per minute for each workspace. Hitting either limit returns an error without Retry-After.

A test or retry says success: false

Use responseStatus, duration, and error to diagnose DNS, TLS, public reachability, timeouts, or non-2xx responses. Fix the receiver before repeating the action.

The signing secret was lost

Regenerate it, store the returned value immediately, update the receiver, and test. Standard Webhooks signatures overlap for 24 hours. Legacy X-Webhook-Signature verification needs the new secret immediately.

Next steps

Image preview
100%