# finding all the attachments

**URL:** <https://community.hubspot.com/t/finding-all-the-attachments/75841>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [February 23, 2023, 12:55pm UTC](https://community.hubspot.com/t/finding-all-the-attachments/75841 "2023-02-23T12:55:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![rajeev-fas](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@rajeev-fas](https://community.hubspot.com/u/rajeev-fas)\
**Post date:** [February 25, 2023, 3:28am UTC](https://community.hubspot.com/t/finding-all-the-attachments/75841/6 "2023-02-25T03:28:07Z")

</div>

Hello Christoph,  
I was able to run the above code but it does not return anything. I am using company\_id which has 10+ attachements when I look into Hubspot portal.  
The notes section for this company is empty in the portal. Since in the above code we are querying “notes”, my question is are we using the right

“to\_object\_type”  
Thank you all for all the ongoing help with this.

---

_[View the full topic](https://community.hubspot.com/t/finding-all-the-attachments/75841)._
