Configure your Google reCAPTCHA to ensure only humans can submit forms and click buttons
​Google reCAPTCHA v3 is a service provided by Google that returns a user score without any interaction from the user. This can integrated with buttons to prevent bots from clicking the button on your website without a human present.
5. Configure the server-side integration on your backend
The exact steps will depend on your backend - see Google's reference for detailed instructions.
The user's reCAPTCHA response can be obtained in the API Pane with the recaptchaToken key.
Make a POST request to https://www.google.com/recaptcha/api/siteverify with the secret (secret key) and response (user response) parameters to retrieve the score in a JSON format:
1
{
2
"success":true|false,// whether this request was a valid reCAPTCHA token for your site
3
"score": number // the score for this request (0.0 - 1.0)
4
"action": string // the action name for this request (important to verify)
5
"challenge_ts": timestamp,// timestamp of the challenge load (ISO format yyyy-MM-dd'T'HH:mm:ssZZ)
6
"hostname": string,// the hostname of the site where the reCAPTCHA was solved