APIs & Integrations

Abhimanyu
Colaborador

Attach(upload) file to Note via api

resolver

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 Me gusta
1 Soluciones aceptada
dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Attach(upload) file to Note via api

resolver

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!

Ver la solución en mensaje original publicado

4 Respuestas 4
quentin_lamamy
Asesor destacado | Partner nivel Diamond
Asesor destacado | Partner nivel Diamond

Attach(upload) file to Note via api

resolver

Thanks @dennisedson for the ping
Hi @Abhimanyu ,

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


Abhimanyu
Colaborador

Attach(upload) file to Note via api

resolver

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
Asesor destacado | Partner nivel Diamond
Asesor destacado | Partner nivel Diamond

Attach(upload) file to Note via api

resolver

Hi @Abhimanyu

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


dennisedson
Solución
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Attach(upload) file to Note via api

resolver

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!