File Upload Field Integration with HubSpot Contact API
Hello HubSpot Community,
I’m currently integrating a custom form with the HubSpot Contact API to send data upon form submission. However, I’ve run into an issue with mapping the file upload field. The API does not seem to allow file upload data to be sent directly, which is crucial for my use case.
Has anyone successfully integrated a file upload field with the HubSpot API? If so, could you share your approach or any workarounds? Any insights or guidance on how to handle file uploads in conjunction with the Contact API would be greatly appreciated!
File Upload Field Integration with HubSpot Contact API
Hey @HGajipara, thank you for posting in our Community.
Currently, HubSpot's Contact API doesn’t support direct file upload fields, which can indeed be limiting. One workaround is to store the file in an external storage service (e.g., AWS S3, Google Drive) via your custom form, then pass the file’s URL to a custom property in HubSpot. This way, you can still associate the file with the contact without uploading it directly to HubSpot. Let us know if this approach helps or if you have further questions!