---
title: "Solve captcha(s)"
method: POST
path: "/v1/sessions/{sessionId}/captchas/solve"
tags: ["Captchas"]
---

# Solve captcha(s)

`POST /v1/sessions/{sessionId}/captchas/solve`

Solves captcha(s) for the session. If pageId, url, or taskId is provided, solves that specific captcha. If no parameters are provided, solves all detected captchas. Use this when autoCaptchaSolving is disabled in stealthConfig.

## Path parameters

- `sessionId` string, uuid, required

## Request body

- SolveCaptchaRequest — If no fields are provided, all detected captchas will be solved
  - `pageId` string — The page ID where the captcha is located
  - `taskId` string — The task ID of the specific captcha to solve
  - `url` string — The URL where the captcha is located

## Response `200`

Default Response

- CaptchaActionResponse
  - `message` string — Response message
  - `success` boolean, required — Whether the action was successful

## Other responses

- `400` — An error response from the API
- `500` — An error response from the API

---

[API](https://skmtc.net/steel-dev/apis/steel-api.md) · [All operations](https://skmtc.net/steel-dev/apis/steel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/steel-dev/steel-api/revisions/2248d956188a/schema)
