WebhooksRedeliver a webhook delivery

Redeliver a webhook delivery

POST/partners/webhooks/deliveries/{deliveryId}/redeliver

Queues a delivery to be sent again, under the same id and with the normal retry schedule.

The body is built from the record as it is now, not as it was at the first send; a business event re-reads its invoice, batch or bank account change. The delivery returns to `pending` and the response is 202; follow it in List webhook deliveries.

HMAC signature + Bearer access token
Try this request

Path parameters

deliveryIduuidrequired

The delivery `id` from List webhook deliveries. It is also the `X-Webhook-Id` header and envelope `id`.

Responses

202Delivery queued. Returned under data.delivery.
404No delivery with this id belongs to your app in this workspace.
409The subscription is not active (set it back to active first), the delivery is still being sent, or it cannot be redelivered.
401Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. Troubleshoot
403The credential does not have access to this workspace or resource. Troubleshoot
429Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. Troubleshoot
POSThttps://api.getcount.com/partners/webhooks/deliveries/{deliveryId}/redeliver
Request
import crypto from 'node:crypto';

const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;
const ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'POST';
const signingPath = '/webhooks/deliveries/019a8c41-7d2e-7b10-9c4f-2e6a8d0b1f35/redeliver';
const timestamp = Math.floor(Date.now() / 1000).toString();
const bodyString = '';

const bodyHash = '';
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');

const response = await fetch(`${BASE_URL}/partners/webhooks/deliveries/019a8c41-7d2e-7b10-9c4f-2e6a8d0b1f35/redeliver`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
});

console.log(await response.json());
Response · 202
{
  "status": "success",
  "data": {
    "delivery": {
      "id": "019a8c41-7d2e-7b10-9c4f-2e6a8d0b1f35",
      "workspaceId": "team-uuid",
      "event": "customer.created",
      "status": "pending",
      "resourceId": "dfa3219e-6af8-4c53-997a-037534f63a35",
      "attemptCount": 12,
      "lastStatusCode": 503,
      "lastError": "Endpoint answered HTTP 503.",
      "occurredAt": "2026-03-01T12:00:00.000Z",
      "lastAttemptedAt": "2026-03-02T09:14:31.000Z",
      "nextRetryAt": null,
      "deliveredAt": null,
      "createdAt": "2026-03-01T12:00:00.000Z"
    }
  }
}