Authentication
Captcha challenges for spam prevention
Returns a new captcha challenge for spam prevention. Users must solve the captcha before certain actions can be performed. Requires signed fetch authentication.
Signed fetch authentication using @dcl/platform-crypto-middleware (ADR-44l). Requires auth chain headers (x-identity, x-signature, x-timestamp) for signature validation. See http://adr.decentraland.org/adr/ADR-44l for details.
Captcha challenge generated successfully
Captcha challenge identifier
Base64 encoded image URL for the captcha
Challenge expiration timestamp
Unauthorized - invalid signed fetch
Forbidden - invalid metadata or user is flagged
GET /captcha HTTP/1.1
Host: credits.decentraland.org
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"challenge": "text",
"imageUrl": "https://example.com",
"expiresAt": "2026-01-01T00:00:00.000Z"
}Verifies a captcha solution. Users who fail the captcha multiple times (3 attempts) will be flagged for 24 hours. Requires signed fetch authentication.
Signed fetch authentication using @dcl/platform-crypto-middleware (ADR-44l). Requires auth chain headers (x-identity, x-signature, x-timestamp) for signature validation. See http://adr.decentraland.org/adr/ADR-44l for details.
Captcha challenge identifier from GET /captcha
User-provided X coordinate solution
Captcha verified successfully
Verification success status
Verification message
Whether credits were granted after successful verification
Bad request - Invalid captcha solution
Unauthorized - invalid signed fetch
Forbidden - invalid metadata or user is flagged
POST /captcha HTTP/1.1
Host: credits.decentraland.org
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"challenge": "text",
"solution": 1
}{
"success": true,
"message": "text",
"creditsGranted": true
}Last updated