Outgoing webhooks
Get told when something publishes.
Add an endpoint under Channels, Webhooks and pick the events you care about.
Signature
Every delivery carries:
X-MarketMind-Event: content.published
X-MarketMind-Signature: t=1735689600,v1=<hex hmac sha256>
The signature is HMAC-SHA256(secret, "{timestamp}.{raw body}"). Compare it with a timing-safe function and reject anything older than five minutes.
$expected = hash_hmac('sha256', $timestamp.'.'.$rawBody, $secret);
if (! hash_equals($expected, $signature)) {
abort(400);
}
Events
| Event | When |
|---|---|
content.published |
A post went out on a channel. |
credits.low |
The credit balance crossed the warning threshold. |
Deliveries are retried and every attempt is visible under Channels, Webhooks.