# Retrieve notes associated with a company

**URL:** <https://community.hubspot.com/t/retrieve-notes-associated-with-a-company/71687>\
**Category:** APIs & Integrations\
**Created:** [December 21, 2022, 5:49pm UTC](https://community.hubspot.com/t/retrieve-notes-associated-with-a-company/71687 "2022-12-21T17:49:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricky23](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ricky23/32/101739_2.png) [@ricky23](https://community.hubspot.com/u/ricky23)\
**Post date:** [December 21, 2022, 5:49pm UTC](https://community.hubspot.com/t/retrieve-notes-associated-with-a-company/71687/1 "2022-12-21T17:49:03Z")

</div>

I’m trying to get a list of companies where notes have been added recently. And then loop through each company and retrieve the recently added note. Is that possible?

Any help on this matter would be greatly appreciated!

---

<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:** [December 23, 2022, 6:47pm UTC](https://community.hubspot.com/t/retrieve-notes-associated-with-a-company/71687/2 "2022-12-23T18:47:22Z")

</div>

Hi, @ricky23 👋 The community is quiet this week with the upcoming holidays and new year. But I did have some thoughts 🧐

I’d suggest looking at the [Search API](https://developers.hubspot.com/docs/api/crm/search). This allows for:

- searching by [Engagements](https://developers.hubspot.com/docs/api/crm/search#:~:text=searchable%20CRM%20engagements) (including Notes)

- using pseudo-elements, such as —pseudo-property `associations.{objectType}`, with the Engagements search. Example:

- you can request specific properties to be returned — [Specify returned properties](https://developers.hubspot.com/docs/api/crm/search#specify-returned-properties)

- you also have access to the listed search operators to filter your results — [Filter search results](https://developers.hubspot.com/docs/api/crm/search#filter-search-results)

I haven’t run through all the options, but my gut says this is a good place to start.

Have fun building! — Jaycee
