APIs & Integrations

kobrien94
Participant

Add files to Company via API

SOLVE

Is there a way through the HubSpot API to add a PDF file to a Company in HubSpot under the attachments section?

 

I am auto-generating a PDF in my C# application. After the PDF is created, I am trying to post this PDF to the company object in HubSpot.

0 Upvotes
1 Accepted solution
GetThatBreadZac
Solution
Participant

Add files to Company via API

SOLVE

Hi @kobrien94 ,

 

Found this workaround in a different thread; wondering if it will work for you?

In summary, this will take multiple steps:

  • Upload the file
  • Create a Note
  • Associate the File to the Note
  • Associate the Note to the Object

Hope this helps!

 

------

Find my answer helpful? Support the community by indicating it as the solution.

 

Click here if you wish to find out more on how you can Get That Bread better, faster, with our specially curated services.

 

Zach C.

Chief Baker

GetThatBread




View solution in original post

2 Replies 2
GetThatBreadZac
Solution
Participant

Add files to Company via API

SOLVE

Hi @kobrien94 ,

 

Found this workaround in a different thread; wondering if it will work for you?

In summary, this will take multiple steps:

  • Upload the file
  • Create a Note
  • Associate the File to the Note
  • Associate the Note to the Object

Hope this helps!

 

------

Find my answer helpful? Support the community by indicating it as the solution.

 

Click here if you wish to find out more on how you can Get That Bread better, faster, with our specially curated services.

 

Zach C.

Chief Baker

GetThatBread




kobrien94
Participant

Add files to Company via API

SOLVE

Yup that helped a lot. Thank you!

 

I also found this article helpful too

0 Upvotes