Menu

List groups

GET/v1/groups

Requires an API key with the groups:read scope. About keys and scopes

Returns groups in this organization with their current member counts. Results are cursor-paginated: pass meta.pagination.nextCursor back as cursor until it comes back null. The cursor is opaque — do not construct or parse one.

Query parameters

limitintegeroptional

min > 0 · max 100 · default 20

cursorstringoptional

1–2048 characters

namestringoptional

Partial, case-insensitive name match.

1–255 characters

sortstringoptional

Field to sort by; a leading - sorts descending.

one of name, -name, createdAt, -createdAt · default "-createdAt"

Returns

Returns 200 OK with a list of Group objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

namestringrequired
descriptionstring | nullrequired
memberCountintegerrequired

Contacts currently in the group.

min 0 · max 9007199254740991

createdAtstringrequired

date-time

updatedAtstringrequired

date-time