List chats
messenger_get_chats_v2Retrieve your Avito account's chat list with last message preview and unread count. Supports filtering by item, type, or unread status, and offset-based pagination.
Instructions
Returns a LIST of the account's chats (conversations with buyers) with a preview of the last message and an unread counter. Read-only — sends nothing and does not mark anything as read. Use it to find the needed chat_id before messenger_get_messages_v3, messenger_post_send_message or messenger_chat_read. To get the details of a single known chat, use messenger_get_chat_by_id_v2. Supports filters (items, types, unread) and offset-based pagination via limit/offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many chats to return per page (1–100, default 100). | |
| offset | No | Pagination offset: skip N chats (default 0). | |
| user_id | No | Avito account ID whose chats are requested. Defaults to Profile_id from .env. | |
| item_ids | No | Filter by item IDs. Prefer an array (encoded as repeated query parameters); a legacy CSV string remains accepted. | |
| chat_types | No | Filter by chat types: u2i, u2u, or a2u. Prefer an array; a legacy CSV string remains accepted. | |
| unread_only | No | true — return only chats with unread messages; false/omitted — all chats. |