Base URL https://api.cube-hr.co.uk/api/v1
19 endpoints
Employee and company document management, uploads, folder templates.
/document-categories
Get all document categories for the company.
Create a new document category.
/document-categories/{uuid}
Update a document category.
Delete a document category.
/employees/{uuid}/documents
Get all documents for an employee.
/employees/{uuid}/documents/upload
Upload a document for an employee (multipart/form-data).
/employees/{uuid}/documents/{doc_uuid}
Delete a document from an employee's profile.
/employees/{uuid}/photo
Upload a profile photo for an employee (JPEG/PNG, max 5MB, multipart/form-data).
/documents
Get company-wide documents (policies, handbooks, etc.).
/documents/upload
Upload a company document (multipart/form-data).
/documents/{doc_uuid}
Delete a company document.
/documents/download/{type}/{uuid}
Get a secure, temporary download URL for a document.
/document-folder-templates
Get all document folder templates for the company.
Create a folder structure template.
/document-folder-templates/{uuid}
Get a folder template with its folders.
Update a folder template.
Delete a folder template.
/document-folder-templates/{uuid}/apply/employee/{employee_uuid}
Apply a folder template to a specific employee.
/document-folder-templates/{uuid}/apply/company
Apply a company folder template to the shared company document space.