Hi, I am looking for clarifincation on the V3 Authenticated Forms API. The documentation states that, “Form submissions from external sources can be made to any registered HubSpot form. You can see a list of forms on your account by navigating to Marketing > Lead Capture > Forms.”
But, there is also a note that states, "While endpoint has a higher rate limit than the unauthenticated v3 Form Submission endpoint, it does not support CORS. If you’re sending a CORS request, please use the unauthenticated v3 Form Submission endpoint instead. "
I am making a post request from the form page on our website using the authenicated endpoint and I am obviously running into CORS errors when submitting. So, what are the external sources an Authenicated Form API request could be made without setting CORS and causing errors? How would I make a request from our domain to this API with having CORS issues?
Hi @Ag24,
Thank you for reaching out to the Community!
I’m not too familiar with APIs, but I’ve checked our documentation and our technical experts encourage customers to move to the new auth endpoints that allow a higher rate limit. These auth endpoints needs to be called from a backend system as they indeed do not allow CORS. You could, alternatively, also explore HubSpot’s Serverless function.
Hi @coldrickjack, @miljkovicmisa, do you have any other advice for @Ag24? Thank you!
Cheers
Mia, Community Team