Aysali API icon

Aysali API

Interact with Aysali API

Chat → Find Messages

AI-generated

Summary

Fetch messages for a contact in an Aysali API instance.

Inputs

  • instanceName (required) — Enter the instance name
  • remoteJid (required) — Contact number
  • page — Page number
  • offset — Messages per page

Output shape

Not explicitly declared in properties or source; operation retrieves a page of messages.

Parameters page and offset control pagination, defaulting to page 1 and 10 messages per page respectively.

Examples

Example 1: Retrieve the first 20 messages for contact +1234567890 in instance 'prod'.

instanceName: 'prod'; remoteJid: '+1234567890'; page: 1; offset: 20

Links

Discussion