gamification, milestone, api, miniGames, raffles, streaks, audit, referral, email, misconduct.Authorization: Bearer <COMMUNITY_API_KEY> with readCommunityLogs permission. Community is derived from the API key; do not send communityId. Personal API keys are rejected.TRUE on rows whose coins have expired and on the expiry deduction row itself (negative currency), otherwise empty. To total expired coins, sum the negative currency values on rows where coinExpiry is TRUE.curl --location --globoff 'https://sgtr-integration.returning.ai/apis/v1/community-logs?logType=audit&startDate=2026-09-01T00%3A00%3A00Z&endDate=2026-09-24T23%3A59%3A59Z&format=json&page=1&limit=100&filters[action]=&filters[location]=&filters[userId]=&filters[email]=&filters[customFieldIdentifier]=&filters[gameType]=&filters[miniGameId]=&filters[milestones]=&filters[category]=Login&filters[actor]=Admin&filters[ip]=192.0.2.1&filters[batchId]=507f1f77bcf86cd799439011' \
--header 'Authorization: Bearer <token>'{
"meta": {
"status": "success",
"statusCode": 200
},
"message": "Get community logs success.",
"data": {
"communityId": "507f1f77bcf86cd799439011",
"logType": "gamification",
"startDate": "2026-09-01T00:00:00Z",
"endDate": "2026-09-24T23:59:59Z",
"filters": {},
"totalRecords": 1,
"currentPage": 1,
"pageSize": 100,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"records": [
{
"id": "507f1f77bcf86cd799439099",
"userId": 12345,
"createdAt": "2026-09-20T12:30:00.000Z",
"user": "Example Member",
"email": "member@example.com",
"action": "Edit",
"action_details": "Added 10 XP",
"action_location": "Admin",
"roles": [
"Member"
],
"xp": 10,
"currency": 0,
"date": "20/09/2026",
"time": "12:30"
}
]
}
}