Connecting to the application backend
-
Send a request from your service backend to the VK Капча API to create a captcha session. Use the GET /captchaNotRobot.createSession method.
The method will return a link in the response for launching the widget in your application frontend (the
linkparameter). -
Pass the received link for launching the captcha widget to the service frontend.
-
Get the successful captcha completion token
success_tokenfrom the service frontend. -
Send a request from your service backend to the VK Капча API to validate the successful captcha completion token
success_token. Use the GET /captchaNotRobot.validate method.The method will return the captcha completion status in the response (the
statusparameter). -
Process the user action if the token is valid.
Was this article helpful?