Fetching submitted Form Data via API

Spoiler

Hello there!
Is there a way we could fetch submitted data via a form ID? I see a couple of API’s for forms but not one for this kind of request.

Yes, you can retrieve the submitted data with a GET request to
https://api.hubapi.com/form-integrations/v1/submissions/forms/:formId
where formId is the ID (GUID) of the form whose submission data you want to retrieve.
For authorization, use a Bearer token (Authorization: Bearer {token}) where the token - your private app access token

Hey, @AMuller1 :waving_hand: Thanks for your post!

For this request, you’ll need to use the legacy endpoint — Get submissions for a form. Please note, legacy endpoints are stable and supported unless explicitly flagged for depreciation. You can also subscribe to the HubSpot Developers Changelog to stay informed of upcoming changes and developer-related product updates.

Best,

Jaycee

Looks like @AddaxLab beat me to it :blush:

Hi @AMuller1

here is the link to form API’s

https://legacydocs.hubspot.com/docs/methods/forms/v2/get_fields

curl --request GET \
--url 'https://api.hubapi.com/form-integrations/v1/submissions/forms/{form_guid}?hapikey=YOUR_API_KEY'

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!