POST /api/v1/archiving/files/upload — Upload Archive Files
Upload files directly to the document archive. Files are stored securely and indexed for future retrieval.
Authentication
SadqAuthorize
Request Headers
- Authorization (required)
- Bearer {token}
- Content-Type (required)
- application/json
Request Body
Content-Type: application/json
- categoryId (GUID, required)
- The unique identifier of the category to upload files to.
- files (array, required)
- Array of file objects to upload (BaseFile).
{
"categoryId": "GUID",
"files": [
{
"file": "JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9BUDw8...",
"fileName": "contract_2025.pdf",
"password": "secure123"
},
{
"file": "UEsDBBQABgAIAAAAIQBi7p1oXgEAAJAEAAATAAgCW0...",
"fileName": "invoice_jan_2025.xlsx",
"password": null
}
]
}Responses
HTTP 200 — Files archived
{
"errorCode": 0,
"message": "Success",
"returnUrl": "/dashboard",
"stateValidationErrors": null,
"signature": ""
}