Avito icon

Avito

Взаимодействие с API Авито для бизнеса

Actions79

Мессенджер → Получить Чаты

AI-generated

Summary

Retrieve a list of chats for a specified Avito messenger user, optionally filtering by item IDs, chat types, and unread status, with pagination support.

Inputs

  • User ID (required) — The identifier of the messenger user (client) whose chats to retrieve.
  • Item IDs — Comma-separated list of item IDs to filter chats by specific ads.
  • Только Непрочитанные — Whether to return only unread chats (boolean).
  • Типы Чатов — Filter chats by chat types; options include 'A2U' (Avito to User), 'U2I' (User to Item/ad), 'U2U' (User to User).
  • Лимит (required) — Maximum number of chats to return; must be between 1 and 100.
  • Смещение (required) — Offset for pagination of the chat list; must be between 0 and 1000.

Output shape

a list of chat objects matching the given filters and pagination parameters

The response includes only chats accessible to the specified user. Filters for item IDs, chat types, and unread status are optional and refine the returned results. Pagination is controlled via 'Лимит' and 'Смещение' parameters. Node requires 'messenger:read' scope and main company account authorization.

Links

Discussion