# Get Custom Fields

GET /

#### Description

Retrieves a list of all custom fields defined within an organization, including their names, data types, and associated entities.

Endpoint: GET /
Version: 1.0
Security: oauth2

## Query parameters:

  - `objectType` (string)
    Filters custom fields by the provided object type
    Enum: "audit", "connection", "control", "controlScope", "domain", "freshnessHistory", "exportFile", "label", "organization", "organizationUser", "policy", "program", "proof", "request", "requirement", "risk", "riskRegister", "section", "task", "scope", "template", "user"

## Response 200 fields (application/json):

  - `id` (string, required)
    Example: "d88d505d-5199-11ee-a644-522476618ae8"

  - `orgId` (string, required)
    Example: "ce83e3cd-5199-11ee-a644-522476618ae8"

  - `name` (string, required)
    Example: "Location"

  - `type` (string, required)
    Enum: "text", "number", "date", "user", "textSingleSelect", "textMultiSelect"

  - `behavior` (string)
    Enum: "controlManaged", "controlIndependent", "controlAggregatedAverage", "controlAggregatedMinimum", "controlAggregatedMaximum", "controlAggregatedSum"

  - `availableOn` (array)
    Enum: "audit", "connection", "control", "controlScope", "domain", "freshnessHistory", "exportFile", "label", "organization", "organizationUser", "policy", "program", "proof", "request", "requirement", "risk", "riskRegister", "section", "task", "scope", "template", "user"

  - `icon` (string, required)
    Enum: "calendar1", "calendar2", "person", "people", "location", "horizontalBar", "explodedDonut", "explodedPie", "clock", "applicationServer", "airplane", "gear", "phone", "fileServer", "table", "gauge1", "gauge2", "paperclip", "flag", "ship", "folder", "file", "truck", "bug", "signPost", "officeBuilding", "map", "servers", "money", "key", "application", "factory", "workstation", "book", "filter", "globe", "mobilePhone", "battery", "spade", "heart", "diamond", "club", "star", "clover", "gem", "box", "fire", "question", "risk", "doubleTick", "refresh", "tick", "notStarted", "cancelled", "tag"

  - `isRequired` (boolean, required)

  - `defaultTextValue` (string)

  - `defaultDateValue` (string)

  - `defaultNumberValue` (number)

  - `options` (array, required)

  - `options.id` (string)

  - `options.orgId` (string)

  - `options.fieldId` (string)

  - `options.isDefault` (boolean)

  - `options.textValue` (string)

  - `numberFormat` (string, required)
    Enum: "decimal", "percentage"

  - `status` (string)
    The status of the object
    Enum: "active", "archived"

  - `createdBy` (string)
    Example: "82d7c228-8bcd-11e9-a94b-ab3de8494987"

  - `createdOn` (string)
    Example: "2023-09-12T18:26:10.005365Z"

  - `updatedBy` (string)
    Example: "82d7c228-8bcd-11e9-a94b-ab3de8494987"

  - `updatedOn` (string)
    Example: "2023-09-12T18:26:10.005365Z"

  - `permissions` (array)
    Example: []


