Skip to content

Get Groups

Returns a list of all groups (clans) that the authenticated user has joined.

POST/group/v1/getgroups
Terminal window
curl -X POST https://api.juspredict.com/group/v1/getgroups \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"page_request": { "page_number": 1, "page_size": 20 }
}'
{
"status": { "type": "SUCCESS" },
"user_group_count": 2,
"user_group_info": [
{
"group_info": { "group_name": "Clan A" },
"top_first_name": "Alice",
"top_total_earnings": "5000"
}
]
}
FieldTypeDescription
statusStatusOperation status.