APIs & Integrations

Not applicable

Creating notes and attachments in contacts via api

Above specs clearly explains how we can send data to hubspot from external applications via api. But i can see there is no reference on how we can amend new notes and attachments in contacts.
See:

I would like to know how we can send these data along with property data. Please advise.

Thanks in advance.

11 Replies 11
mgraeber
Member

Creating notes and attachments in contacts via api

This solution seems to be outdated.

How does it work with API v3?

0 Upvotes
Not applicable

Creating notes and attachments in contacts via api

can i ask you one more thing? Can we change this http://prntscr.com/faowxb ?
i would like to provide another name via api for instead of “new Note”. Is it possible?

0 Upvotes
3PETE
HubSpot Employee
HubSpot Employee

Creating notes and attachments in contacts via api

@Shyam_Krishna No there isn’t an option for a title in the Metadata at the moment.

0 Upvotes
Not applicable

Creating notes and attachments in contacts via api

Thanks mate. Have a good day ahead.

0 Upvotes
Not applicable

Creating notes and attachments in contacts via api

one more question, is there any specific server spec needed for this hubspot apis to work? Is there any links that can point to this ?

Thanks.

0 Upvotes
3PETE
HubSpot Employee
HubSpot Employee

Creating notes and attachments in contacts via api

@Shyam_Krishna after you have created the engagement you can associate it with this end point here:

Also here are the general docs for HubSpot APIs

You can use cURL and PHP, you would still need to format the body of the call in JSON however.

There is not a way at the moment to associate a file via the API to a CRM object

0 Upvotes
Not applicable

Creating notes and attachments in contacts via api

sorry for troubling, i didnt get why you forwarded me that link of association.

Please see this api, here we could associate to contact. So why this one? https://developers.hubspot.com/docs/methods/engagements/associate_engagement

Sorry for troubling, i need clarification on this.

Regarding files, ok i think no files are allowed to import via api including imagesm pdf etc, right? Please confirm.

Also is there any server requirement for api to work externally?

Please get back on above queries and i think i am good to go. Thanks again. :slight_smile:

0 Upvotes
3PETE
HubSpot Employee
HubSpot Employee

Creating notes and attachments in contacts via api

@Shyam_Krishna You can use either endpoint.

Confirming no files are allowed to import via the API

No requirements regarding servers. You just need to hit our API appropriately.

0 Upvotes
Not applicable

Creating notes and attachments in contacts via api

Thanks for getting me back and thanks for that link.
I have gone through it. So just to confirm, please see below


Hope this will be fine?? Can i use curl php option here instead of json?

Also could you please provide more info on the attachment part. So for attachments, we need to use another api to import files and the fileid we got from that section need to include in above engagement api, right?

Please advise on the above mentioned points. Thanks again for the reply. Really appreciate that.

0 Upvotes
Cygnus
Member

Creating notes and attachments in contacts via api

Hi,

Do you know if I can use the contact email address instead of the contact_id?

0 Upvotes
3PETE
HubSpot Employee
HubSpot Employee

Creating notes and attachments in contacts via api

@Shyam_Krishna Take a look here at the Engagements API.

A note would be an engagement that you can then associate to a Contact

0 Upvotes