Skip to main content
GET
/
api
/
instances
/
{instanceId}
/
chats
/
{chatId}
/
messages
Get messages from a chat
curl --request GET \
  --url https://api.wappfy.io/api/instances/{instanceId}/chats/{chatId}/messages \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

instanceId
string<uuid>
required

The WhatsApp instance UUID

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

chatId
string
required

Chat ID (e.g., [email protected])

Query Parameters

limit
number

Max messages (default 50)

downloadMedia
boolean

Download media attachments

Response

Chat messages