Get list of documents
GET
/api-v1/document
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
WEAL-TOKEN string Required
API token (can be retrieved from account settings)
Query parameters
-
direction string
Sorting direction
Values are
ASC
orDESC
. Default value isASC
. -
pageNumber integer(int32)
Page Number
Default value is
1
. -
sizePerPage integer(int32)
Size per page
Default value is
60
. -
sortingField string
Field to sort by
GET /api-v1/document
curl \
-X GET http://wyzio.app/api-v1/document \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"comments": "string",
"contact": "string",
"createdBy": "string",
"createdOn": "2024-05-04T09:42:00+00:00",
"creatorId": 42,
"date": "2024-05-04T09:42:00+00:00",
"deleted": true,
"entityCreatorContactId": 42,
"entityId": 42,
"fileExtension": "string",
"fileId": 42,
"fileName": "string",
"id": 42,
"isContactStaff": true,
"isDeleted": true,
"module": "ALL",
"name": "string",
"self": true,
"size": 42,
"tags": "string",
"tagsCount": 42
}
]