Skip to content

Test events ​

Don't wait for the vendor to send a real event. Every source has a send test event action (dashboard: open the source; CLI: korb test <source>) that fires the preset's canned sample through your real pipeline — routes, filters, destinations, delivery logs — so you can prove the whole pipe end-to-end.

What arrives at your destination ​

  • The preset's sample payload, e.g. Stripe's checkout.session.completed, delivered exactly like a real event (plus korb-received-at, korb-event-id, …).
  • One extra header: korb-test: 1 — synthetic traffic. Verify and 200, but skip side effects:
js
if (req.headers["korb-test"] === "1") {
  return res.status(200).end();      // acknowledged, nothing executed
}

korb-test is absent on real traffic — there is nothing to filter out later.

Custom payloads ​

In the dashboard's test modal the sample is pre-loaded and editable. Edit it and send: your exact bytes flow through the pipeline (content-type set; vendor signature headers are not stamped on custom bodies — they'd be computed over the original sample).

Rules ​

  • Test events never count against your cap — they're free.
  • They don't touch the source's heartbeat tracking — a quiet-source alert is never silenced by synthetic traffic.
  • They do appear in the inbox and delivery logs like any event — that's the point.

API ​

sh
curl -X POST https://korb.sh/api/sources/<id>/test \
  -H "Authorization: Bearer korb_..." \
  -H "content-type: application/json" \
  -d '{}'                        # omit "body" = canned sample;
                                 # {"body": {...}} = custom payload (96 KB max)