Tips, Tricks & Best Practices

HGajipara
Member

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!

Thank you!

0 Upvotes
1 Reply 1
PamCotton
Community Manager
Community Manager

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!

 

To our top experts, @Anton and @DanielSanchez do you have any recommendations for @HGajipara?

 

Thank you,

Pam

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes