APIs & Integrations

Abhimanyu
投稿者

Attach(upload) file to Note via api

解決

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 いいね!
1件の承認済みベストアンサー
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Attach(upload) file to Note via api

解決

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!

元の投稿で解決策を見る

4件の返信
quentin_lamamy
キーアドバイザー | Diamond Partner
キーアドバイザー | Diamond Partner

Attach(upload) file to Note via api

解決

Thanks @dennisedson for the ping
Hi @Abhimanyu ,

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


Abhimanyu
投稿者

Attach(upload) file to Note via api

解決

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
キーアドバイザー | Diamond Partner
キーアドバイザー | Diamond Partner

Attach(upload) file to Note via api

解決

Hi @Abhimanyu

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


dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Attach(upload) file to Note via api

解決

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!