---
title: "Group Summary"
slug: "group-summary"
updated: 2024-10-10T11:13:09Z
published: 2024-10-10T11:13:09Z
canonical: "docs.onespan.com/group-summary"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onespan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Group Summary

[Java SDK](/v1/docs/group-summary#java-sdk) [.NET SDK](/v1/docs/group-summary#net-sdk) [REST API](/v1/docs/group-summary#rest-api)

## Java SDK

To download the full code sample see our [Code Share](https://community.onespan.com/documentation/onespan-sign/codeshare/retrieve-group-summaries-java-sdk/) site.

The following code samples illustrate how to retrieve a summary of all groups associated with the current account.

Using the OneSpan Sign client to loop through each GroupSummary object you can retrieve the Group Name, Group Id, and Group Email.

```java
List<GroupSummary> groupSummary = eslClient.getGroupService().getGroupSummaries();
		
for (GroupSummary groupSumm : groupSummary){
		System.out.format("Group name: %s, Id: %s, Group Email: %s\n", groupSumm.getName(), groupSumm.getId(), groupSumm.getEmail());
}
```

#### Results

Here is an example of what you can expect to see once you have run your code.

![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/capture-10.png)

## .NET SDK

To download the full code sample see our [Code Share](https://community.onespan.com/documentation/onespan-sign/codeshare/retrieve-group-summaries-net-sdk/) site.

The following code samples illustrate how to retrieve a summary of all groups associated with the current account.

Using the OneSpan Sign client to loop through each GroupSummary object you can retrieve the Group Name, Group Id, and Group Email.

```csharp
List<GroupSummary> groupSummary = eslClient.GroupService.GetGroupSummaries();
foreach (GroupSummary groupSumm in groupSummary)
{
        Debug.WriteLine("Group name: {0}, Id: {1}, Group Email: {2}\n", groupSumm.Name, groupSumm.Id, groupSumm.Email);
}
```

### Results

Here is an example of what you can expect to see once you have run your code.

![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/groupsummary_net.png)

## REST API

To download the full code sample see our [Code Share](https://community.onespan.com/documentation/onespan-sign/codeshare/retrieve-group-summaries-rest-api/) site.

The following code samples illustrate how to retrieve a summary of all groups associated with the current account.

### The Code

Using the OneSpan Sign client to loop through each GroupSummary object you can retrieve the Group Name, Group Id, and Group Email.

#### HTTP Request

```http
GET /api/groups/summary
```

#### HTTP Headers

```http
Accept: application/json
Content-Type: application/json
Authorization: Basic api_key
```

#### Response Payload

```json
{
    "results": [
        {
            "id": "9fb94cb3-30c0-4432-87e5-a3bdd202f34d",
            "data": null,
            "email": "delegation-e8saocDxDB4I@groups.e-signlive.com",
            "name": "Delegation group for e8saocDxDB4I"
        },
        {
            "id": "51d67169-caf4-4ef8-9081-2b617311115f",
            "data": null,
            "email": "delegation-easd123DxDB4I@groups.e-signlive.com",
            "name": "Group1"
        }
    ],
    "count": 2
}
```
