Returns a list of removed entities based on the specified filters.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Page Number
Default value is
1. -
Field to sort by
-
Sorting direction
Values are
ASCorDESC. Default value isASC. -
Size per page
Default value is
60. -
Trash record ID filter.
Multi-value supported. Example: value1;value2 -
Deletion date filterSupports comparison operators:
- Range (
..) - Greater than (
>) - Greater than or equal (
>=) - Less than (
<) - Less than or equal (
<=) - Not equal (
<>)
Examples:
- 01/01/2026..31/12/2026
- >=01/01/2026
- <=01/01/2026
- <>01/01/2026
Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.
- Range (
-
Deletion time filter.
Supported operators: range (..), >, >=, <, <=.
Examples: 08:00:00..18:00:00, >=22:00:00, <=08:00:00 -
Contact ID of the user who deleted the record.
Multi-value supported. Example: value1;value2 -
Email of the user who deleted the record
-
Module the deleted record belonged to
Values are
JOURNAL,PURCHASE_INVOICES,SALES_INVOICES,CONTACTS,ORDERS,ARTICLES, orFIXED_ASSETS. -
ID of the deleted entity.
Multi-value supported. Example: value1;value2 -
Name of the deleted entity
-
Contact ID of the user who originally created the deleted entity.
Multi-value supported. Example: value1;value2 -
IANA timezone name used to interpret the 'time' filter
curl \
--request GET 'https://wyzio.app/api-v1/trash-can'
[
{
"id": 42,
"organizationId": 42,
"date": "2026-05-04T09:42:00Z",
"time": "2026-05-04T09:42:00Z",
"localTime": "2026-05-04T09:42:00Z",
"contactId": 42,
"contactEmail": "string",
"module": "ALL",
"entityId": 42,
"entityName": "string",
"systemInfo": "string",
"entityCreatorContactId": 42
}
]