Skip to content

Group Activity

Fetches a feed of recent activities and predictions made by members within a specific group.

POST/group/v1/getactivity
Terminal window
curl -X POST https://api.juspredict.com/group/v1/getactivity \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"group_id": "group-uuid",
"event_status": "ACTIVE"
}'
{
"status": { "type": "SUCCESS" },
"activities": [
{
"event_name": "Match X vs Match Y",
"question_description": "Who will win?",
"predicted_members_count": 3
}
]
}
FieldTypeDescription
statusStatusOperation status.