API ReferenceCustom Fields
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.
HttpBearerAuthheader
AuthorizationBearer <JWT>Successful Response
application/json- response
[index: integer]?curl -X GET 'https://api.skailer.com/api/v1/custom-fields/fields'Example Response200
[ { "id": 0, "section_id": 0, "entity_type": "employee", "type": "employee_position_reporting_to", "field_type": "text", "title": "string", "description": "string", "slug": "string", "hint": "string", "is_mandatory": true, "config": { "is_multiple_values": true, "formula": "string", "is_visible_to_candidate": true }, "reference_entity": "legal_entity", "is_archived": true, "options": [ { "id": 0, "title": "string", "description": "string", "is_archived": true } ] }]Search table rows POST
A historical table returns only the current row of each employee. Pass `with_history=true` to get every row. For employees whose table history the token is not allowed to view, only the current row is returned.
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`.
