curl --request GET \
--url http:localhost:3000/v2/documents/ \
--header 'x-API-Key: <api-key>'
[
{
"_id": "<string>",
"number": 123,
"companyId": "<string>",
"status": {
"status": 123,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"url": "<string>",
"name": "<string>",
"fileName": "<string>",
"objectId": "<string>",
"userId": "<string>",
"jobId": "<string>",
"customerId": "<string>",
"absenceId": "<string>",
"complaintId": "<string>",
"uploadId": "<string>",
"accessGroup": "<string>"
}
]
List documents by their IDs. Requires a filter with document IDs.
curl --request GET \
--url http:localhost:3000/v2/documents/ \
--header 'x-API-Key: <api-key>'
[
{
"_id": "<string>",
"number": 123,
"companyId": "<string>",
"status": {
"status": 123,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"lastModifiedAt": "2023-11-07T05:31:56Z",
"lastModifiedBy": "<string>"
},
"url": "<string>",
"name": "<string>",
"fileName": "<string>",
"objectId": "<string>",
"userId": "<string>",
"jobId": "<string>",
"customerId": "<string>",
"absenceId": "<string>",
"complaintId": "<string>",
"uploadId": "<string>",
"accessGroup": "<string>"
}
]
Filter by IDs (array of objectIds)
List of documents
The response is of type Document · object[]
.
Was this page helpful?