# Creating a note and adding it to contact

**URL:** <https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [September 19, 2023, 12:06pm UTC](https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942 "2023-09-19T12:06:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![VictorCooper](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@VictorCooper](https://community.hubspot.com/u/VictorCooper)\
**Post date:** [September 19, 2023, 12:06pm UTC](https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942/1 "2023-09-19T12:06:18Z")

</div>

Following the

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

API, I’m trying to create a note and attach it to a contact.

 ![Screen Shot 2023-09-19 at 15.02.10.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7f7db17df7c145918c194f569c67fb86b8569bdd.png)

This seems to return a proper response but no note is created for the user.  
I should be able to see it here

 ![Screen Shot 2023-09-19 at 15.03.19.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/3/380f77d7435d08964db91a8e3406dc5327f62d7b.png)

But I don’t (The note you see was manually added using the GUI).  
Following the docs I can’t seem to find what I’m doing wrong.  
I’m passing the contact ID I want the note to be added to.  
I get a response that a note was created, but I never see it.  
I honestly can’t see what I’m doing wrong.  
If you have any idea, let me know.

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [September 20, 2023, 4:16am UTC](https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942/2 "2023-09-20T04:16:35Z")

</div>

Hi @VictorCooper 👋

As per the [documentation](https://developers.hubspot.com/docs/api/crm/notes), you’ll need to specify the association type within the request body. For example:

```lia-code-sample
{
 "properties": {
 "hs_note_body": "This is a test note",
 "hs_timestamp": "2019-10-30T03:30:17.883Z"
 },
 "associations": [
 {
 "to": {
 "id": "51"
 },
 "types": [
 {
 "associationCategory": "HUBSPOT_DEFINED",
 "associationTypeId": 202
 }
 ]
 }
 ]
}

```

Where 51 is the Contact ID to be associated to the new Note and 202 is the association type ID for the association type “note\_to\_contact”. You can retrieve all association types by making a GET request to:

- [https://api.hubapi.com/crm/v3/associations/:OBJECT\_TYPE\_FROM/:OBJECT\_TYPE\_TO/types](https://api.hubapi.com/crm/v3/associations/:OBJECT%5C_TYPE%5C_FROM/:OBJECT%5C_TYPE%5C_TO/types)
  - Where, in your case, :OBJECT\_TYPE\_FROM could be replaced with “NOTE” and :OBJECT\_TYPE\_TO could be replaced with “CONTACT”.

I hope this proves useful. Please let me know if you have any follow-up questions.

---

<div class="post-metadata">

**Author:** ![RTatusko](https://avatars.discourse-cdn.com/v4/letter/r/7ab992/32.png) [@RTatusko](https://community.hubspot.com/u/RTatusko)\
**Post date:** [December 29, 2023, 1:20pm UTC](https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942/3 "2023-12-29T13:20:11Z")

</div>

hello [zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811) I have the same problem. API retrieves created but note that not present

---

<div class="post-metadata">

**Author:** ![Wenson](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@Wenson](https://community.hubspot.com/u/Wenson)\
**Post date:** [October 29, 2024, 5:37am UTC](https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942/4 "2024-10-29T05:37:34Z")

</div>

Same problem even added types

---

<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:** [October 29, 2024, 10:26pm UTC](https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942/5 "2024-10-29T22:26:13Z")

</div>

Hey, @RTatusko @Wenson can you share a simple example using Postman? I just tested the example from [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811) and it worked flawlessly.

I used Postman

I have a Contact called Linda Belcher who had no associated Notes

 ![CleanShot 2024-10-29 at 16.18.10@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/0/024769c6e923287eb3446df08aef6976f0024574.png)

I took the request body example from Zach and changed the value for `id` to match Linda

Request and body

`POST https://api.hubapi.com/crm/v3/objects/notes`

```lia-code-sample
{
 "properties": {
 "hs_note_body": "This is a test note",
 "hs_timestamp": "2019-10-30T03:30:17.883Z"
 },
 "associations": [
 {
 "to": {
 "id": "851"
 },
 "types": [
 {
 "associationCategory": "HUBSPOT_DEFINED",
 "associationTypeId": 202
 }
 ]
 }
 ]
}

```

Response

```lia-code-sample
{
 "id": "63457555073",
 "properties": {
 "hs_body_preview": "This is a test note",
 "hs_body_preview_html": "<html>\n <head></head>\n <body>\n This is a test note\n </body>\n</html>",
 "hs_body_preview_is_truncated": "false",
 "hs_createdate": "2024-10-29T22:18:36.261Z",
 "hs_lastmodifieddate": "2024-10-29T22:18:36.261Z",
 "hs_note_body": "This is a test note",
 "hs_object_id": "63457555073",
 "hs_object_source": "INTEGRATION",
 "hs_object_source_id": "959085",
 "hs_object_source_label": "INTEGRATION",
 "hs_timestamp": "2019-10-30T03:30:17.883Z"
 },
 "createdAt": "2024-10-29T22:18:36.261Z",
 "updatedAt": "2024-10-29T22:18:36.261Z",
 "archived": false
}

```

Screenshot of record in-app

 ![CleanShot 2024-10-29 at 16.25.13@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/9/79e4816c12a853636fbd3061d70fefbf3eb85625.png)

Talk soon! — Jaycee

---

<div class="post-metadata">

**Author:** ![aryang23-airmdr](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@aryang23-airmdr](https://community.hubspot.com/u/aryang23-airmdr)\
**Post date:** [January 7, 2026, 10:23pm UTC](https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942/6 "2026-01-07T22:23:11Z")

</div>

Facing same issue, Created via API but not visible on UI

---

<div class="post-metadata">

**Author:** ![STierney](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stierney/32/186066_2.png) [@STierney](https://community.hubspot.com/u/STierney)\
**Post date:** [January 8, 2026, 12:21am UTC](https://community.hubspot.com/t/creating-a-note-and-adding-it-to-contact/89942/7 "2026-01-08T00:21:59Z")

</div>

Hey @aryang23-airmdr - thanks for following up here!  
Sorry to hear that you’re having this issue. I’d like to re-tag [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811) to see if he has any follow up context for us.  
In the meantime, can you confirm that you specified the association type within the request body? I want to make sure we provide Zach with all of the details of this issue to help troubleshoot this more quickly for you.  
Shane, Senior Community Moderator
