Skip to main content
Search groups

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Query Parameters

photoSize
enum<string>
default:nano

Rendition of the profile photo returned with the previewed members.

Available options:
nano,
small,
medium,
big
Example:

"nano"

Body

application/json
groupQuery
object

Search query the groups are matched against. Omit it to page through every group you can see.

includeSubscriptionInfo
boolean
default:false

Resolve the subscription of every returned group that has one assigned and attach it in full. Only an organization carries a subscription, so this pays off on a search restricted to organizations.

Example:

false

includeUserCount
boolean
default:false

Attach the number of regular and of lite members to every returned group. Counting the members of a page of groups costs an extra aggregation, so leave it off for a picker that only shows names.

Example:

false

membersToInclude
integer
default:0

How many members of each group to return as a preview of who is in it, never the whole membership. Asking for any member brings the member counts along even when they were not requested.

Required range: 0 <= x <= 10
Example:

0

Response

Returns the matching groups and the total number of matches.

results
object[]

Matching groups on the requested page, each carrying the extra information the request asked for.

total
number

Number of groups the query matched in total, which may be more than the page returns.

Example:

3