> ## Documentation Index
> Fetch the complete documentation index at: https://docs.catenatelematics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# v2.66.0 - Webhook Replay Result

> Webhook replay endpoint now returns published and remaining counts, enabling callers to drain the dead letter queue across multiple calls

**Released 10th September 2026**

## Webhook replay result

This release enhances the `POST /v2/notifications/webhooks/{webhook_id}/replay` endpoint. The response body now includes two new fields — `published` and `remaining` — so you can tell whether the dead letter queue has been fully drained and whether you need to call again.

<Check>
  **Backward-compatible addition:** The new response fields are purely additive. No existing integrations are affected.
</Check>

### Updated endpoint

| Method | Endpoint | Description |
| - | - | - |
| `POST` | `/v2/notifications/webhooks/{webhook_id}/replay` | Replay undelivered messages from the webhook dead letter queue |

One call drains at most one page within its time budget. Check `remaining` after each call and repeat until it reaches zero.

### New response fields

The `202` response body now returns a `WebhookReplayResult` object with the following fields:

| Field | Type | Description |
| - | - | - |
| `published` | integer | Number of messages published during this call |
| `remaining` | integer | Number of messages still in the dead letter queue after this call |

### Usage example

```bash theme={null}
POST /v2/notifications/webhooks/{webhook_id}/replay
```

```json theme={null}
{
  "published": 25,
  "remaining": 47
}
```

If `remaining` is above zero, call the endpoint again to continue draining the queue:

```bash theme={null}
# Keep calling until remaining == 0
while remaining > 0:
    POST /v2/notifications/webhooks/{webhook_id}/replay
```

***

## Need help?

<CardGroup cols={2}>
  <Card title="API reference" icon="book" href="/api-reference/notifications-api">
    View complete endpoint documentation for the Notifications API
  </Card>

  <Card title="Contact support" icon="life-ring" href="mailto:support@catenaclearing.io">
    Questions about your integration? Our team is here to help
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.