# Get a Custom Field by Internal Name

## Get a Custom Fields by Internal Name

<mark style="color:blue;">`GET`</mark> `https://{{accountSlug}}.myeshopbox.com/api/platform/v1/property/:internalName`

This endpoint allows you to get a custom fields by internal name .

#### Path Parameters

| Name         | Type   | Description                            |
| ------------ | ------ | -------------------------------------- |
| internalName | string | It is the unique name of the property. |

#### Headers

| Name          | Type   | Description                                  |
| ------------- | ------ | -------------------------------------------- |
| Authorization | string | The Bearer token to grant access to the API. |

{% tabs %}
{% tab title="200 Custom field by internal name successfully retrieved." %}

```
{
    "data": [
        {
            "label": "occassion",
            "internalName": "occassion",
            "description": "occassion dresses",
            "isUnique": "no",
            "fieldType": "multi_select",
            "options": [
                "red,blue,green"
            ],
            "scope": [
                "product"
            ],
            "createdAt": "2020-02-27T18:32:15.528+05:30",
            "updatedAt": "2020-02-27T18:32:15.528+05:30"
        }
    ],
    "page": 1,
    "perPage": 25,
    "total": "1"
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="curl" %}

```
curl --location --request GET 'http://localhost:8080/_ah/api/esb/v1/property/occassion' \
--header 'Content-Type: application/json' \
--header 'Authorization: '
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eshop.gitbook.io/eshopbox-developers/advanced/custom-fields/get-all-custom-fields-by-internal-name.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
