Skip to main content
POST
/
{instance}
/
read-chat
cURL
curl --request POST \
  --url https://app.hypersender.com/api/whatsapp/v1/{instance}/read-chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "chatId": "[email protected]"
}'
{
"ids": [
"[email protected]_AAAAAAAAAAAAAAAAAAAA",
"[email protected]_AAAAAAAAAAAAAAAAAAAA"
]
}
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[]
I