> For the complete documentation index, see [llms.txt](https://rest-api.symphony.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rest-api.symphony.com/main/groups-distribution-lists/listgroups.md). Agents can also search and read this documentation through its [MCP server](https://rest-api.symphony.com/~gitbook/mcp).

# List all SDL groups

## GET /v1/groups/sdl/list

> List SDL groups ordered by id

```json
{"openapi":"3.0.3","info":{"title":"SBE Users API","version":"5.5.0"},"tags":[{"name":"Groups","description":"Groups API"}],"servers":[{"url":"https://yourpodURL.symphony.com"}],"paths":{"/v1/groups/sdl/list":{"get":{"tags":["Groups"],"summary":"List SDL groups ordered by id","deprecated":true,"operationId":"listSDLGroups","parameters":[{"name":"sessionToken","in":"header","required":true,"schema":{"type":"string","description":"Session authentication token."}},{"name":"lastGroupId","in":"query","schema":{"$ref":"#/components/schemas/GroupId"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","minimum":1,"maximum":100,"default":50},"description":"Number of Groups provided in response."},{"name":"username","in":"query","description":"Filter groups by exact username match.","schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"name","in":"query","description":"Filter groups by exact name match.","schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GroupResponse"}}}}},"400":{"$ref":"#/components/responses/ClientError"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"500":{"$ref":"#/components/responses/ServerError"}}}}},"components":{"schemas":{"GroupId":{"description":"Group identifier.","type":"integer","format":"int64","minimum":1},"GroupResponse":{"description":"Group account's base properties.","type":"object","properties":{"groupId":{"$ref":"#/components/schemas/GroupId"},"name":{"type":"string","description":"Group name."},"username":{"type":"string","description":"Username identificatior of the Group."},"type":{"type":"string","description":"Group type.","enum":["SDL"]},"active":{"type":"boolean","description":"Define if group is currently active or deleted."},"displayName":{"type":"string","description":"Display name."},"companyName":{"type":"string","description":"Company name."},"email":{"type":"string","description":"Email address."},"members":{"type":"array","description":"Group account's members.","items":{"$ref":"#/components/schemas/GroupMember"}},"restrictedTenants":{"type":"array","items":{"$ref":"#/components/schemas/TenantId"}},"avatars":{"$ref":"#/components/schemas/Images"},"eTag":{"type":"string","description":"Group account's eTag."},"createdDate":{"type":"integer","format":"int64","description":"Group account's creation timestamp (Unix epoch milliseconds)."},"createdBy":{"type":"string","description":"Group account's creator."},"updatedDate":{"type":"integer","format":"int64","description":"Group account's last modification timestamp (Unix epoch milliseconds)."},"updatedBy":{"type":"string","description":"Group account's updater."},"marketCoverage":{"type":"array","items":{"type":"string"}},"instrument":{"type":"array","items":{"type":"string"}},"responsibility":{"type":"array","items":{"type":"string"}},"function":{"type":"array","items":{"type":"string"}}}},"GroupMember":{"description":"A member of a group account.","type":"object","properties":{"userId":{"$ref":"#/components/schemas/UserId"},"tenantId":{"type":"integer","format":"int32","description":"Member's tenant identifier."},"addedDate":{"type":"integer","format":"int64","description":"Timestamp when the member was added (Unix epoch milliseconds)."}}},"UserId":{"type":"integer","format":"int64","minimum":1},"TenantId":{"type":"integer","format":"int32","minimum":1},"Images":{"properties":{"50":{"type":"string"},"150":{"type":"string"},"500":{"type":"string"},"600":{"type":"string"},"orig":{"type":"string"}}},"MessageWithCode":{"properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"}}}},"responses":{"ClientError":{"description":"Client error, see response body for further details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageWithCode"}}}},"Unauthorized":{"description":"Unauthorized, Invalid credentials.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageWithCode"}}}},"Forbidden":{"description":"Forbidden, Caller lacks necessary entitlement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageWithCode"}}}},"ServerError":{"description":"Server error, see response body for further details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageWithCode"}}}}}}}
```
