Skip to main content
Question

Get only folders Items using API

  • May 22, 2025
  • 2 replies
  • 13 views

Forum|alt.badge.img

Is there a way to filter the GetFolderItems API or any other way? I am looking to only get folders within a folder and no need for files. Sure, I can get everything and filter that out, but it would be more efficient if there was a way API can filter that out for me.

2 replies

Forum|alt.badge.img

Hi There!

You could potentially use search, filtering by type and parent folder id. 

Thanks, 

Alex, Box Developer Advocate


Forum|alt.badge.img

Thanks Alex. I will give it a try