Retrieve a form's share URLSOLVE
Feb 14, 2019 11:35 AM
We can create forms and retrive the form's information via the API. However the one absent property is any kind of share URL or link to access this form.
Our intention is to create a form dynamically and then retrieve its share URL and send it out via another email. We can see a form's Share Link in the portal but want to do so programmatically.
Solved! Go to Solution.
Feb 19, 2019 1:32 PM
At this time, there is no way to fully automate the process you've described.
Forms could be generated programmatically, but the standalone form page URLs would have to be copied manually from the app. I can envision a complicated workaround involving spinning up a new page containing a form module linked to the form you just created (using the form
guid returned by the Create a new form endpoint), but a link to this dedicated form page would still have to be included in a marketing email and sent out in-app (either manually or via a workflow).
In the past, the email team has chosen not to build a public API for marketing emails due to security concerns and few requests from users. Since most customers' marketing emails are sent via shared IP ranges, one bad actor could do much more damage to the sending reputations of all HubSpot customers via the API than is possible in-app. As such, the only emails that can be sent through HubSpot APIs are transactional in nature and require the customer to use a dedicated set of IPs.
Isaac TakushiAlumnus, HubSpot Developer Support