Read custom field values

Preview - not available in production and subject to change

Fetch the custom field values on a case or profile.

customFields lists every custom field that applies to the record, in display order, with its current value. A text field’s value is in text, and a multi-select field’s value is in selectedOptions. Fields without a value are still listed. IndividualProfile and EntityProfile have the same customFields field.

Required scope: read-only

Request

query caseDetails($caseId: String!) {
  caseDetails(caseId: $caseId) {
    ... on CaseInformation {
      caseId
      reference
      customFields {
        fieldKey
        label
        type
        text
        selectedOptions {
          key
          label
        }
      }
    }
  }
}

Variables

{
  "caseId": "48213"
}

Response

{
  "data": {
    "caseDetails": {
      "caseId": "48213",
      "reference": "MAT-2026-0192",
      "customFields": [
        {
          "fieldKey": "01963b2e-4f1a-7c3d-8e5f-6a7b8c9d0e1f",
          "label": "Billing code",
          "type": "TEXT",
          "text": "HVL-4471",
          "selectedOptions": []
        },
        {
          "fieldKey": "01963b2e-5a2b-7d4e-9f6a-7b8c9d0e1f2a",
          "label": "Client segment",
          "type": "MULTI_SELECT",
          "text": null,
          "selectedOptions": [
            {
              "key": "01963b2e-6b3c-7e5f-8a7b-8c9d0e1f2a3b",
              "label": "Private client"
            }
          ]
        }
      ]
    }
  }
}