Managing communities

Creating a community

Required fields

FieldRules
nameRequired. The display name of the community.
communityTypeRequired. Either general-community or topic-based-community. Immutable after creation.

Optional fields

FieldRules
descriptionFree-text description.
isPrivateBoolean. Defaults to false (public). Controls whether the community is discoverable without membership.
communityTopicObject with name and description. Required when communityType is topic-based-community, ignored otherwise.

Topic-based communities and cohorts

Only topic-based communities can host cohorts. If you plan to use the Cohorts API, create the community with communityType: "topic-based-community".

Example — general community

POST /v1/communities
{
  "name": "Engineering Hub",
  "description": "A place for all engineers.",
  "isPrivate": false,
  "communityType": "general-community"
}

Example — topic-based community (cohort-ready)

POST /v1/communities
{
  "name": "Leadership Academy",
  "isPrivate": true,
  "communityType": "topic-based-community",
  "communityTopic": {
    "name": "General",
    "description": "General discussion"
  }
}

The response is a Community object (see Community object).

Listing and getting communities

List — GET /v1/communities

Query parameterDescription
statusFilter by active or archived.
visibilityFilter by public or private.
qSubstring match on community name.
limitPage size (defaults apply).
offsetZero-based offset for pagination.

The response is a paginated list of Community objects: { "data": [...], "total": N, "limit": N, "offset": N }.

Get single — GET /v1/communities/{communityId}

Returns a single Community object for the given communityId.

Updating a community

PATCH /v1/communities/{communityId}

Updates are partial: only the fields you include in the request body change. Updatable fields:

FieldNotes
nameThe display name.
descriptionFree-text description.
isPrivateToggle between public and private.

communityType and communityTopic are not updatable after creation.

Example

PATCH /v1/communities/42
{
  "name": "Leadership Academy 2025",
  "isPrivate": false
}

Returns the updated Community object.

Deleting a community

DELETE /v1/communities/{communityId}

Soft-deletes the community. The operation returns { "message": "..." } on success. A soft-deleted community is no longer accessible through the API.

Community object

FieldTypeDescription
idlongUnique identifier.
namestringDisplay name.
descriptionstringFree-text description.
slugstringURL-friendly identifier.
isPrivatebooleanWhether the community is private.
isEveryoneTeambooleanWhether this is the built-in "everyone" community.
autoAssignContentbooleanWhether new members receive content automatically.
onlyAdminCanPostbooleanWhether only admins may create posts.
onlyAdminCanRestrictbooleanWhether only admins may restrict content.
isBackendbooleanWhether this is an internal/backend community.