Back
get /v2/organizations/{organizationId}/spaces

List spaces

Returns spaces visible to the caller using cursor-based pagination. By default templates are excluded; use templateTypes to list organization or global templates. Supports filtering, sorting, and name search via query parameters. If no status is provided, only active spaces are returned.

path params

organizationIdstring required

query params

cursorstring
limitinteger
statusstring
Enum values:
active
archived
hidden
deleted
sortBystring
Enum values:
created_at_asc
created_at_desc
last_activity_asc
last_activity_desc
searchQuerystring
labelIdsarray of strings
excludeLabelIdsboolean
spaceTypesarray of strings
Enum values:
SPACE_TYPE_UNSPECIFIED
SPACE_TYPE_PERSONAL
SPACE_TYPE_COMMUNITY
SPACE_TYPE_COURSE
SPACE_TYPE_PROJECT
SPACE_TYPE_TEAM
SPACE_TYPE_KNOWLEDGE
SPACE_TYPE_OTHER
templateTypesarray of strings
Enum values:
SPACE_TEMPLATE_TYPE_UNSPECIFIED
SPACE_TEMPLATE_TYPE_NOT_TEMPLATE
SPACE_TEMPLATE_TYPE_ORGANIZATION
SPACE_TEMPLATE_TYPE_GLOBAL

Responses

Was this guide helpful?