File upload format when using external Forms API v3

Hi.

I am using the external Forms API to collect data from a wordpress site and insert the form fields into Hubspot. I have sucessfully integrated all fields except sending a file that is uploaded on the form.

I can’t find an example or reference to the format that the API is expecting for a file upload field.

Could someone point me to the reference or send a sample of how to format the field so that the uploaded file can be integrated to hubspot?

I am using the following API:

https://api.hsforms.com/submissions/v3/integration/submit/:portalId/:formGuid

thank you

Hi @AlexFernandes

It seems this topic has already been decided, you can refer to the link attached

https://community.hubspot.com/t5/APIs-Integrations/Form-Submission-API-with-file-upload/m-p/317752

“I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!”