Skip to main content
GET
List groups
Returns a paginated list of all groups in the organization. Use search to find groups by name, and sort_by / sort_dir to control ordering. Archived groups are excluded by default. Groups exist at the organization level and are not scoped to a single program, so this endpoint returns all groups regardless of which programs they participate in. Passing participant_id lists only groups where that participant is an active member, most recently joined first, adding the participant’s role and joined_at, member_count, and balances to each item. search, include_archived, and created_after / created_before still apply (where created_after and created_before filter on the group’s created_at, not joined_at). sort_by and sort_dir return 400 with participant_id, and an unknown participant_id returns 404 participant_not_found.
To list a group’s members instead, use List group members. For usage patterns and examples, see the Groups guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Query Parameters

limit
integer
default:50

Return at most this many records, from 1 to 200, default 50.

Required range: 1 <= x <= 200
cursor
string

The next_cursor from the previous response, valid only with the same endpoint and filters.

include_archived
boolean
default:false

Include archived groups

Search by group name (partial match, ignoring case; % and _ match themselves)

sort_by
enum<string>

Sort field

Available options:
created_at,
name
sort_dir
enum<string>

Sort direction

Available options:
asc,
desc
created_after
string<date-time>

Return only records created after this time, RFC 3339.

created_before
string<date-time>

Return only records created before this time, RFC 3339.

participant_id
string<uuid>

Filter to groups where this participant is an active member (ordered by join time descending; cannot be combined with sort_by or sort_dir).

Response

List of groups

One page of groups, with the pagination details for the next page.

data
object[]

The groups on this page.

pagination
object

Whether another page follows, and the cursor that fetches it.