Hi, as mentioned in the subject, I want to retrieve the contact’s first name, last name, and email using the submissionGuid parameter and a private app.
Let me explain my requirement. We have a demo form on a WordPress website, which embeds a HubSpot form. In HubSpot, we have set the form to redirect to our domain url at domain.com/schedule . On this URL, we have an embedded Calendly form, and we want the first name, last name, and email fields in the Calendly form to be autofilled based on the data submitted in the HubSpot form. I noticed that the redirect URL includes a “submissionGuid” query parameter. I would like to retrieve the contact’s first name, last name, and email address based on this submissionGuid.
As I searched, I found that I need to enable a read permission related to the submissionGuid in private app Scopes, but I’m not sure what it is. Could you please guide me? Also, is my approach the best practice to achieve this, or is there a better way to fulfill this requirement?
Hi @john17265! Welcome to the Community-- happy to have you here 
I understand your goal is to use the SubmissionGuid from an embedded HubSpot form to auto-fill the name and email of the visitor to a Calendly form on the submission redirect page.
I’d love to invite some of our subject-matter experts to chime in here. @Anton, @derekcavaliero, @GRajput -- can any of you share your experiences passing this information between forms using a private app? I really appreciate any help you can provide!
Best,
Kennedy
I’d probably avoid using the API to get this information in this scenario. You’d be better off “caching” the form submission data in some form of browser storage (either a short lived cookie or localStorage) and then reading it on the other side of the redirect. The API adds extra complications that just aren’t worth the headache for what you need to do in the browser.
I’d look into using the Global Form Events (specifically the onFormSubmitted event). You will have direct access to the data submitted through the form inside that callback, and you can cache it however you’d like.