Upload file API. Where should files be stored. (Best Practice)

SOLVE
Highlighted
New Contributor

Hi,

When using the API to upload a file to be linked to an engagement with the hidden property set to true. Should these files be saved in the root directory or does each user have there own directly in which the files should be saved?

 

I would like to save the users attachments in the same location that they would be saved if the user attached a document through the HubSpot web interface under notes.

 

Thanks

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Advisor
Hello @BrianM2

While using the file upload API, you can specify the folder to which the files will be uploaded else all files will go to root directory of file manager. Next files uploaded to any location can be used as a note in engagement.

Thanks
Digital Marketing & Inbound Expert In Growth Hacking Technology
1 Reply 1
Advisor
Hello @BrianM2

While using the file upload API, you can specify the folder to which the files will be uploaded else all files will go to root directory of file manager. Next files uploaded to any location can be used as a note in engagement.

Thanks
Digital Marketing & Inbound Expert In Growth Hacking Technology