GET /api/v1/archiving/categories — Get Archive Categories
Retrieves all archive categories including their hierarchical structure with subcategories.
Authentication
SadqAuthorize
Request Headers
- Authorization (required)
- Bearer {token}
- Accept (required)
- application/json
Responses
HTTP 200 — Archive categories list
{
"data": [
{
"id": "a1b2c3d4-5e6f-7g8h-9i0j-1k2l3m4n5o6p",
"name": "Contracts",
"categoryId": null,
"isShared": false,
"subCategories": [
{
"id": "b2c3d4e5-6f7g-8h9i-0j1k-2l3m4n5o6p7q",
"name": "2025 Contracts",
"categoryId": "a1b2c3d4-5e6f-7g8h-9i0j-1k2l3m4n5o6p",
"isShared": true,
"subCategories": []
}
]
},
{
"id": "c3d4e5f6-7g8h-9i0j-1k2l-3m4n5o6p7q8r",
"name": "Legal Documents",
"categoryId": null,
"isShared": false,
"subCategories": []
}
],
"errorCode": 0,
"message": null,
"returnUrl": "/dashboard",
"stateValidationErrors": null,
"signature": ""
}