How to upload file using HUBSPOT API PHP



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[]'


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:



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.


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 email or Skype, maybe i can look what's going wrong with your code.