POST
/
api
/
v1
/
markers
/
message-feeds
/
reading
Mark message feeds as read
curl --request POST \
  --url https://apix.us.amity.co/api/v1/markers/message-feeds/reading \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "messageFeedIds": [
    "<string>"
  ]
}'
{
  "userMarkers": [
    {
      "userId": "<string>",
      "lastSyncAt": "2023-11-07T05:31:56Z",
      "unreadCount": 123,
      "isMentioned": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "userFeedMarkers": [
    {
      "userId": "<string>",
      "entityId": "<string>",
      "feedId": "<string>",
      "readToSegment": 123,
      "deliveredToSegment": 123,
      "unreadCount": 123,
      "lastMentionSegment": 123,
      "isMentioned": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "userEntityMarkers": [
    {
      "userId": "<string>",
      "entityId": "<string>",
      "unreadCount": 123,
      "isDeleted": true,
      "isMentioned": true,
      "membership": "member",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "feedMarkers": [
    {
      "entityId": "<string>",
      "feedId": "<string>",
      "lastSegment": 123,
      "isDeleted": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Message feed reading

The body is of type object.

Response

200
application/json

Message feed reading

The response is of type object.