Replay the most recent webhook event for a test case.
POST/test/cases/:id/replay-last-event
Collection Partner API only — this endpoint is a convenience stopgap that existed
before GET /webhooks/events was available. It remains here for backward compatibility
and because it is a thin wrapper over POST /webhooks/events/{eventId}/replay.
Design note: This endpoint was added when the Collection Partner API had no
delivery-history endpoint (GET /webhooks/events), making it impossible to look up
event IDs for replay. It is a stopgap: "give me the last event without having to know its ID."
Now that GET /webhooks/events exists, integrators can use the full
history + replay-by-id pattern instead. This endpoint is intentionally not ported
to the Customer API — the stopgap only exists because it was needed before history existed.
Request
Responses
- 200
- 400
- 404
Event re-enqueued for delivery
Validation error — non-test case or not owned by this partner
Case not found, or no webhook events recorded yet for this case