QuePasa API (WhatsApp) icon

QuePasa API (WhatsApp)

Interact with QuePasa WhatsApp API

Message → Get History

AI-generated

Summary

Retrieve up to 100 recent messages from a specified WhatsApp chat by providing its Chat ID.

Inputs

  • Chat ID (required) — The ID of the WhatsApp chat to fetch message history from, e.g., '5511999999999@s.whatsapp.net'.
  • Limit — The maximum number of messages to retrieve, with a default of 50 and a maximum of 100.

Output shape

a list of message objects represented as JSON

The returned list contains the most recent messages from the specified chat. The number of messages returned is limited by the 'Limit' parameter, capped at 100.

Links

Discussion