Returns the total number of documents 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
-
Field to sort by
-
Sorting direction
Value is
ASC,DESC. -
Page Number
-
Size per page
Default value is
60. -
Document identifier(s). When filteredTags and/or filteredContacts are specified, the value of id is generated automatically based on the documents found and any user-provided id value is ignored. If no matching documents are found, id is set to -1. When neither filteredTags nor filteredContacts is specified, the id value provided in the request is used for filtering.
Multi-value supported. Example: value1;value2 -
Date of the documentSupports 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 (
-
Name of the document
-
Type of module for the document
Values are
CONTACTS,STOCK_MOVEMENTS,JOURNAL,ORGANIZATIONS,PURCHASE_INVOICES,SALARIES,SALES_INVOICES,ORDERS, orUNASSIGNED. -
File ID related to the document
-
Name of the file related to the document
-
Extension of the file related to the document
-
Size of the document file
-
Document creation dateSupports 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 (
-
User who has created the document
-
Creator contact ID of the document
Multi-value supported. Example: value1;value2 -
Boolean flag about whetehr the document was deleted or not
-
Semicolon-separated list of contact IDs. Multi-value supported. Example: value1;value2
-
Checks whether documents should be filtered based on parameters and corresponding permissions.
curl \
--request GET 'https://wyzio.app/api-v1/document/overall'
42