Chats
Get messages from a chat
Retrieves message history from a specific chat. Messages are returned in reverse chronological order. Set downloadMedia=true to include base64 media content.
GET
Get messages from a chat
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The WhatsApp instance UUID
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Chat ID (e.g., 5511999999999@c.us)
Query Parameters
Max messages (default 50)
Download media attachments
Response
Chat messages
Get messages from a chat