Contents

Mark messages as read

Mark all messages in a topic as read.

Method

PUT

URL

https://typetalk.com/api/v1/bookmarks

Scope

my

Query parameters

NameTypeDescription
topicIdNumberTopic ID
postId (Optional)NumberPost ID ( if no parameter, read all posts )

Response Example

{
  "unread": {
    "topicId": 208,
    "postId": 307,
    "count": 0
  }
}

All responses are formatted in JSON and include an ETag. If you call an API with an If-None-Match header, the server will return a 304 status code if the data is unchanged. The date and time format is ISO 8601, and the timezone is UTC (eg. 2014-01-09T06:20:08Z).