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

# Solve image captcha

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

Solves an image captcha using XPath selectors

## Path parameters

- `sessionId` string, uuid, required

## Request body

- SolveImageCaptchaRequest
  - `imageXPath` string, required — XPath to the captcha image element
  - `inputXPath` string, required — XPath to the captcha input element
  - `url` string — URL where the captcha is located. Defaults to the current page URL

## 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)
