Webhooks
Webhooks send AnnounceKit events to your own endpoint as they happen, so your systems can react to new posts, reactions, subscribers and feature requests without polling the GraphQL API.
Add a webhook
Go to Settings > API > Webhooks (workspace Administrators and Managers), enter your endpoint URL and click Add webhook. Every webhook of the workspace receives every event below. Webhooks are included in every AnnounceKit product.
Events
| Event | Sent when |
|---|---|
post.create |
A post is created |
post.update |
A post is saved again |
post.publish |
A post becomes visible on your Portal and widgets (also when a scheduled post goes live) |
post.unpublish |
A visible post stops being visible |
post.reaction |
A reader reacts to a post |
post.feedback |
A reader leaves feedback on a post |
project.subscribe |
Someone confirms their email subscription to your updates |
project.unsubscribe |
A subscriber unsubscribes |
featurerequest.create |
A feature request is created |
featurerequest.upvote |
Someone votes for a feature request |
featurerequest.comment |
Someone comments on a feature request |
Request
Each event is an HTTP POST with content-type: application/json. The body always has type (the event name), created_at and project (your workspace). The other objects are present when the event has them:
{
"type": "post.publish",
"created_at": "2026-11-26T10:00:00.000Z",
"project": {
"id": 2672,
"name": "Awesome App",
"feed_name": "Awesome App",
"feed_url": "https://announcekit.co/awesome-app/announcements"
},
"post": {
"id": 12345,
"title": "Dark mode is here",
"html_summary": "...",
"body": "...",
"labels": [{ "id": 5442, "name": "New", "color": "#...", "options": {} }],
"visible_at": "2026-11-26T10:00:00.000Z",
"expire_at": null,
"is_draft": false,
"url": "https://announcekit.co/awesome-app/announcements/dark-mode-is-here"
}
}
| Object | Fields | Events |
|---|---|---|
project |
id, name, feed_name, feed_url (your Portal’s name and address) |
all |
post |
id, title, html_summary, body, labels, visible_at, expire_at, is_draft, url |
post.* |
feedback |
reaction, feedback, source |
post.reaction, post.feedback |
feature_request |
id, title, summary, source |
featurerequest.* |
feature_request_vote |
id, feature_request_id, source |
featurerequest.upvote |
feature_request_comment |
id, feature_request_id, comment, source |
featurerequest.comment (from your Portal or widget) |
external_user |
name, email, is_anonymous, is_following, is_email_verified, fields (segmentation data) |
events done by one of your users: reactions, feedback, subscriptions, feature requests |
Verify the signature
Every request carries an X-AnnounceKit-Signature header: the hex HMAC-SHA256 of the raw request body, signed with your workspace secret. The secret is the JWT secret in Settings > Privacy & Access. Compute the HMAC over the body exactly as received, before parsing it:
const crypto = require("crypto");
function isFromAnnounceKit(rawBody, signature, secret) {
const expected = crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
return signature.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
}
Responses and retries
Answer with any 2xx status to accept the event. A delivery fails when your endpoint answers with another status, cannot be reached, or does not answer within 10 seconds. A failed delivery is retried after 30 seconds, 5 minutes, 30 minutes, 1 hour and then every 6 hours, up to 10 attempts in total. Retries can deliver the same event more than once, so make your handler safe to run twice.