Skip to main content
POST
/
instances
/
{id}
/
chat
/
markread
Mark messages as read
curl --request POST \
  --url https://api.vzaps.com/instances/{id}/chat/markread \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": [
    "<string>"
  ],
  "chat": "<string>",
  "sender": "<string>"
}
'
{
  "code": 200,
  "success": true,
  "data": {
    "details": "Mensagem entregue ao destinatario."
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Identificador publico da instancia no formato gerado pela plataforma: prefixo VZ seguido de caracteres alfanumericos.

Example:

"VZ9K2M4N8P1Q3R5S7T0WABCD01EF"

Body

application/json
id
string[]
required
chat
string
required
sender
string

Response

200 - application/json

Messages marked

code
integer
required
success
boolean
required
data
object