Get User Stats
Authorization: Bearer ********************
{ "identifier": "", "identifier_type": "userId", "days": 30 }
curl --location --request POST 'https://integration.returning.ai/apis/v1/users/activity/stats' \ --header 'Content-Type: application/json' \ --data-raw '{ "identifier": "", "identifier_type": "userId", "days": 30 }'
{ "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 } ] } }