PulseMetrics Docs API v2.4

Webhook Signature Verification

Alert state transitions are signed with HMAC-SHA256 in the X-Pulse-Signature header.

Go Verification Example
mac := hmac.New(sha256.New, []byte(webhookSecret))
mac.Write([]byte(timestamp + "." + string(rawBody)))
expected := hex.EncodeToString(mac.Sum(nil))
if !hmac.Equal([]byte(expected), []byte(receivedSig)) {
    http.Error(w, "invalid signature", http.StatusUnauthorized)
    return
}

Delivery & Retry Policy

Endpoints must respond with a 2xx status within 5 seconds. Failed deliveries retry with exponential jitter for up to 6 hours.