simpla.fydocs

List messages for a chat

Returns paginated list of WhatsApp messages from Evolution API for a specific instance and remote JID

GET
/sdr/messages

Returns paginated list of WhatsApp messages from Evolution API for a specific instance and remote JID

x-api-key<token>

In: header

Query Parameters

instanceName*string

Evolution API instance name

remoteJid*string

WhatsApp remote JID

page?number

Page number

Range1 <= value
limit?number

Messages per page

Range1 <= value <= 100

Response Body

application/json

curl -X GET "https://example.com/sdr/messages?instanceName=brasalLia&remoteJid=5561999999999%40s.whatsapp.net"
{
  "data": [
    []
  ],
  "total": 50,
  "page": 1,
  "limit": 20,
  "hasMore": true
}
Empty
Empty