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!
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!
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. This allows for:
searching by Engagements (including Notes)
using pseudo-elements, such as —pseudo-property associations.{objectType}, with the Engagements search. Example:
POST https://api.hubapi.com/crm/v3/objects/notes/search
{
"filters": [
{
"propertyName": "associations.deal",
"operator": "IN",
"values": [
"10937123156", "11444440333"
]
}
]
}
you can request specific properties to be returned — Specify returned properties
you also have access to the listed search operators to filter your results — 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