User Activity
Last updated
Was this helpful?
Last updated
Was this helpful?
Tracking user activity when users perform actions on posts or comments. The API tracks the following actions:
Reactions to the post
Comments to the post
Reactions to the comment
Replies to the comment
Remove reactions or comments
GET
https://beta.amity.services/user-activities
limit
Number
Specify the maximum number of responses you would like to retrieve, with a limit of 50.
createdAt
String
(Pagination purpose) createdAt will be provided by start key in the response.
networkId_userId
String
(Pagination purpose) networkId_userId will be provided by start key in the response.
Authorization*
String
Bearer {accessToken}
(accessToken is retrieved from Amity SDK)
The following table shows the supported scenarios and user actions that are recorded in the User Activity Record
User reacted to Post A
Post A
reaction_<type>
Post A
User commented to Post A
Post A
comment
Post A
User reacted to Comment A under Post A
Comment A
reaction_<type>
Post A
User reacted to Comment B under Post B
Comment B
reaction_<type>
Post B
User commented to Comment B under Post B
Comment B
comment
Post B