---
title: limit
framework: App Store Server API
role: symbol
role_heading: Type
platforms: [app store server api 1.22+]
path: appstoreserverapi/limit
---

# limit

The maximum number of group members to return in a single response.

## Declaration

```data
int32 limit
```

## Mentioned in

App Store Server API changelog

## Discussion

Discussion Use this optional query parameter with the Get Group Members endpoint to control the size of each page of results. The maximum value is 100; a request with a greater value fails with an InvalidLimitError. If the group has more members than the response contains, the hasMore field is true. Call the endpoint again with the paginationToken from the response to get the next set of members.

## See Also

### Group membership

- [GroupEntry](appstoreserverapi/groupentry.md)
- [GroupMemberEntry](appstoreserverapi/groupmemberentry.md)
- [RoleEntry](appstoreserverapi/roleentry.md)
- [groupId](appstoreserverapi/groupid.md)
- [groupType](appstoreserverapi/grouptype.md)
- [role](appstoreserverapi/role.md)
