WebhooksRedeliver a webhook delivery

Redeliver a webhook delivery

POST/firm-partners/workspace/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 only

Headers

count-workspace-iduuidrequired

UUID of the client workspace to act on. It must be one of your firm's client workspaces (or the firm's own workspace) and within the API key's client workspaces.

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.
400The `count-workspace-id` header is missing.
401Missing signing headers, an invalid HMAC signature, or a timestamp more than 5 minutes off. Troubleshoot
403The key is inactive or its scope does not allow this request, the workspace is not managed by your firm or is outside the key's client workspaces, the workspace has no active subscription, or it is portal-only and the route needs bookkeeping. Troubleshoot
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.
429Rate limit exceeded (100 requests per minute for each client workspace, counted per firm user of each app, or 10,000 per minute per app). Troubleshoot
POSThttps://api.getcount.com/firm-partners/workspace/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 method = 'POST';
const signingPath = '/workspace/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}/firm-partners/workspace/webhooks/deliveries/019a8c41-7d2e-7b10-9c4f-2e6a8d0b1f35/redeliver`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'count-workspace-id': '5e4d3c2b-1a09-4f8e-8d7c-6b5a49382716',
  },
});

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"
    }
  }
}