Skip to Content
API ReferenceCustom Fields

Get All Employee Custom Fields

GET
/api/v1/custom-fields/fields

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.

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
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      }    ]  }]