I want to create the note using the API and then associate it with the contact
this is using tray.io
I’m using http connector in tray for hubSpot to make a full url
url: https://api.hubapi.com/crm/v3/contacts/notes
then I made the queery parameter that is the association code
“associations”: [
{
“to”: {
“id”: “151”
},
“types”: [
{
“associationCategory”: “HUBSPOT_DEFINED”,
“associationTypeId”: 202
}
]
}
]
and the payload that Im using is
{
“requestor”: “ivr”,
“appname”: {
"hs\_timestamp": "2021-11-12T15:48:22Z",
"hs\_note\_body": "Spoke with decision maker Carla. Attached the proposal and draft of contract."
},
“integration”: {
"relatedObjectType": "contacts",
"relatedObjectId": "151",
"makePrivate": false
}
}
but this is giving the error
error :
“response”: {
“statusCode”: 404,
“body”: “”
},
“expects”: {
“statusCode”: [
200,
201,
202,
204
]
},
“message”: “Not found. Looks like this has been removed.”
}
this connector Im using in tray to make this note and associate it with the contact
