APIs & Integrations

Abhimanyu
Contributor

Attach(upload) file to Note via api

SOLVE

Hi

 

Can we used engagement api to attach (upload) file to note?

I saw this post Solved: HubSpot Community - How can I upload file to a ticket using API. - HubSpot Community  but it is for attaching to ticket but I want to attach fie to NOTE.

 

Thanks

 

 

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Attach(upload) file to Note via api

SOLVE

Hey @Abhimanyu !

You will need to upload the file with file manager and then get the ID and use that ID as the value for the attachment in your note

 

@quentin_lamamy might be able to help with more specific code implementation!

View solution in original post

4 Replies 4
quentin_lamamy
Key Advisor | Diamond Partner
Key Advisor | Diamond Partner

Attach(upload) file to Note via api

SOLVE

Thanks @dennisedson for the ping
Hi @Abhimanyu ,

Which langugage are you using ? Are you using a sdk ?


Abhimanyu
Contributor

Attach(upload) file to Note via api

SOLVE

Hi @quentin_lamamy 
I am using C#. As @dennisedson mention now I able to upload file to the note earlirier I was getting the error becuase attachment json was incorrect and it is causing the issue. 

 

Thank you

quentin_lamamy
Key Advisor | Diamond Partner
Key Advisor | Diamond Partner

Attach(upload) file to Note via api

SOLVE

Hi @Abhimanyu

I'm glad to hear that you solved your issue, don't forget to flag your topic as sovled.


dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Attach(upload) file to Note via api

SOLVE

Hey @Abhimanyu !

You will need to upload the file with file manager and then get the ID and use that ID as the value for the attachment in your note

 

@quentin_lamamy might be able to help with more specific code implementation!