# Create a new document Endpoint: POST /document Version: 1.0.0 Security: JWT ## Request fields (multipart/form-data): - `document_name` (string, required) The name of the document Example: "invoice" - `file` (string, required) The file to be uploaded. This should be sent as a binary in the multipart/form-data request. ## Response 201 fields (application/json): - `id` (string) The unique identifier for the Document. Example: "doc_nYUqLpuYQ0M8" - `document_name` (string) The name of document Example: "invoice" - `file_name` (string) The name of the file you uploaded. Example: "invoice_BC8tFdE.pdf" - `status` (string) The status of file you uploaded. Values can be uploaded, approved and rejected. Example: "uploaded" - `created_at` (string) Timestamp representing when the document was created Example: "2021-06-01T12:00:00Z" - `updated_at` (string) Timestamp representing when the document was last updated Example: "2021-06-01T12:00:00Z" ## Response 400 fields