API ReferenceDocuments
Get All Folders By Type
GET
Folders with type=organization: returns folders granted by the folder view/edit rules, or all of them with settings_document_folders=edit. For type=employee requires settings_document_folders=edit.
HttpBearerAuthheader
AuthorizationBearer <JWT>folder_type*SKFolderTypeValue in
"employee""organization"Successful Response
application/json- response
[index: integer]?curl -X GET 'https://api.skailer.com/api/v1/documents/folders/employee'Example Response
[ { "id": 0, "title": "string", "type": "employee", "document_count": 0 }]Get All Employee Custom Fields GET
Returns the employee fields the token owner can view, with their options. A field is returned if it is visible for at least one employee. For `entity_reference` fields `options` are the active records of their `reference_entity` directory.
Get All Employee Folders GET
Folders of type `employee` for a specific employee. Requires `settings_document_folders=edit`, `settings_roles_permissions=edit` or `employee_folder_permissions=view` on the folder.
