Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to retrieve pages within folders using the REST API

Thomas Kerman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 20, 2025

I am using folders to organise my pages.

I also use the REST API to retrieve all the pages in the space using the endpoint  /wiki/rest/api/content/search

Howwver this endpoint does not retrieve the pages within folders. Is this a bug, or am I doing this the wrong way?

1 answer

0 votes
marc -Collabello--Phase Locked-
Community Champion
February 21, 2025

Hi @Thomas Kerman ,

In order to get folders, you need to use the v2 version of the Confluence API: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-id-get

Hope this helps.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events