Register the events you need.
Create an endpoint with its url and events. Read supported event names from the current schema rather than guessing names from post status labels. Capture the signing secret from the create response; it is only shown once.
An unrestricted key can manage endpoints. A profile-scoped key must cover every profile in the current team and mode to manage this surface. The endpoint retains the profile scope it was created with, so adding a new profile does not silently widen its event coverage.
API operations
- POST
/v1/webhookscreateWebhookEndpoint - GET
/v1/webhookslistWebhookEndpoints
Verify the exact bytes that arrived.
Preserve the raw request body. The x-zumpo-signature header is an HMAC-SHA256 of the timestamp, a period and the raw body, encoded as lowercase hex. Use x-zumpo-timestamp as Unix seconds and your stored signing secret.
Reject timestamps outside the allowed window in either direction and compare signatures in constant time. Parse the JSON only after verification. Parsing and reserializing first can change whitespace or key order and invalidate an otherwise correct signature.
- Read x-zumpo-signature, x-zumpo-timestamp and x-zumpo-event-id.
- Verify timestamp and raw-body signature before processing.
- Keep secrets in server configuration, separate from event logs.
Record the event before doing slow work.
Use x-zumpo-event-id as the deduplication identity. Two distinct events can contain the same data, while a retry of one event keeps the same event ID. Record that identity durably together with the work your application needs to perform.
Return a successful response once the event has been durably accepted, then perform slower processing separately. Update the target associated with the event rather than assuming every destination of a post shares the same result.
Exercise the receiver in test mode.
Request a test delivery to the endpoint you control and inspect its delivery log. This is real signed HTTP traffic to your receiver even though no social post is published. A queued test request is not evidence that your receiver accepted the delivery.
Design for duplicates, timeouts and a temporarily unavailable receiver. Delivery retries have a finite budget, and there is no delivery replay API or panel action. Inspect failures and produce a new source event or test delivery when appropriate. Recreating an endpoint also creates a new signing secret, so update the receiver configuration with it.
API operations
- POST
/v1/webhooks/{id}/testsendWebhookTest - GET
/v1/webhooks/{id}/logslistWebhookDeliveries