Hi everyone,
I am stuck on getting archived notes using the api. Is there any endpoint to get the archived notes list or get the archived notes associated with any other object e.g: Company, contact or deal ?
Hi @Lashari
You can use this curl and get the notes which are archived and associated with the contact.
If you want to notes which are associated with the company or deals you replace the name contacts with the companies or deals.
curl --request GET \
--url 'https://api.hubapi.com/crm/v3/objects/notes?limit=10&associations=contacts&archived=true' \
--header 'authorization: Bearer YOUR_ACCESS_TOKEN'
You can refer to the link attached for more details
(Accounts Dashboard | HubSpot)
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!
I just tried the endpoint you have mentioned but I’m not getting the desired results.
Following is the result of curl request:
{
"status": "error",
"message": "Paging through deleted objects is not yet supported for object type 0-46 (NOTE)",
"correlationId": "c3037ed5-74bc-4bf9-a7ff-a0ade9295839",
"category": "VALIDATION_ERROR"
}
Hi @Lashari
Can you please a screenshot of the curl you are using for more better understanding?
Thanks!
