Get your Communities
This endpoint retrieves a list of communities filtered by your role and pagination.
Last updated
This endpoint retrieves a list of communities filtered by your role and pagination.
Last updated
GET
https://api.whisk.com/community/v2
You can append the following query parameters to the base URL to pull all your communities:
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Note: Whisk allows you to discover and understand its API capabilities on the Swagger interface with the ability to try out the API calls directly in your browser. You can call this endpoint here.
filters.roles
array
Retrieve communities based on your selected roles. You can choose one or more of these supported values:
- COMMUNITY_ROLE_OWNER
- COMMUNITY_ROLE_ADMIN
- COMMUNITY_ROLE_MEMBER
- COMMUNITY_ROLE_BLOCKED
- COMMUNITY_ROLE_PENDING
paging.limit
string
The maximum number of communities to retrieve.
paging.cursors.after
string
This parameter is used for cursor-based pagination. It takes a community ID as its value and retrieves only those communities that appear after it in the database.
paging.cursors.before
string
This parameter is used for cursor-based pagination. It takes a community ID as its value and retrieves only those communities that appear before it in the database
fields
array
Any additional community details to retrieve. You can choose one or more of these supported values:
- COMMUNITY_FIELD_DESCRIPTION
- COMMUNITY_FIELD_TOPICS
- COMMUNITY_FIELD_SOCIAL_SETTINGS
- COMMUNITY_FIELD_PERMISSIONS
- COMMUNITY_FIELD_MEMBERS_COUNT
- COMMUNITY_FIELD_RECIPES_COUNT
- COMMUNITY_FIELD_SPONSORED
Note: For performance reasons, we recommend using this parameter only when required.
Authentication
string
User Access token containing community:read
scope to authorize the API usage. For more information, see Authentication.