Article like added or removed
A reader liked an article, or took the like back. data.direction says which: added when the like was given, removed when it was withdrawn.
One topic carries both directions, so subscribing once is enough to mirror the whole association. A consumer that heard a named person liked an article and never heard them take it back would keep acting on a claim the person withdrew.
data.reader names the person. The same actions are readable as engagement records at GET /newsletters/{newsletter}/events?event_type=like. A reader with no Commune account cannot like an article, so unlike article.read this field is null only for a deleted account.
data.like_count is the whole tally after the change, counted in the same transaction that made it, and is the number GET /articles/{article} reports on stats.likes. It is on the removal as well as the addition, so a consumer that stores it never has to add anything up and a consumer that missed a message is corrected by the next one.
Fires on a real row change only. Liking an article this person already liked is silent, and so is unliking one they had not liked. Liking, unliking and liking again fires three times.
Delivered as a single HTTPS POST to the consumer's registered endpoint, with the message as the JSON request body. Respond 2xx to acknowledge. Anything else, or a timeout, is retried with backoff, so acknowledge fast and do the work afterwards.
Headers
API version the payload conforms to. Same value as api_version in the envelope.
Same value as id in the envelope. The dedupe key.
Same value as type in the envelope. The topic name.
HMAC-SHA256 over Commune-Timestamp as Unix seconds, a literal ., then the raw request body, keyed by the endpoint's signing secret. Lowercase hex, carried as v0= followed by one or more comma separated digests (more than one while a secret is being rotated). The header's timestamp is an RFC 3339 instant, so convert it to Unix seconds before signing. Verify against the raw bytes before parsing the JSON. The webhooks guide has the full procedure.
When this delivery attempt was made, as an RFC 3339 instant in UTC. It differs on every retry, and it IS covered by the signature, in Unix seconds, so a stale or altered one can be rejected. Enforce a tolerance window of a few minutes and dedupe on the event id as well, since a retry inside that window is legitimate.
1 on the first attempt, incremented on each retry. Not sent today: do not rely on it, and be idempotent regardless. The same number is readable after the fact as attempt on a DeliveryAttempt, so a consumer that needs to tell a retry from a first delivery can ask instead of being told.
Payload
Example payload
{
"id": "018f2a8b-6c4b-7d2e-9f11-6a1c3d5e7b90",
"type": "article.published",
"api_version": "2026-08-26"
}Response
The consumer accepted the delivery. Any 2xx acknowledges the message and it is not sent again.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.