Introduction

Note: If you're working in Wix Headless or using our REST APIs, you can't use this API.

The CAPTCHA API lets you authorize a generated CAPTCHA token in your backend code. The API provides an Authorize method that accepts and validates tokens. Call Authorize in your backend code before executing any restricted operations.

The Authorize method works with the Wix reCAPTCHA element. This frontend element creates a challenge-response authentication that verifies Wix site visitors are human, before allowing them to perform restricted operations. It generates a token when a site visitor successfully completes the challenge-response authentication.

If you're developing a Wix site or a Blocks app, you can add the Wix reCAPTCHA element to the frontend of your site or app. You can then call Authorize in your backend.

Did this help?