💬 Chats

Read unread messages in the chat

post/api/{session}/chats/{chatId}/messages/read

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/chats/{chatId}/messages/read
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

chatIdstring required
Example:123456789@c.us

Chat ID

Query parameters

messagesnumber
Example:30

How much messages to read (latest first)

daysnumber

How much days to read (latest first)

Response

idsstring[]

Messages IDs that have been read

Changes

No recorded changes to this operation across all 1 revision of this API.