Verify recaptcha v3

If I want to verify a recaptcha, how should I proceed? Use a Webhook?

Documentation: https://developers.google.com/recaptcha/docs/verify

I think it is not possible. The goal of recaptcha is to detect APIs.