> For the complete documentation index, see [llms.txt](https://help-api.meltingspot.io/llms.txt)

# List the members of a spot with their number of activities over a period of 366 days at most

> GET /v1/activities/members
> 
> List the members of a spot with their number of activities over a period of 366 days at most, the most active first by default. Every member of the spot (of the filtered groups and roles) is listed, whatever its status: the members without activity over the period have a count of 0. The list is sorted by number of activities or by last activity date of the member, ascending or descending.



## Servers
- https://openapi.meltingspot.io: https://openapi.meltingspot.io



## Parameters


### Query parameters

- **occurredAt** (object)
  Period of the activities. Both bounds are required (occurredAt[after] and occurredAt[before]) and included.

- **eventType** (object)
  Filter on the type of the events. Every type when omitted.

- **liveId** (object)

- **courseId** (object)

- **channelId** (object)

- **collectionId** (object)

- **topicId** (object)

- **groupId** (object)
  Only the members of one of these groups, with or without activity

- **role** (object)
  Only the members having one of these roles and no custom role, with or without activity

- **sortBy** (string)
  The sort of the members: by number of activities over the period, or by date of their last activity (the members never active come last)

- **sortDirection** (string)
  The direction of the sort

- **page** (integer)
  The page number in a paginated set of results

- **limit** (integer)
  The limit of results to be returned per page



## Responses
### 200


#### Body: application/json (object)
- **items** (array[object])
  The members of the page, in the order asked for (by decreasing number of activities by default), ties broken by id

- **total** (integer)
  The number of members of the spot matching the group and role filters, with or without activity, all pages included


### 400
Malformed payload, missing or too long period


[Powered by Bump.sh](https://bump.sh)
