On Sun, Apr 14, 2024 at 4:01 PM Shashank Kumar via Wikitech-l <wikitech-l@lists.wikimedia.org> wrote:
I am contributing to wikimedia-commons android app and we encountered a case where we need to show CAPTCHA within the app, is there any end-points available for this ? To Complete the CAPTCHA verification when it's required ?

It's integrated in the endpoints for the actions that involve solving a captcha. Usually it involves submitting a 'captchaid' and 'captchaword' (or in some cases 'captchaId' and 'captchaWord') parameters after having received the captcha ID and the captcha image URL. For the login/signup apis you can learn those via the authmanagerinfo endpoint, for most other APIs you need to submit the data without a captcha first, and the error you get in response will contain those parameters.
See e.g.
https://www.mediawiki.org/wiki/API:Account_creation
https://www.mediawiki.org/wiki/API:Login
https://www.mediawiki.org/wiki/API:Edit