Mark conversation read

This method marks all messages in the conversation read (as if the visitor read them in chat). This method is used only for a visitor (not an administrator).

At the moment we do not track “read” status for administrators.

URL

POST https://api.dashly.app/v1/conversations/{id}/markread

The conversation ID should be used as {id}.

Arguments

This method follows the general rules. Arguments are transmitted as GET or POST parameters.

Argument Description
auth_token Required. Authorization token (requires scopes: conversations-write and as-user)

Answer

{
  "data": {
  }
  "meta": {
    "status": 200
  }
}

Answer will be empty.

Errors

This table contains errors that can be returned. However, in case of unforeseen situations (in case of the service's inoperability), other errors may occur. Always check meta.status parameter.

Error Description
MethodNotAllowed Invalid http method
AuthenticationFailed Invalid (or missing) auth token
PermissionDenied There is no access to this conversation (most likely the conversation belongs to another application)

Example

curl -X POST \
  --data-urlencode 'auth_token=XXX' \
  'https://api.dashly.app/v1/conversations/7216/markread'