Groups
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
limitintegeroptionalmin > 0 · max 100 · default
20cursorstringoptional1–2048 characters
namestringoptionalPartial, case-insensitive name match.
1–255 characters
sortstringoptionalField 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.
idstringrequireduuid
namestringrequireddescriptionstring | nullrequiredmemberCountintegerrequiredContacts currently in the group.
min 0 · max 9007199254740991
createdAtstringrequireddate-time
updatedAtstringrequireddate-time