APIs & Integrations

BrianM2
Member

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

SOLVE

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

0 Upvotes
1 Accepted solution
himanshurauthan
Solution
Thought Leader | Elite Partner
Thought Leader | Elite Partner

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

SOLVE
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

View solution in original post

1 Reply 1
himanshurauthan
Solution
Thought Leader | Elite Partner
Thought Leader | Elite Partner

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

SOLVE
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