Authenticating Form Submissions from External Source


We are submitting data to a HubSpot form using the following tutorial as a guide:

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.



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.


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.