v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBDocuments > Document
Restore from trash bins a Document
This endpoint restores the documents from the trash bin, remember that a document in the trash bin will be deleted from the system after 30 days.
post/api/2026-07-01/resources/documents/documents/restore_from_trash_bin
Request body
Example request
{
"document_ids": [
"1",
"2",
"3"
]
}Response
OK
Example response
[
{
"author_id": "1",
"company_id": "1",
"content_type": "application/pdf",
"created_at": "2020-01-01T00:00:00Z",
"employee_id": "1",
"extension": "pdf",
"file_size": 1024,
"filename": "document.pdf",
"folder_id": "1",
"id": "1",
"is_company_document": true,
"is_management_document": true,
"is_pending_assignment": true,
"leave_id": "1",
"public": true,
"signature_status": "pending",
"space": "company_public",
"updated_at": "2020-01-01T00:00:00Z",
"deleted_at": "2020-01-01T00:00:00Z"
}
]