Get User Gamification Stats
This endpoint returns the past gamification stats history for a specific user, providing the count of how many times user completed the action daily over a specified time range. Authorization# Found in the platform under community settings > API keys . Permission: Get User Stats User gamification stats# Social actions (A combination of all follows, likes, comments and share of all connected social account.)
Request Body Params application/json
{
"identifier" : "email1@test.com" ,
"identifier_type" : "email" ,
"days" : 30
} Request Code Samples
curl --location --request POST 'https://sgtr-rai-api.returning.ai/api/v1/apis/v1/users/activity/stats' \
--header 'Content-Type: application/json' \
--data-raw '{
"identifier": "email1@test.com",
"identifier_type": "email",
"days": 30
}' Responses application/json Generate Code
{
"status" : "success" ,
"message" : "User gamification stats fetched successfully" ,
"data" : {
"user_id" : "188055" ,
"range" : {
"start_date" : "2025-08-18" ,
"end_date" : "2025-08-18"
} ,
"totals" : {
"messages" : 0 ,
"replies" : 1 ,
"reaction" : 0 ,
"socials" : 0
} ,
"daily_stats" : [
{
"date" : "2025-08-18" ,
"messages" : 0 ,
"replies" : 1 ,
"reaction" : 0 ,
"socials" : 0
}
]
}
} Modified at 2026-04-09 08:25:49