# Retrieve notes associated with contact

**URL:** <https://community.hubspot.com/t/retrieve-notes-associated-with-contact/58824>\
**Category:** APIs & Integrations\
**Created:** [June 10, 2022, 5:55pm UTC](https://community.hubspot.com/t/retrieve-notes-associated-with-contact/58824 "2022-06-10T17:55:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaysonb](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaysonb/32/50655_2.png) [@jaysonb](https://community.hubspot.com/u/jaysonb)\
**Post date:** [June 10, 2022, 5:55pm UTC](https://community.hubspot.com/t/retrieve-notes-associated-with-contact/58824/1 "2022-06-10T17:55:53Z")

</div>

I need to retrieve all notes associated with a contact id. I am using Integromat + Custom API Call, easy to experiment with.

The hubspot engagement note documentation is hard for me to follow.

Where do I put the contact id?

[https://api.hubapi.com/crm/v3/objects/notes?limit=10&properties=hs\_note\_body&associations=contact&archived=false&hapikey=YOUR\_HUBSPOT\_API\_KEY](https://api.hubapi.com/crm/v3/objects/notes?limit=10&properties=hs_note_body&associations=contact&archived=false&hapikey=YOUR_HUBSPOT_API_KEY).

---

<div class="post-metadata">

**Author:** ![JBeatty](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbeatty/32/52252_2.png) [@JBeatty](https://community.hubspot.com/u/JBeatty)\
**Post date:** [June 10, 2022, 6:09pm UTC](https://community.hubspot.com/t/retrieve-notes-associated-with-contact/58824/2 "2022-06-10T18:09:55Z")

</div>

Hi @jaysonb,

You have two options here:

**Option 1:**

Get the associated note ids on the contact

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcrm-associations-v3%2Fguide)**

```lia-code-sample
Post /crm/v3/associations/contact/note/batch/read

{"inputs": [{
"id": "457501"
}]}

```

Which will return:

`{ "status": "COMPLETE", "results": [{ "from": { "id": "457501" }, "to": [ { "id": "22570614037", "type": "contact_to_note" }, { "id": "22570614134", "type": "contact_to_note" }] } ], "startedAt": "2022-06-10T18:00:15.317Z", "completedAt": "2022-06-10T18:00:15.338Z" }`

Then batch get the note properties

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcrm-notes-v3%2Fguide)**

```lia-code-sample
Post /crm/v3/objects/notes/batch/read

{"inputs": [
{"id": "22570614037"},
{"id": "22570614134"}
], "properties":["hs_note_body"]}

```

Which will return the details of the notes.

**Option 2:**

Post the search api

> **[Search the CRM - HubSpot docs](https://developers.hubspot.com/docs/api-reference/latest/crm/search-the-crm)**
>
> The CRM search endpoints make getting data more efficient by allowing developers to filter, sort, and search across any CRM object type.

```lia-code-sample
Post /crm/v3/objects/notes/search

{"filters":
[{"propertyName":"associations.contact","operator":"EQ","value":"457501"}],
"properties":["hs_note_body"]}

```

Which will return the details of the notes.

It may seem like option 2 is clearly better, but the search api has a seperate 4 per second api limit(seperate from all other requests). While the other two requests share the same 10 or 15(tier depending) api limit of all other requests.

Best,

---

<div class="post-metadata">

**Author:** ![jaysonb](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaysonb/32/50655_2.png) [@jaysonb](https://community.hubspot.com/u/jaysonb)\
**Post date:** [June 10, 2022, 6:25pm UTC](https://community.hubspot.com/t/retrieve-notes-associated-with-contact/58824/3 "2022-06-10T18:25:09Z")

</div>

Dude. Thank You!

I didnt see any of this in the documentation 🙂

Got your first option at least working in seconds. You put me on the right track!!!
