Skip to Content

How do the parts of a Slashbin integration fit together?

Slashbin sits between a provider and your code. The code behind it, a receiver or an ingest service, is yours, and so are its signature checks, its own failure queue and its retries. Slashbin’s side is the signature check on what comes in, delivery with retries, the Dead Letter Queue for events it could not process before delivery, and replay for failed deliveries.

The roles

  • Slashbin catches an event, checks its signature, reshapes it with your model and delivers it to a destination. It receives webhooks; it does not send them on behalf of your customers.
  • A receiver is your code behind a destination: an HTTPS endpoint Slashbin delivers to. See How do I build a webhook receiver?.
  • An ingest service is your code sending events to Slashbin, for a source with no usable webhook. See How do I ingest events into Slashbin?.

How do I build an integration with Slashbin? is the path through all of it.

Two signatures, two directions

  • Slashbin to your receiver: each delivery carries X-Slashbin-Signature with a sha256= prefix, made with your destination’s outbound secret. Your receiver checks it. See How do I verify a webhook signature?.
  • Your ingest service to Slashbin: Slashbin checks the signature settings configured on your project, and your service signs the raw body to match. See How do I ingest events into Slashbin?.

A destination that takes an API key, such as Klaviyo, is the exception: Slashbin sends the key your destination holds, not X-Slashbin-Signature. See How do I send VideoAsk responses to Klaviyo?.

To rotate a key, add the new key to the verifier first, rotate it in the Console, then remove the old key.

Durable processing, idempotency and recovery

Answer with a 2xx once your receiver has stored the event, and process it after you answer. Make that processing handle the same event twice without a second effect, because a delivery can arrive again. Do I need a queue for webhooks? covers when you need a queue of your own, and How do I resume a webhook job after a crash? covers recovery.

Whose failure queue is it?

Your own failure queue

When your code cannot finish an event, whether that is your processing after a 2xx or an ingest send that ran out of attempts, you operate the queue, the retries and the reprocessing. Slashbin does not run these for your code.

Slashbin’s dead-letter queue

Slashbin handles two kinds of failure, and each has its own recovery.

  • An event Slashbin could not process before delivery, such as one that fails validation or transform, goes to the Dead Letter Queue with its error attached. Fix the cause, then use DLQ Retry. See What do I do with my webhook dead letter queue?.
  • A delivery to your destination that fails is retried with backoff, within a bounded number of attempts. When those attempts run out, it stays failed in the delivery log. It does not move to the Dead Letter Queue. Once the cause is fixed, use Replay, within your plan’s retention and limits. See How do I replay webhooks after fixing a bug?.

Why is my webhook not working? shows how to tell which one you are looking at.

Need somewhere for the next project’s webhooks to land? Slashbin’s Free plan takes an account, not a card.

Start free

(opens in a new tab)