Api reference
Create a CAPTCHA challenge
Creates a new challenge session with a randomized image grid. Called automatically by the widget — you do not need to call this directly.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://ycaptcha.xyspg.moe/api/v0/captcha/challenge" \ -H "Content-Type: application/json" \ -d '{ "siteKey": "pk_aBcDeFgHiJkLmNoPqRsTuVwXyZ123456" }'{
"sessionToken": "string",
"prompt": "string",
"images": [
{
"url": "string"
}
]
}Empty
Empty
Empty
Empty