---
title: "Documents > Document > Move to trash bins"
method: POST
path: "Webhooks > Documents > Document > Move to trash bins"
tags: ["Webhooks"]
---

# Documents > Document > Move to trash bins

`POST Webhooks > Documents > Document > Move to trash bins` (webhook)

Subscription_type: `documents/document/move_to_trash_bin`

## Payload

- DocumentsDocument
  - `author_id` string: access identifier of the author, refers to /employees/employees endpoint.
  - `company_id` string: company identifier, refers to /api/me endpoint.
  - `content_type` string: document content type.
  - `created_at` string, required: creation date of the document.
  - `employee_id` string: employee identifier associated to the document.
  - `extension` string: document extension.
  - `file_size` integer: document file size in bytes.
  - `filename` string, required: name of the document.
  - `folder_id` string: folder identifier, references to documents/folders endpoint.
  - `id` string, required: document identifier.
  - `is_company_document` boolean: flag that indicates if the document is a company document.
  - `is_management_document` boolean: flag that indicates if the document is a management document.
  - `is_pending_assignment` boolean: flag that indicates if the document is pending assignment.
  - `leave_id` string: leave identifier associated to the document, refers to /timeoff/leaves endpoint.
  - `public` boolean, required: flag to indicate if the document is public.
  - `signature_status` 'pending' | 'partially_signed' | 'declined' | 'completed' | 'bounced_email' | 'cancelled' | 'error' | 'expired': document signature status.
  - `signees` string[]: list of signee access identifiers associated to the document, refers to /employees/employees endpoint.
  - `space` string, required: document space.
  - `updated_at` string, required: last update date of the document.
  - `deleted_at` string: deletion date of the document.

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
