The URL for files uploaded via HubSpot forms now supports two additional forms of authentication. These authentication methods are available in addition to the existing, browser-based authentication. Files can now be accessed using our standard authentication methods:
These authentication methods are employed exactly as they are on other HubSpot API endpoints.
Details of these new capabilities can be found on the documentation page.
We changed the availability of files uploaded via HubSpot forms to remove access from anonymous viewers, as noted in this changelog entry. We want to ensure that files entrusted to HubSpot and to our customers won't be mistakenly made available to the public.
These new authentication methods provide more flexibility in how these files can be accessed by trusted users.
We recommend the following workflow in order to restore the closest proxy for previous integrations that relied on uploaded documents being publicly accessible,:
Please note that this will make the file publicly accessible so do not follow this flow if the documents being uploaded are sensitive or private in nature.
This change is happening today, November 7, 2019.
If you have any questions, please join the discussion in the community, where our developer support team will be available to answer your questions.