---
title: "List deleted records · Deleted Records · COUNT Partner API"
description: "Returns the records removed outright since a point in time, oldest first. GET /partners/deleted-records"
canonical: "https://developers.getcount.com/reference/deleted-records/list-deleted-records"
source: "https://developers.getcount.com/reference/deleted-records/list-deleted-records"
---
[Deleted Records](https://developers.getcount.com/reference/deleted-records) / List deleted records

# List deleted records

GET `/partners/deleted-records`

Returns the records removed outright since a point in time, oldest first.

HMAC signature + Bearer access token

[Try this request](https://developers.getcount.com/tools/try-it?method=GET&path=%2Fpartners%2Fdeleted-records)

[Keeping in sync guide](https://developers.getcount.com/guides/keeping-in-sync) [Webhooks API](https://developers.getcount.com/reference/webhooks) [Journal Entries API](https://developers.getcount.com/reference/journal-entries)

#### Query parameters

`updatedSince` string required

An ISO 8601 date-time within the last 90 days (read as UTC when it has no offset), or the `nextUpdatedSince` value of the previous page.

`resourceTypes` string optional

Comma-separated resource types to return: `account`, `bill`, `budget`, `customer`, `customer_address`, `customer_contact`, `customer_note`, `expense_receipt`, `invoice`, `journal_entry`, `person`, `product`, `project`, `recurring_invoice_template`, `tag`, `tag_group`, `task`, `tax`, `time_entry`, `transaction`, `vendor`. Omit for every type the app may read.

`limit` integer optional

Records per page, 1–500. Defaults to 100.

#### Responses

`200` `hasMore` is true when more deletions follow; read them with `updatedSince` set to `nextUpdatedSince`.

`400` `updatedSince` is missing or is neither a date-time nor a cursor, `resourceTypes` names an unknown type, or `limit` is outside 1–500.

`410` `updatedSince` is older than 90 days. Run a full load of each list endpoint again.

`401` Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-401)

`403` The credential does not have access to this workspace or resource. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-403)

`429` Rate 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](https://developers.getcount.com/getting-started/errors#error-429)

GET `https://api.getcount.com/partners/deleted-records`

Request

```javascript
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 = 'GET';
const signingPath = '/deleted-records';
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/deleted-records`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
});

console.log(await response.json());
```

Response · 200

```json
{
  "status": "success",
  "message": "Success on reading deleted records",
  "data": {
    "deletedRecords": [
      {
        "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
        "resourceType": "tag",
        "deletedAt": "2026-11-18T08:14:02.000Z"
      },
      {
        "id": "0193a1c2-7b4d-7e10-9a2f-5c6d7e8f9a01",
        "resourceType": "journal_entry",
        "deletedAt": "2026-11-18T08:20:45.000Z"
      }
    ],
    "nextUpdatedSince": "cursor_eyJ1cGRhdGVkQXQiOiIyMDI2LTExLTE4VDA4OjIwOjQ1LjAwMDAwMFoiLCJyZWNvcmRVdWlkIjpudWxsfQ",
    "hasMore": false
  }
}
```
