Setting one up
Settings → webhooks. Give a URL and choose the channels it covers.Receiving
Nushir sends a POST with a JSON body identifying the post, the channel and the result. Two things every receiver should do:- Return quickly. Acknowledge, then do the work asynchronously. A slow endpoint looks like a failure and will be retried.
- Be idempotent. A retry can deliver the same event twice. Key on the post id so a duplicate delivery does not double-apply.