How to upload file using HUBSPOT API PHP

cos

#1

how we can upload file on hubspot using api in php.

im getting error like this :- no file found, please set name to 'files' or 'files[]'


#2

Hi @Mayur_Kevadiya,

I'm not particularly familiar with PHP, but I've included the file upload developer doc and a post from another topic here on the forum:


#3

@Derek_Gervais

Thank you for your kind response.

i'm stuck on this file upload . you suggestion is not for me . please provide some example if some already implement in php or any other information.


#4

Hi, @Mayur_Kevadiya I've implement file upload through the ftp to the file manager using php, sending a PDF file to a directory into the file manager if I can help you contact me at montesl@outlook.com email or Skype, maybe i can look what's going wrong with your code.