Subscribing to Events
You can configure webhook endpoints in the Developer Settings panel of the Newsroom Terminal.Supported Event Types
Securing Webhooks with HMAC-SHA256
When Extra Scoop dispatches an event, it includes a cryptographic signature in theX-Signature HTTP header. You must verify this signature to ensure the payload originated from Extra Scoop and was not altered in transit.
1
Extract the Header
Read the
X-Signature header from the incoming request.2
Compute the HMAC Hash
Calculate an HMAC-SHA256 digest of the raw request payload using your configured webhook secret.
3
Constant-Time Comparison
Compare the computed hash with the header value using a timing-safe string comparison.