---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com.tr/dev/metrika/en/management/openapi/clients/getClients.md
  - https://yandex.com.tr/dev/metrika/ru/management/openapi/clients/getClients.md
  - href: en/management/openapi/clients/getClients.md
    type: text/markdown
    title: Markdown version
  - href: ../../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/metrika/en/llms.txt

<!-- source: en/management-src/Managing-Yandex-Direct-clients/getClients.md -->
<div class="openapi">

# List of accessible clients

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

Returns data about Yandex Direct clients whose campaigns are accessible to the owner of the Yandex Metrica tag.

## 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/management/v1/clients
```

</div>

</div>

</div>

### Query parameters

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

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

Yandex Metrica tag ID. You can specify multiple tags separated by commas.

_Example:_{.json-schema-reset .json-schema-example} `2215573`
{.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
{
  "clients": [
    {
      "id": 0,
      "name": "example",
      "chief_login": "example"
    }
  ]
}
```

{% endcut %}

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

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

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

```json translate=no
[
  {
    "id": 0,
    "name": "example",
    "chief_login": "example"
  }
]
```

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

</div>

<div class="openapi-entity">

### Client {#entity-Client}

List of Yandex Direct clients whose campaigns are accessible to the owner of this Yandex Metrica tag.

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

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

Login of the client's chief representative in Yandex Direct. You can use it to generate the [Yandex Direct — costs](https://yandex.com.tr/dev/metrika/en/stat/direct-clicks.md) report.

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

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

Yandex Direct client ID.
{.table-cell}
||
||

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

Name of the client specified in the Yandex Direct settings.

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

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

```json translate=no
{
  "id": 0,
  "name": "example",
  "chief_login": "example"
}
```

{% endcut %}

</div>

</div>

</div>
<!-- endsource: en/management-src/Managing-Yandex-Direct-clients/getClients.md -->

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