About the CAPTCHA API

 

Developer Preview
APIs in Developer Preview are subject to change and are not intended for use in production.
Send us your suggestions for improving this API. Your feedback is valuable to us.

 

Note: This module requires a Wix site with a frontend interface created in the Wix Editor. If you are developing a site or app on an external platform, and are interacting with Wix APIs via Wix Headless, don't use this module.

Wix's reCAPTCHA element allows you to set up challenge-response authentication for Wix site visitors to determine whether they are human or a bot. Use the reCAPTCHA element to verify that site visitors are human before allowing them to perform restricted operations. When a Wix site visitor successfully completes the challenge-response authentication, a CAPTCHA token is generated.

If your Wix site communicates with an external server, and the restricted operation is handled in your external server-side code, use authorize() in your server-side code to validate the token before executing the operation.

However, if the restricted operation is handled in your backend Wix site code, refer to the this guide on how to use reCAPTCHA validation in Velo for instructions.

Was this helpful?
Yes
No