Copy PageGet page categoriesget https://{endpoint}/v1/content/sites/{site_id}/page-categoriesThis API allows us to obtain list of page categoriesPath Paramssite_iduuidrequiredID of the siteQuery Paramssizeinteger1 to 1000Defaults to 50Number of page categories to return per pagenextPageTokenintegerToken for fetching the next page of resultssortBystringenumDefaults to createdNewestSorting method for page categoriesdisplayOrdercreatedNewestcreatedOldestnameAscendingnameDescendingcontentCountAscendingcontentCountDescendingsubCategoryCountAscendingsubCategoryCountDescendingShow 9 enum valuestermstringlength ≤ 255Search term for filtering page categoriesskipEmptyPageCategoriesbooleanDefaults to falseWhether to skip empty page categories in the responsetruefalseuseMultilevelVersionbooleanDefaults to falseWhen true, uses the multilevel list implementation. Event and album published counts (publishAlbumCount, publishEventCount, publishContentCount) are returned on this path when event and album category is enabled. Required for includeRootCategoriesPages, includeHierarchy, and parentCategoryId to take effect.truefalseincludeRootCategoriesPagesbooleanDefaults to falseOnly effective when useMultilevelVersion is true. When true, returns nested child categories (listOfItems) and content under each root (listOfPages), matching the intranet multilevel list behavior.truefalseparentCategoryIdstringOnly effective when useMultilevelVersion is true. Filter categories under the specified parent category.includeHierarchybooleanOnly effective when useMultilevelVersion is true. When true, returns categories in a hierarchical tree (nested listOfItems).truefalseResponses 200Success 400Error 401Authorize error 403Forbidden errorUpdated 6 months ago Validate contentCreate page categoryDid this page help you?YesNo