I’d like to get data from the submissionGuid parameter that gets past to the redirect URL. While I can get the ID from the query parameter, what is the method to actually get the data out of this id? I’d imagine it can return a JSON object, but is there a way to get it through the API? Is it stored as a JS variable in the browser?
To update this thread, it still isn't possible to query the HubSpot API by submissionGuid, but you can retrieve submissions from specific forms with this endpoint.
If you'd like HubSpot to release a public endpoint supporting submissionGuid values, please post a feature request here and share it below. (At the time of writing, I found no similar feature requests.) Once an idea is posted, please navigate to the feature request itself (not the post in this thread) and upvote and comment on it so that the relevant HubSpot product teams understand your use cases.
I do not have a substantive update at this time. It is still not possible to query the HubSpot API by submissionGuid.
With that said, I have once again raised this request and its use cases to the forms team so that they are aware of it as they plan the next version of the Forms API.
There isn’t really a way to get the form submission info directly; you might instead consider passing certain fields (hidden or otherwise) to the thank you page as query parameters. This is a common way to populate dynamic content on thank you pages.
To update this thread, it still isn't possible to query the HubSpot API by submissionGuid, but you can retrieve submissions from specific forms with this endpoint.
If you'd like HubSpot to release a public endpoint supporting submissionGuid values, please post a feature request here and share it below. (At the time of writing, I found no similar feature requests.) Once an idea is posted, please navigate to the feature request itself (not the post in this thread) and upvote and comment on it so that the relevant HubSpot product teams understand your use cases.
I do not have a substantive update at this time. It is still not possible to query the HubSpot API by submissionGuid.
With that said, I have once again raised this request and its use cases to the forms team so that they are aware of it as they plan the next version of the Forms API.
I'll share this feedback with the team, but they look largely to the Ideas Forum I linked above for feature requests, so if you wish to see this feature developed, please post with a detailed use case and share here so that I and other people can help upvote as well.
There isn’t currently a public API for pulling contact information based on a submissionGuid. Could you give me some info as to what exactly you’re trying to get? If you’re just looking to get the contact info, you could use the contacts API:
GET /contacts/v1/lists/recently_updated/contacts/recent - For a given portal, return all contacts that have been recently updated or created. A paginated list of contacts will be returned to you, with a maximum of 100 contacts per page, as specified...
Cool. Yeah, I was mostly just wanting to get the form data that is submitted, and I thought that was the reason submissionGuid was being passed to the redirectUrl. Is there another method to get the POST data from the form on the subsequent redirect URL? For instance, if I include a hidden field that populates my page/post ID, I’d use that ID to grab post data on the thank you page to populate dynamic content on that page. So, it’s not really the Contact info I need, I just want the data from the form but I still want to use the embed code. Thanks for the help!