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

<!-- source: en/management-src/Transmitting-user-parameters/confirm.md -->
<div class="openapi">

# Confirming a parameter upload

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

Confirms an upload of parameters.

## Request

<div class="openapi__requests">

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

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
https://api-metrika.yandex.net/management/v1/counter/{counterId}/user_params/uploading/{uploadingId}/confirm
```

</div>

</div>

</div>

### Path parameters

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

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

ID of the tag whose parameter upload you want to confirm.
{.table-cell}
||
||

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

ID of the parameter upload you want to confirm.
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "uploading": {
    "id": 0,
    "create_time": "2025-01-01T00:00:00Z",
    "line_quantity": 0,
    "comment": "example",
    "content_id_type": "example",
    "action": "example",
    "status": "example"
  }
}
```

{% endcut %}

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

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

Information about the uploaded user parameters.

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

```json translate=no
{
  "id": 0,
  "create_time": "2025-01-01T00:00:00Z",
  "line_quantity": 0,
  "comment": "example",
  "content_id_type": "example",
  "action": "example",
  "status": "example"
}
```

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

</div>

<div class="openapi-entity">

### UserParamsUploading {#entity-UserParamsUploading}

Information about the uploaded user parameters.

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

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

Action to be performed:
- `update`: Add parameters.
- `delete_keys`: Delete parameters.


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

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

Custom comment. The maximum number of characters is 255.

_Min length:_{.json-schema-reset .json-schema-assertion} `0`

_Max length:_{.json-schema-reset .json-schema-assertion} `255`

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

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

Type of user IDs:
- `user_id`: Site user ID assigned by the site owner.
- `client_id`: Site user ID assigned by Yandex Metrica.


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

_create_time_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Upload time.

_Example:_{.json-schema-reset .json-schema-example} `2025-01-01T00:00:00Z`
{.table-cell}
||
||

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

Upload ID.
{.table-cell}
||
||

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

Number of rows that passed validation during upload.
{.table-cell}
||
||

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

Upload status:
- `is_processed`: Reports that the parameters have been uploaded, after the upload [confirmation](https://yandex.com.tr/dev/metrika/en/management-src/Transmitting-user-parameters/confirm.md).
- `processed`: Reports that the delivered data has been processed successfully.
- `linkage_failure`: Reports that none of the delivered IDs were linked to site users during the upload.


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

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

```json translate=no
{
  "id": 0,
  "create_time": "2025-01-01T00:00:00Z",
  "line_quantity": 0,
  "comment": "example",
  "content_id_type": "example",
  "action": "example",
  "status": "example"
}
```

{% endcut %}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "uploading": {
    "id": 0,
    "create_time": "2025-01-01T00:00:00Z",
    "line_quantity": 0,
    "comment": "example",
    "content_id_type": "example",
    "action": "example",
    "status": "example"
  }
}
```

{% endcut %}

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

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

Information about the uploaded user parameters.

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

```json translate=no
{
  "id": 0,
  "create_time": "2025-01-01T00:00:00Z",
  "line_quantity": 0,
  "comment": "example",
  "content_id_type": "example",
  "action": "example",
  "status": "example"
}
```

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

</div>

</div>

</div>
<!-- endsource: en/management-src/Transmitting-user-parameters/confirm.md -->


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