VK Cloud logo

Connecting to the application backend

  1. Send a request from your service backend to the VK Капча API to create a captcha session. Use the method GET /captchaNotRobot.createSession.

    The method will return a link in the response to launch the widget in the frontend of your application (the link parameter).

  2. Pass the received link to the service frontend to launch the captcha widget.

  3. Get the successful captcha completion token success_token from the service frontend.

  4. Send a request from your service backend to the VK Капча API to validate the successful captcha completion token success_token. Use the method GET /captchaNotRobot.validate.

    The method will return the captcha completion status in the response (the status parameter).

  5. Process the user action if the token is valid.