Skip to content

Inspect and replay webhook deliveries

Before you begin

Plan
Included in Pro and Team. How plans and limits work
Role
Viewer or higher to read deliveries and Editor or higher to send a test or replay.

Every time a webhook fires, MockHub records a delivery: what it sent and where, how your receiver answered, and how many attempts it took. It is the first place to look when a callback did not arrive, and deliveries are kept for 30 days.

  1. Open the project’s Webhooks tab.

  2. Select Deliveries on the webhook.

  3. To see one outcome only, open Any status and choose Succeeded, Failed, Retrying or Pending.

  4. Select Details on a delivery to see what was sent and what came back.

The list is newest first, 20 to a page unless you choose 50 or 100. The status filter and the page are part of the page’s address, so a copied link opens the same view.

A delivery’s status changes on the screen by itself as MockHub sends it, retries it and records the answer. A tag beside the status filter says what the list is doing:

Tag What it means
Live You are on the first page with no status chosen and no details open. New deliveries are added at the top as they are created.
Paused Any other view: another page, a status filter or open details. Deliveries still Pending or Retrying on the page still change in place, and a button such as 2 new deliveries appears when more match. Select it to return to the newest deliveries.
Reconnecting… The connection dropped. The screen reconnects by itself.
No tag Live updates are not available here.

While the tag reads Reconnecting…, or there is no tag, a delivery still Pending or Retrying has Refresh, which reads it again.

Column Shows
Status Pending, Retrying, Succeeded or Failed, and a Replay tag on a replay
Cause What fired it: Fired by hand, On schedule, A mock was served or Replay
Answer The status code your receiver answered with, and how long the last attempt took. No response when nothing answered, with the error; Not answered yet before the first attempt
Attempts How many attempts have run, and the time of the next one while one is scheduled, including the end of a mock trigger’s delay
Sent When the delivery was created

An alert rule that calls a webhook address lists its alerts the same way, under Deliveries on the rule in the project’s Alerts tab. Their cause is An alert fired, and a replay of one is signed with the rule’s secret.

Details opens four parts:

  • Sent to: the address this delivery went to. Changing the webhook’s Target URL later does not change it.
  • Headers as sent: the webhook’s static headers and Content-Type. A static header’s value reads Hidden: it was sent, but is never shown again. The X-MockHub-* headers are made for each attempt and not stored.
  • Body as sent: the body, built once when the webhook fired and resent unchanged by every attempt. Values a mock’s request put in it are shown as the project’s request log keeps them, so a header the project redacts reads [REDACTED] here, with a note that the endpoint received it.
  • What came back: the first 8 KiB of the last attempt’s answer, as text, or the error when nothing answered.
  • Pending: waiting for its first attempt. A delivery fired by a mock stays here during its delay.
  • Retrying: an attempt failed in a way that may pass, such as a 503, a timeout, a name that does not resolve yet, or the workspace’s outgoing requests being full, and the next attempt is scheduled. A delivery makes at most three attempts, 30 seconds and then 5 minutes apart.
  • Succeeded: your receiver answered with a 2xx status.
  • Failed: MockHub gave up. Your receiver answered with a redirect or a 4xx other than 408 and 429, three attempts failed, or the delivery was stopped before it was sent, with the reason shown in Answer, such as “The webhook was disabled before the delivery could run.”

Webhook signatures and retries lists every outcome and whether it is retried.

Send a test fires the webhook now, exactly as it is set up, with the cause Fired by hand. The message “Delivery queued” appears and the delivery is at the top of the list. A test has no request behind it, so request placeholders in the body are empty.

Replay on a delivery, confirmed with Replay, creates a new delivery with the original’s method, body and headers, sent to the address the original went to, even if you have changed the webhook since. A delivery to the project’s own inbox goes to the project’s current address. The message “Replay queued” appears. The replay gets its own X-MockHub-Delivery, a fresh timestamp and a signature made with the current secret. The original delivery is left as it was.

While the webhook is Paused, both are unavailable, and Send a test explains “Start this webhook before firing it.” Both spend the plan’s delivery allowance.

The new delivery is at the top of the list as Pending. A moment later it reads Succeeded with your receiver’s status code, Retrying with the time of its next attempt, or Failed with what went wrong.

  • Deliveries are kept for 30 days on every plan, then removed. They cannot be exported. Deleting a webhook deletes its deliveries; pausing it keeps them.
  • A delivery records its last attempt only. The answer and error of earlier attempts are not kept.
  • Only the first 8 KiB of an answer is kept.
  • A fire refused because the delivery allowance is used up leaves no delivery. Send a test says so with “Webhook event allowance exhausted; no delivery was queued.”; a schedule or a mock trigger skips the fire without a trace.
  • There is no search in the list, only the status filter.

Report a problem with this page