List Groups
GET
/admin/groups/
const url = 'https://example.com/admin/groups/?skip=0&limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/admin/groups/?skip=0&limit=50' \ --header 'Authorization: Bearer <token>'List sharing groups by name, with member counts (admin only).
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ” skip
Skip
integer
limit
Limit
integer
Responses
Section titled “ Responses ”Successful Response
Media type application/json
GroupListResponse
object
groups
required
Groups
Page of groups, by name.
Array<object>
GroupResponse object
id
required
Id
Unique group identifier.
string format: uuid
name
required
Name
Group name.
string
member_count
required
Member Count
Number of users in the group.
integer
created_at
required
Created At
When the group was created.
string format: date-time
updated_at
required
Updated At
When the group was last renamed.
string format: date-time
total
required
Total
Total number of groups (across all pages).
integer
Example generated
{ "groups": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "member_count": 1, "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z" } ], "total": 1}Bad request — invalid query parameters or payload
Media type application/problem+json
Unauthorized — missing or invalid credentials
Media type application/problem+json
Forbidden — caller lacks access to this resource
Media type application/problem+json
Not found
Media type application/problem+json
Validation error
Media type application/problem+json
Too many requests — retry after the advertised interval
Media type application/problem+json
Headers
Section titled “ Headers ” Retry-After
integer
Seconds until the request may be retried
Internal server error
Media type application/problem+json
Service unavailable — the database could not serve the request
Media type application/problem+json