improved

Reading fields metadata permission update

The metadata endpoint Get all company fields now retrieves metadata for all employee fields, without requiring any permissions for the service user performing this action.

This update allows developers to seamlessly fetch all field metadata using the API, regardless of category permissions. This way, even if fields are moved between categories, developers can still view the field's category and guide the Admin on which categories the service user needs access to for fetching the actual field data.

To learn more about permissions, see API Service Users.

Field metadata sample:

    {
        "id": "personal.age",
        "category": "personal",
        "name": "Age",
        "description": null,
        "jsonPath": "personal.age",
        "type": "number",
        "typeData": {},
        "historical": false
    },