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.
- PlanPro
- WhoOwners, admins, and members
- Scopeswebhooks:read, webhooks:write
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
- Create the webhook with
enabled: falsewhile the receiver is being prepared. - Save the one-time
secretresponse field in the receiver's secret manager. Project Feed cannot return the full value later. - Verify public HTTPS access, raw-body handling, durable queue acceptance, and delivery-ID deduplication in the receiver.
- Send a test and inspect its returned
success, status, duration, and error fields. - Enable the webhook, generate one disposable subscribed event, and trace the real delivery through signature verification and processing.
- 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.
postIdstringauthorIdstringpostNumberinteger, optionalidentifierstring, optionaltitlestring, optionalprojectIdstring, optionalreleaseobject, optional. Release details, present when the post has them.createdViastring, 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.
postIdstringauthorIdstringactorIdstringpreviousStatusdraft | publishednewStatusdraft | publishedpostNumberinteger, optionalidentifierstring, optionaltitlestring, optionalprojectIdstring, optionalreleaseobject, optional. Release details, present when the post has them.previousProjectIdstring, optional. Set when the post moved out of a project.versioninteger, optionalchangeNotestring, optional
previous can hold: title, status, projectId.
post.deleted
A post was deleted.
postIdstringtitlestringauthorIdstringdeletedBystringdeletedAtintegerprojectIdstring, optional
post.restored
A deleted post was restored.
postIdstringtitlestringauthorIdstringactorIdstringprojectIdstring, optionalpostNumberinteger, optionalidentifierstring, optional
post.published
A post became visible for the first time.
postIdstringauthorIdstringpostNumberinteger, optionalidentifierstring, optionaltitlestring, optionalprojectIdstring, optionalreleaseobject, optional. Release details, present when the post has them.createdViastring, optional. Where the post was created, such as web or api.
post.version_published
A published post got a new version.
postIdstringauthorIdstringactorIdstringversionIdstringmediaCountintegerpostNumberinteger, optionalidentifierstring, optionaltitlestring, optionalprojectIdstring, optionalversioninteger, optionalchangeNotestring, optional
Comments
comment.created
A comment or reply was added to a post.
postIdstringcommentIdstringparentIdstring | nullauthorIdstringprojectIdstring, optionalactorIdstring, optionalannotationobject | 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.
postIdstringcommentIdstringparentIdstring | nullauthorIdstringprojectIdstring, optionalactorIdstring, optionalannotationobject | 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.
postIdstringcommentIdstringparentIdstring | nullauthorIdstringprojectIdstring, optionalactorIdstring, optional
comment.resolved
An annotated comment was resolved.
postIdstringcommentIdstringparentIdstring | nullauthorIdstringprojectIdstring, optionalactorIdstring, optionalannotationobject | 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.
postIdstringcommentIdstringparentIdstring | nullauthorIdstringprojectIdstring, optionalactorIdstring, optionalannotationobject | 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.
targetTypepost | comment | annotation | task | task_commenttargetIdstring. The ID of the post, comment, annotation, task, or task comment.emojistring. The emoji character.userIdstringprojectIdstring, optional
reaction.removed
A reaction was removed.
targetTypepost | comment | annotation | task | task_commenttargetIdstring. The ID of the post, comment, annotation, task, or task comment.emojistring. The emoji character.userIdstringprojectIdstring, optional
Projects
project.created
A project was created.
projectIdstringprojectobject
project.updated
A project changed its name, slug, description, color, or visibility.
projectIdstringprojectobject
previous can hold: name, slug, description, color, visibility.
project.deleted
A project was deleted.
projectIdstringprojectobject
project.archived
A project was archived.
projectIdstringprojectobjectactorIdstring, optional
project.unarchived
An archived project was restored.
projectIdstringprojectobjectactorIdstring, optional
project.member_added
A person was added to a project.
projectIdstringuserIdstringroleviewer | editor | adminactorIdstringpreviousRoleviewer | editor | admin, optional
project.member_removed
A person was removed from a project.
projectIdstringuserIdstringroleviewer | editor | adminactorIdstringpreviousRoleviewer | editor | admin, optional
project.member_role_changed
A person's role in a project changed. previousRole holds the old role.
projectIdstringuserIdstringroleviewer | editor | adminactorIdstringpreviousRoleviewer | editor | admin, optional
Members
member.joined
A person joined the workspace.
memberIdstringuserIdstringroleowner | admin | member | viewerorganizationIdstring
member.left
A person left or was removed from the workspace.
memberIdstringuserIdstringroleowner | admin | member | viewerorganizationIdstring
member.role_changed
A member's workspace role changed.
memberIdstringuserIdstringoldRoleowner | admin | member | viewernewRoleowner | admin | member | viewerorganizationIdstring
member.invited
A person was invited to the workspace. Only owner and admin webhooks receive it.
invitationIdstringemailstringrolestringorganizationIdstringactorIdstring, 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.
invitationIdstringemailstringrolestringorganizationIdstringactorIdstring, optional. Left out when a SCIM cancellation, not a person, acted.
Tasks
task.created
A task was created.
projectIdstringtaskIdstringtaskNumberintegertitlestringstatusbacklog | todo | in_progress | perpetual | in_review | done | cancelledprioritynone | low | medium | high | urgentcreatorIdstringassigneeIdsarrayidentifierstring, optionalparentTaskIdstring, optional. Set on a subtask.assigneeIdstring, optional
task.updated
A task changed. changedFields names what changed, and previous holds the old values of the fields it tracks.
projectIdstringtaskIdstringtaskNumberintegertitlestringchangedFieldsarrayidentifierstring, optionalparentTaskIdstring, optional. Set on a subtask.previousProjectIdstring, 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.
projectIdstringtaskIdstringtaskNumberintegertitlestringidentifierstring, optionalparentTaskIdstring, optional. Set on a subtask.actorIdstring, optional
task.restored
A deleted task was restored. Each of its subtasks sends its own event.
projectIdstringtaskIdstringtaskNumberintegertitlestringidentifierstring, optionalparentTaskIdstring, optional. Set on a subtask.actorIdstring, optional
task.completed
A task moved to done.
projectIdstringtaskIdstringtaskNumberintegertitlestringoldStatusbacklog | todo | in_progress | perpetual | in_review | done | cancellednewStatusbacklog | todo | in_progress | perpetual | in_review | done | cancelledactorIdstringidentifierstring, optionalbulkActionboolean, optional. True for a bulk status change.
task.assigned
A person was assigned to a task. It fires once for each person added.
projectIdstringtaskIdstringtaskNumberintegertitlestringassigneeIdstringassigneeIdsarrayactorIdstringidentifierstring, optional
task.status_changed
A task changed status without moving to done.
projectIdstringtaskIdstringtaskNumberintegertitlestringoldStatusbacklog | todo | in_progress | perpetual | in_review | done | cancellednewStatusbacklog | todo | in_progress | perpetual | in_review | done | cancelledactorIdstringidentifierstring, optionalbulkActionboolean, optional. True for a bulk status change.
task.comment_created
A comment or reply was added to a task.
projectIdstringtaskIdstringcommentIdstringparentIdstring | nullauthorIdstringactorIdstring, optional
task.comment_updated
A task comment was edited.
projectIdstringtaskIdstringcommentIdstringparentIdstring | nullauthorIdstringactorIdstring, optional
task.comment_deleted
A task comment was deleted.
projectIdstringtaskIdstringcommentIdstringparentIdstring | nullauthorIdstringactorIdstring, optional
Handoffs
handoff.created
A task handoff was created.
projectIdstringtaskIdstringhandoffIdstringstateopen | requested | queued | running | needs_input | result | accepted | rejected | canceled. The handoff's state after the event.connectionIdstring, 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.
projectIdstringtaskIdstringhandoffIdstringstateopen | requested | queued | running | needs_input | result | accepted | rejected | canceled. The handoff's state after the event.previousStateopen | requested | queued | running | needs_input | result | accepted | rejected | canceled. The handoff's state before the event.reasonapproved | claimed | claim_expired | question_asked | clarification_answered | context_refreshed | result_submitted | accepted | rejected | canceled | task_closed. What caused the change.connectionIdstring, optional. The receiving tool's connection. Left out until a tool is set.
handoff.updated
A handoff's task context or clarifications changed.
projectIdstringtaskIdstringhandoffIdstringstateopen | requested | queued | running | needs_input | result | accepted | rejected | canceled. The handoff's state after the event.reasoncontext_refreshed | clarification_answered. What caused the change.changesarray. The parts of the handoff that changed.connectionIdstring, optional. The receiving tool's connection. Left out until a tool is set.
Docs
docs.created
A doc was created or duplicated.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringtitlestringvisibilitypublic | private | sharedprojectIdstring | null. The project the doc belongs to, or null when its space has no project.createdBystringcreatedViaweb | api. Where the change was made.
docs.updated
A doc's content or visibility changed, or an earlier version was restored.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringchangecontent | visibility | restored_version. What changed.createdViaweb | api. Where the change was made.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.versioninteger, optional. The doc's new version number. Sent for content and restored_version changes.restoredFrominteger, optional. The version that was restored. Sent for restored_version changes.fromValuepublic | private | shared, optional. The previous visibility. Sent for visibility changes.toValuepublic | private | shared, optional. The new visibility. Sent for visibility changes.actorIdstring, optional. Left out when a portal guest or an unattributed edit made the change.
docs.renamed
A doc was renamed.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringfromValuestring. The previous title.toValuestring. The new title.actorIdstring. The member who made the change.createdViaweb | api. Where the change was made.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.
docs.archived
A doc was archived.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringtitlestringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.subtreeCountinteger, optional. How many docs were archived, including this one. Left out when archived through the API.
docs.restored
An archived doc was restored.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.projectIdstring, 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.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringpreviousSpaceIdstringparentPageIdstring | null. The new parent doc, or null for a top-level doc.previousParentPageIdstring | null. The previous parent doc, or null for a top-level doc.actorIdstring. The member who made the change.createdViaweb | api. Where the change was made.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.previousProjectIdstring, 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.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringtitlestringvisibilitypublic | private | sharedcreatedBystringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.subtreeCountinteger, optional. How many docs were deleted, including this one. Left out when deleted through the API.moveChildrenUpboolean, 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.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringcommentIdstringparentIdstring | null. The comment being replied to, or null for a top-level comment.authorIdstring | null. The comment's author, or null for a guest on a public page.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.actorIdstring, optional. Left out when no member acted, such as a guest on a public page.
docs.comment_updated
A doc comment was edited.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringcommentIdstringparentIdstring | null. The comment being replied to, or null for a top-level comment.authorIdstring | null. The comment's author, or null for a guest on a public page.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.actorIdstring, optional. Left out when no member acted, such as a guest on a public page.
docs.comment_deleted
A doc comment was deleted.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringcommentIdstringparentIdstring | null. The comment being replied to, or null for a top-level comment.authorIdstring | null. The comment's author, or null for a guest on a public page.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.actorIdstring, optional. Left out when no member acted, such as a guest on a public page.
docs.comment_resolved
A doc comment was resolved.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringcommentIdstringparentIdstring | null. The comment being replied to, or null for a top-level comment.authorIdstring | null. The comment's author, or null for a guest on a public page.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.actorIdstring, optional. Left out when no member acted, such as a guest on a public page.
docs.comment_reopened
A resolved doc comment was reopened.
pageIdstringidentifierstring. The doc's workspace identifier.spaceIdstringcommentIdstringparentIdstring | null. The comment being replied to, or null for a top-level comment.authorIdstring | null. The comment's author, or null for a guest on a public page.projectIdstring, optional. The project the doc belongs to. Left out when its space has no project.actorIdstring, optional. Left out when no member acted, such as a guest on a public page.
Canvases
canvas.created
A canvas was created.
canvasIdstringnamestringvisibilityshared | privateprojectIdstringcreatedBystringcreatedViaweb | api. Where the change was made.identifierstring, optional. The canvas's project identifier. Left out when its project has no prefix.
canvas.renamed
A canvas was renamed.
canvasIdstringidentifierstring | null. The canvas's project identifier, or null when its project has no prefix.namestringprojectIdstringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.fromValuestring. The previous name.toValuestring. The new name.visibilityshared | 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.
canvasIdstringidentifierstring | null. The canvas's project identifier, or null when its project has no prefix.namestringprojectIdstringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.fromValueshared | private. The previous visibility.toValueprivate | shared. The new visibility.visibilityshared | private, optional. The canvas's visibility after the change. Left out when changed in the app.
canvas.archived
A canvas was archived.
canvasIdstringidentifierstring | null. The canvas's project identifier, or null when its project has no prefix.namestringprojectIdstringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.
canvas.unarchived
An archived canvas was restored.
canvasIdstringidentifierstring | null. The canvas's project identifier, or null when its project has no prefix.namestringprojectIdstringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.
canvas.moved
A canvas was moved to another project.
canvasIdstringidentifierstring | null. The canvas's project identifier, or null when its project has no prefix.namestringprojectIdstringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.visibilityshared | privatepreviousProjectIdstring. The project the canvas belonged to before the move.
canvas.deleted
A canvas was deleted.
canvasIdstringidentifierstring | null. The canvas's project identifier, or null when its project has no prefix.namestringprojectIdstringactorIdstring. The member who made the change.createdViaweb | api. Where the change was made.visibilityshared | privatecreatedBystring
Time tracking
time_entry.created
Time was logged on a task.
entryIdstringtaskIdstringprojectIdstringuserIdstring. The person the time is logged for.durationSecondsinteger. The logged time in seconds.occurredOninteger. When the work happened, in Unix milliseconds.notestring | null. The entry's note, or null when it has none.sourcetimer | 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.
entryIdstringtaskIdstringprojectIdstringuserIdstring. The person the time is logged for.durationSecondsinteger. The logged time in seconds.occurredOninteger. When the work happened, in Unix milliseconds.notestring | null. The entry's note, or null when it has none.sourcetimer | manual | auto_stop | duplicate. How the entry was logged.
time_entry.deleted
A time entry was deleted.
entryIdstringtaskIdstringprojectIdstringuserIdstring. The person the time is logged for.durationSecondsinteger. The logged time in seconds.occurredOninteger. When the work happened, in Unix milliseconds.notestring | null. The entry's note, or null when it has none.sourcetimer | manual | auto_stop | duplicate. How the entry was logged.
Chat
chat.thread_created
A discussion was started in a chat room.
roomIdstringprojectIdstring | nullthreadIdstringthreadNumberinteger | nullactorIdstring, optional
chat.thread_resolved
A discussion was resolved.
roomIdstringprojectIdstring | nullthreadIdstringthreadNumberinteger | nullactorIdstring, optional
chat.thread_reopened
A discussion was reopened by hand or by a reply.
roomIdstringprojectIdstring | nullthreadIdstringthreadNumberinteger | nullactorIdstring, optional
chat.message_created
A message was posted in a discussion.
roomIdstringprojectIdstring | nullthreadIdstringmessageIdstringauthorKinduser | agent | system | clientauthorIdstring | null. The user or chat agent that wrote it.actorIdstring, optional
chat.message_updated
A message was edited.
roomIdstringprojectIdstring | nullthreadIdstringmessageIdstringauthorKinduser | agent | system | clientauthorIdstring | null. The user or chat agent that wrote it.actorIdstring, optional
chat.message_deleted
A message was deleted.
roomIdstringprojectIdstring | nullthreadIdstringmessageIdstringauthorKinduser | agent | system | clientauthorIdstring | null. The user or chat agent that wrote it.actorIdstring, optional
Portals
portal.feedback_created
Feedback was left on a shared update, or a comment was added to a shared doc.
portalIdstringactorTypeteam | client | systemprojectIdstring, optional. Set when the event belongs to one project.actorIdstring, optional. Set when actorType is team.itemIdstring, optional. Set for feedback on a shared update.postIdstring, optional. Set for feedback on a shared update.feedbackIdstring, optional. Set for feedback on a shared update.pageIdstring, optional. Set for a comment on a shared doc.commentIdstring, optional. Set for a comment on a shared doc.parentIdstring | null, optional. The feedback or comment this one replies to.
portal.feedback_resolved
Feedback on a shared update or doc was resolved.
portalIdstringactorTypeteam | client | systemprojectIdstring, optional. Set when the event belongs to one project.actorIdstring, optional. Set when actorType is team.itemIdstring, optional. Set for feedback on a shared update.postIdstring, optional. Set for feedback on a shared update.feedbackIdstring, optional. Set for feedback on a shared update.pageIdstring, optional. Set for a comment on a shared doc.commentIdstring, optional. Set for a comment on a shared doc.parentIdstring | null, optional. The feedback or comment this one replies to.
portal.decision_made
A client approved a shared update or asked for changes.
portalIdstringactorTypeteam | client | systemdecisionapproved | needs_changesprojectIdstring, optional. Set when the event belongs to one project.actorIdstring, optional. Set when actorType is team.itemIdstring, optional. Set for feedback on a shared update.postIdstring, optional. Set for feedback on a shared update.feedbackIdstring, optional. Set for feedback on a shared update.pageIdstring, optional. Set for a comment on a shared doc.commentIdstring, optional. Set for a comment on a shared doc.parentIdstring | null, optional. The feedback or comment this one replies to.
portal.submission_created
A visitor, client, or member submitted a report through a portal.
portalIdstringactorTypeteam | client | systemsubmissionIdstringcategorystringreporterKindvisitor | contact | memberprojectIdstring, optional. Set when the event belongs to one project.actorIdstring, optional. Set when actorType is team.
portal.submission_status_changed
A team member changed the status of a portal submission.
portalIdstringactorTypeteam | client | systemsubmissionIdstringstatusstringpreviousStatusstringprojectIdstring, optional. Set when the event belongs to one project.actorIdstring, optional. Set when actorType is team.taskIdstring, optional. Set once a task is linked.
portal.message_created
A client wrote a message in the portal discussion.
portalIdstringactorTypeteam | client | systemmessageIdstringthreadIdstringprojectIdstring, optional. Set when the event belongs to one project.actorIdstring, 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.
{
"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.
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.
webhook-signature: v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4= v1a,hnO3f9T8Ytu9HwrXslvumlUpqtNVqkhqw/enGzPCXe5BdqzCInXqYXFymVJaA7AZdpXwVLPo3mNl8EM+m7TBAg==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.
{
"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.
{
"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].
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.
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
secretfield 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
signingSecretin 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.