Authenticating Form Submissions from External Source


#1

We are submitting data to a HubSpot form using the following tutorial as a guide: http://developers.hubspot.com/docs/methods/forms/submit_form

Is there a way to force authentication of these form submissions using our HAPI key? I tried passing an authorization header with an incorrect key and it still went through.

Thanks!


#2

Hi @edgemm-gavin

Form submissions don’t require authentication, since the endpoint is designed to work client-side with an HTML form as well as server-side using the API, so you should not be including any type of authentication in the request.


#3

Hi @dadams

Thanks for your response.

Is there a way to retrieve our HAPI key to compare to the authorization header that is sent through? We’re wanting to use it to ensure only authorized entries are submitted without hard-coding the key into our files.