For the complete documentation index, see llms.txt. This page is also available as Markdown.

List Custom Fields

List custom-field definitions for the requested resourceType, including system parameters.

Use resourceType to discover the definition keys and data types for one kind of record before reading or changing a field.

Behaviour

Localized fields are translated to lang when supplied.

Requires the customFields:read scope.

get
Authorizations
AuthorizationstringRequired

API key sent as a bearer token (mk_live_… / mk_test_…).

Query parameters
resourceTypestring · enumRequired

The resource whose records carry this custom field.

Possible values:
langstring · min: 2 · max: 10Optional

Language code to translate localized fields to (falls back if unavailable).

Example: en
Responses
200

Successful response.

application/json
get/v1/custom-fields
GET /v1/custom-fields?resourceType=OPTION_SET HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    {
      "parameterId": "text",
      "resourceType": "OPTION_SET",
      "key": "text",
      "name": "Chair",
      "description": "Chair",
      "type": "TEXT",
      "source": "SYSTEM",
      "status": "ACTIVE",
      "validationConfig": {
        "min": 1,
        "max": 1,
        "decimalPlaces": 1,
        "regexExpression": "text",
        "validationMessage": "Chair",
        "isRequired": true,
        "isUnique": true,
        "showOnFrontend": true
      },
      "typeConfig": {
        "checkboxContent": {
          "showInFooter": true,
          "content": null,
          "checkedLabel": "Chair",
          "uncheckedLabel": "Chair"
        },
        "selectOptions": [
          {
            "id": "text",
            "name": "Chair",
            "value": "text"
          }
        ],
        "fileContent": {
          "fileLimit": "SINGLE_FILE",
          "minFiles": 1,
          "maxFiles": 1,
          "fileTypes": {
            "acceptAllFileTypes": true,
            "images": true,
            "videos": true,
            "documents": true,
            "archives": true
          },
          "fileExceptions": {
            "allowAdditionalFileTypes": [
              "text"
            ],
            "blockSpecificFileTypes": [
              "text"
            ]
          }
        },
        "metaObjectContent": [
          {
            "parameterId": "text",
            "key": "text",
            "type": "TEXT",
            "name": "Chair",
            "description": "Chair",
            "validationConfig": {
              "min": 1,
              "max": 1,
              "decimalPlaces": 1,
              "regexExpression": "text",
              "validationMessage": "Chair",
              "isRequired": true,
              "isUnique": true,
              "showOnFrontend": true
            },
            "typeConfig": {
              "checkboxContent": {
                "showInFooter": true,
                "content": null,
                "checkedLabel": "Chair",
                "uncheckedLabel": "Chair"
              },
              "selectOptions": [
                {
                  "id": "text",
                  "name": "Chair",
                  "value": "text"
                }
              ],
              "fileContent": {
                "fileLimit": "SINGLE_FILE",
                "minFiles": 1,
                "maxFiles": 1,
                "fileTypes": {
                  "acceptAllFileTypes": true,
                  "images": true,
                  "videos": true,
                  "documents": true,
                  "archives": true
                },
                "fileExceptions": {
                  "allowAdditionalFileTypes": [
                    "text"
                  ],
                  "blockSpecificFileTypes": [
                    "text"
                  ]
                }
              }
            }
          }
        ]
      },
      "createdAt": "text",
      "modifiedAt": "text"
    }
  ]
}

Last updated

Was this helpful?