APIs & Integrations

JPDepew
メンバー

Are hub_id and form guids supposed to be private?

解決

What is the sensitivity of your hub_id and form guids?

I am asking because this documentation gives an example of submitting to a form using JS: https://developers.hubspot.com/docs/methods/forms/submit_form

Would it be okay to have this data on the client-side, or should these fields always be kept private?

0 いいね!
1件の承認済みベストアンサー
IsaacTakushi
解決策
HubSpot Employee
HubSpot Employee

Are hub_id and form guids supposed to be private?

解決

Hi, @JPDepew.

 

Thanks for reaching out.

 

Yes, it's perfectly fine to have this information visible client-side. In order to support public lead capture, these endpoints do not require server-side authentication.

 

Please let me know if I can clarify further.

Isaac Takushi

Associate Certification Manager

元の投稿で解決策を見る

1件の返信
IsaacTakushi
解決策
HubSpot Employee
HubSpot Employee

Are hub_id and form guids supposed to be private?

解決

Hi, @JPDepew.

 

Thanks for reaching out.

 

Yes, it's perfectly fine to have this information visible client-side. In order to support public lead capture, these endpoints do not require server-side authentication.

 

Please let me know if I can clarify further.

Isaac Takushi

Associate Certification Manager