Mark as read allows you to send "read" status for incoming messages. the default is always to show the client 2 gray check marks, this endpoint allows you to set read status for messages.

For every incoming message you get to your webhook, you can send the status read ( two blue check marks ) so your client can know you read the message.

The system will automatically mark the last message as read once you use this endpoint.



More Remarks

  • Marking a message as read will also mark earlier messages in the conversation as read.
  • This operation is irreversible. once you marked a message as read, you can't change it back.


Settings:

URL

https://api.99digital.co.il/whatsapp/v2/readStatus

Method

JSON via POST



Body:

Parameter

Description / Example

Mandatory

apiKey

Your API key for the service

yes

from

your WhatsApp account. international number without +. for example: 972771234567

yes

to

The number you want to read status

Yes



Response:


{
"status": "OK",
"reason": 1,
"from": "Your-WhatsApp-Number",
"to": "The destination number you provided"
}




Response-Explain:

Parameter

Description

status

OK or FAIL

from

Your WhatsApp Number

to

The destination number

reason

'reason' is the status explanation in case of FAIL

1

not FAIL. the status is OK

2

Your "from" number account does not exist, or JSON syntax error

3

wrong apiKey

4

'to' is empty or not exist

Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents