yCAPTCHAyCAPTCHA
Api reference

Fetch a challenge image

Proxies a challenge image from storage without exposing the real URL. Called automatically by the widget — you do not need to call this directly.

GET
/api/v0/captcha/image/{sessionToken}/{index}

Path Parameters

sessionToken*string

The session token from the challenge response.

index*integer

Image index in the grid (0-8).

Range0 <= value <= 8

Response Body

image/*

curl -X GET "https://ycaptcha.xyspg.moe/api/v0/captcha/image/string/8"
"string"
Empty
Empty
Empty