Skip to main content
POST
cURL
You can mark all unread messages in the chat as read (double blue checkmark) using one query: It’ll find all unread messages in the chat and mark them as read.
Read Chat

Authorizations

Authorization
string
header
required

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

Headers

Accept
string

application/json

Example:

"application/json"

Content-Type
string

application/json

Example:

"application/json"

Path Parameters

instance
string
required

Instance UUID copied from hypersender dashboard

Example:

"{{ instance_id }}"

Query Parameters

messages
string

How much messages to read (latest first)

Example:

"30"

days
string

How much days to read (latest first)

Example:

"7"

Body

application/json
chatId
string
required

Response

Successful response

ids
string[]