User Activity
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
User Activity is currently in Private Beta. Please submit your request to the Social Plus Help Center to enable this feature. It will take approximately 5 business days to process your request.
API Reference
Retrieve activities of user's actions
GET
https://beta.amity.services/user-activities
Query Parameters
Name | Type | Description |
---|---|---|
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. |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {accessToken} (accessToken is retrieved from Amity SDK) |
Example curl
Scenario
The following table shows the supported scenarios and user actions that are recorded in the User Activity Record
Scenario | Target | Object | Parent |
---|---|---|---|
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 |
Last updated