# Retrieving data from an hubSpot form

**URL:** <https://community.hubspot.com/t/retrieving-data-from-an-hubspot-form/17779>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [December 18, 2019, 5:00pm UTC](https://community.hubspot.com/t/retrieving-data-from-an-hubspot-form/17779 "2019-12-18T17:00:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nbergamini](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nbergamini/32/21752_2.png) [@Nbergamini](https://community.hubspot.com/u/Nbergamini)\
**Post date:** [December 18, 2019, 5:00pm UTC](https://community.hubspot.com/t/retrieving-data-from-an-hubspot-form/17779/1 "2019-12-18T17:00:45Z")

</div>

Hello,  
I’m a developper on a webapp that uses hubspot embed script for taking appointments. In this case, I configured hubspot to create an hubspot form to store the users information.

I’m facing a problem here because I would like to get those data without using my own way in javascript.

Is there an official solution to fetch the data from a form after the submit ?

Thanks by advance.

---

<div class="post-metadata">

**Author:** ![Willson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/willson/32/84663_2.png) [@Willson](https://community.hubspot.com/u/Willson)\
**Post date:** [December 19, 2019, 9:45am UTC](https://community.hubspot.com/t/retrieving-data-from-an-hubspot-form/17779/2 "2019-12-19T09:45:56Z")

</div>

Hi @Nbergamini

To confirm, you’re looking to get the form data that you’re submitting to HubSpot without the use of some Javascript to do so?

If so, the only recommendations we can make is to work with our API to **Get submissions for a form** , this endpoint can be seen here:

`https://developers.hubspot.com/docs/methods/forms/get-submissions-for-a-form`

This will allow you allow you to get the submissions for the specified form using the `form GUID` - This will include the fields in the submissions, the time of the form submission, and the page URL that the form was submitted on.

However, it would be recommended to use a js function with the `onSubmit();` event when posting this data to HubSpot, this would allow you to capture the data elsewhere whilst still passing the data to HubSpot.

I hope this helps!

---

<div class="post-metadata">

**Author:** ![Nbergamini](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nbergamini/32/21752_2.png) [@Nbergamini](https://community.hubspot.com/u/Nbergamini)\
**Post date:** [December 20, 2019, 8:27am UTC](https://community.hubspot.com/t/retrieving-data-from-an-hubspot-form/17779/3 "2019-12-20T08:27:49Z")

</div>

Hello @Willson ,

Thanks for your reply, I finally managed to find a solution for my problem on the hubspot documentation.

The solution is to use the Global Form Event, which can send an event when the form is submitting =\> [Accounts Dashboard | HubSpot](https://developers.hubspot.com/global-form-events)

Thanks again and have a nice day !
