Skip to Content
API ReferenceCustom Fields

Get All Custom Tables

GET
/api/v1/custom-fields/tables

Returns the tables the token owner can view, with only the columns they have access to. A table is returned if at least one of its columns is visible for at least one employee. For entity_reference columns 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/tables'
Example Response200
[  {    "id": 0,    "tab_id": 0,    "title": "string",    "slug": "string",    "is_historical": true,    "table_fields": [      {        "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          }        ],        "default_value": {          "value_text": "string",          "value_float": 0,          "value_int": 0,          "value_bool": true,          "datetime_value": "string",          "date_value": "string",          "value_int_array": [            0          ],          "value_text_array": [            "string"          ],          "value_label": "string",          "value_file": {            "name": "string",            "size": 0,            "mime_type": "string",            "url": "string"          },          "value_employee_ids": [            0          ],          "value_references": [            {              "id": 0,              "title": "string",              "is_archived": true            }          ]        },        "table_id": 0      }    ],    "table_type": "employee_positions"  }]