Avito icon

Avito

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

Actions79

Мессенджер → Получить Сообщения

AI-generated

Summary

Retrieves messages from a specified Avito chat.

Inputs

  • messengerUserId (required) — Identifier of the user (client).
  • messengerChatId (required) — Identifier of the chat.
  • messengerLimit (required) — Number of messages to retrieve (1-100).
  • messengerOffset (required) — Offset for pagination (0-1000).

Output shape

a list of items, each containing message data.

Parameters accept numeric values. Limits apply to API calls.

Examples

Example 1: Retrieve the last 50 messages from a specific chat.

messengerUserId: 12345, messengerChatId: 'chat_abc', messengerLimit: 50, messengerOffset: 0

Example 2: Fetch the next batch of messages after an initial offset.

messengerUserId: 12345, messengerChatId: 'chat_abc', messengerLimit: 100, messengerOffset: 1000

Links

Discussion