APIs & Integrations

YVasudevon
Member

Unable to add notes to a deal via API

SOLVE

I'm unable to add a note to a deal via API.

Getting bad syntax error.

I used association type "12".

 

Screenshot 2022-08-16 at 4.37.54 PM.png

 

How I can associate a newly create note to an existing deal?

0 Upvotes
1 Accepted solution
Teun
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Unable to add notes to a deal via API

SOLVE

Hi @YVasudevon ,

 

Instead of 12 try 214 😜

As if we didn't discuss this on Slack and you got the solution yourself.



Did my answer solve your issue? Help the community by marking it as the solution.

View solution in original post

0 Upvotes
2 Replies 2
Teun
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Unable to add notes to a deal via API

SOLVE

Hi @YVasudevon ,

 

Instead of 12 try 214 😜

As if we didn't discuss this on Slack and you got the solution yourself.



Did my answer solve your issue? Help the community by marking it as the solution.
0 Upvotes
YVasudevon
Member

Unable to add notes to a deal via API

SOLVE

Got this from https://developers.hubspot.com/docs/api/crm/associations

Retrieve association types

To view the association types between specific objects, make a GET request to

/crm/v4/associations/{fromObjectType}/{toObjectType}/labels
Example:
/crm/v4/associations/notes/deals/labels
0 Upvotes