# Подключение авито

**Для получения Client ID и Client secret перейдите по ссылке:**

{% embed url="<https://www.avito.ru/professionals/api>" %}

**Путь в авито.**

Профиль - профиль и настройки - интеграции и API. Раздел интеграции

**Скопируйте** **Client ID и Client secret в Авито**

<figure><img src="/files/0eWM95c8Zv0kAJ8nJfST" alt=""><figcaption><p><strong>Скопируйте</strong> <strong>Client ID и Client secret в Авито</strong></p></figcaption></figure>

**Вставьте в iiAgent**

<figure><img src="/files/g6R6Ku9alAHXqk2QxGOK" alt=""><figcaption><p><strong>Вставьте в iiAgent</strong></p></figcaption></figure>

<figure><img src="/files/tCMAVBGa9HMTYPYRuD2j" alt=""><figcaption></figcaption></figure>

**ID товаров**

ID товаров указаны в объявлении и в конце в адресной строке.&#x20;

Все объявления можно просмотреть в разделе "Мои объявления".

<figure><img src="/files/aKii71E2hjjGAIT6jemP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/lVGph4q2mYmDr3iHdad0" alt=""><figcaption></figcaption></figure>


---

# 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://docs.iiagent.pro/integracii/podklyuchenie-avito.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.
