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

# groupId

The unique identifier of a group, within the scope of your app.

## Declaration

```data
string groupId
```

## Mentioned in

App Store Server API changelog

## Discussion

Discussion The Get Customer Groups endpoint returns a groupId for each group a customer belongs to. Pass that value to the Get Group Members endpoint to enumerate the group’s members. This identifier is unique within your app.

## See Also

### Group membership

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