Skip to main content

Mark specific messages as read for a given instance.

PUT 

/chat/markMessageAsRead/:instanceName

This endpoint allows users to mark messages as read for a particular instance.

Request

Path Parameters

    instanceName stringrequired

    The name of the instance to which the reaction should be sent.

    Example: codechat

Body

required
    readMessages object[]required
  • Array [
  • remoteJid stringrequired

    ID of the recipient of the message.

    fromMe booleanrequired

    Indicates if the message was sent from the user.

    id stringrequired

    Unique ID of the message.

  • ]

Responses

Successful response

Schema
    any
Loading...