GET
/
api
/
v1
/
markers
/
messages
/
{messageId}
/
read-users
Get list of users who read the message
curl --request GET \
  --url https://apix.us.amity.co/api/v1/markers/messages/{messageId}/read-users \
  --header 'Authorization: Bearer <token>'
{
  "publicUserIds": [
    "<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.

Path Parameters

messageId
string
required

message id (internal)

Response

200
application/json

Get Read users

The response is of type object.