Get custom metadata field

Get existing custom metadata fields

GET https://api.imagekit.io/v1/customMetadataFields

Get a list of all the custom metadata fields.

Query Parameters

NameTypeDescription

includeDeleted

String

Set it to true if you want to receive deleted fields as well in the API response.

Headers

NameTypeDescription

Authorization*

String

base64 encoding of your_private_api_key:

Note the colon in the end.

[
    {
        "id": "598821f949c0a938d57563dd",
        "name": "brand",
        "label": "brand",
        "schema": {
            "type": "Text",
            "defaultValue": "Nike"
        }
    },
    {
        "id": "865421f949c0a835d57563dd"
        "name": "price",
        "label": "price",
        "schema": {
            "type": "Number",
            "minValue": 1000,
            "maxValue": 3000
        }
    }
]

Examples

curl -X GET "https://api.imagekit.io/v1/customMetadataFields" \
-H 'Content-Type: application/json' \
-u your_private_key:

Last updated