# Working with HIDDEN\_PRIVATE files through API

**URL:** <https://community.hubspot.com/t/working-with-hidden-private-files-through-api/102562>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [March 14, 2024, 11:10am UTC](https://community.hubspot.com/t/working-with-hidden-private-files-through-api/102562 "2024-03-14T11:10:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PJMuller](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pjmuller/32/38459_2.png) [@PJMuller](https://community.hubspot.com/u/PJMuller)\
**Post date:** [March 14, 2024, 11:10am UTC](https://community.hubspot.com/t/working-with-hidden-private-files-through-api/102562/1 "2024-03-14T11:10:27Z")

</div>

Hi,

I saw in documentation that there is no possibility to LIST through HIDDEN\_PRIVATE files via API request. But it’s possible to fetch a file if we know the ID.

Imagine I’m fetching deals via API, will I see HIDDEN\_PRIVATE file IDs in a response?

Sidequestion: how to create these kind of files through UI? I don’t see such option, just private or public.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 14, 2024, 9:15pm UTC](https://community.hubspot.com/t/working-with-hidden-private-files-through-api/102562/2 "2024-03-14T21:15:00Z")

</div>

Hey, @PJMuller 👋 Great question. I agree, the documentation makes this a bit mysterious. Files are only marked as HIDDEN\_PRIVATE when manually added to an object record. [Nothing in the documentation](https://developers.hubspot.com/docs/api/files/files#:~:text=Hidden%20files%20can%20still%20be%20fetched%20by%20ID%2C%20but%20require%20a%20new%20scope%3A%20files_ui_hidden.read) points to these being visible in a response outside of fetching by ID and using the additional scope of files\_ui\_hidden.read

Best,

Jaycee
