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 GET /captchaNotRobot.createSession method.

    The method will return a link in the response for launching the widget in your application frontend (the link parameter).

  2. Pass the received link for launching the captcha widget to the service frontend.

  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 GET /captchaNotRobot.validate method.

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

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

Was this article helpful?