# List deleted requests (https://notert.io/docs/api/reference/list-deleted-requests)

`GET /api/v1/requests/trash`

A page of the workspace's trash, the most recently deleted first: the requests deleted in the app or through a delete, kept 30 days before they are deleted for good. A duplicate that went to the trash with the request it was merged into is that request's to bring back, so it isn't listed. The trash spans every board, so a token held to some is TOKEN_HELD_TO_BOARDS.

Access: A token with requests:read.

## Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | No | How many deleted requests the page holds. 1 to 100. Default 20. |
| `cursor` | string | No | The nextCursor of the page before. At most 4096 characters. |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `items` | object[] | The page's deleted requests, the most recently deleted first. |
| `items.id` | string | The request's id. Where an endpoint takes one, its key as its page shows it, such as REQ-44, works too. |
| `items.key` | string | What people call the request by, as its page showed it. The restore takes it as it takes the id. |
| `items.title` | string | What the request asks for, in a line. |
| `items.boardId` | string | The board it was on. |
| `items.trashedAt` | date-time | When it was deleted. |
| `items.trashedByName` | string or null | Who deleted it, by the name they gave, or null for one with none or who left. |
| `nextCursor` | string or null | Where the next page starts, to send as cursor. Null on the last page. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't read requests, boards, tags and statuses. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 403 | `TOKEN_HELD_TO_BOARDS` | The trash spans every board, so this token, held to some, can't read it. Use a token that reaches every board. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl https://app.notert.io/api/v1/requests/trash \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "items": [
    {
      "id": "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40",
      "key": "REQ-44",
      "title": "Dark mode",
      "boardId": "2d9a7c41-6b3e-4e8f-a1c5-0f4b8d2e6a17",
      "trashedAt": "2026-11-20T09:30:00.123Z",
      "trashedByName": "Dana Lee"
    }
  ],
  "nextCursor": "WyIyMDI2LTExLTIwIDA5OjMwOjAwLjEyMzQ1NiIsIjhmMmM0YjFlLTNhNmQtNGYwYi05YzJlLTVkN2ExYjNjOWU0MCJd"
}
```
