---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com.tr/dev/metrika/en/management/openapi/schema/getPredefinedTypes.md
  - https://yandex.com.tr/dev/metrika/ru/management/openapi/schema/getPredefinedTypes.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/metrika/en/llms.txt

<!-- source: en/management-src/Managing-customer-and-order-data-from-the-CRM/getPredefinedTypes.md -->
<div class="openapi">

# Information about types of custom attributes

<!-- markdownlint-disable-file -->

Returns information about the types of custom attributes for customers and orders.

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-get);margin-bottom: 12px">

<div class="openapi__request">

GET {.openapi__method}
```text translate=no
https://api-metrika.yandex.net/cdp/api/v1/counter/{counterId}/schema/predefined_types
```

</div>

</div>

</div>

### Path parameters

#|
|| **Name** | **Description** ||
||

_counterId_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Tag ID.
{.table-cell}
||
|#{.json-schema-properties}

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "types": [
    {
      "humanized": "example"
    }
  ]
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_types_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [AttributeType](#entity-AttributeType)[]

Attribute types.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
[
  {
    "humanized": "example"
  }
]
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### AttributeType {#entity-AttributeType}

Types of attributes.

#|
|| **Name** | **Description** ||
||

_humanized_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Attribute type name.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "humanized": "example"
}
```

{% endcut %}

</div>

</div>

</div>
<!-- endsource: en/management-src/Managing-customer-and-order-data-from-the-CRM/getPredefinedTypes.md -->

[*Deprecated]: No longer supported, please use an alternative and newer version.