---
title: "CAP challenge redeem"
method: POST
path: "/protection/cap/redeem"
tags: ["Protection"]
---

# CAP challenge redeem

`POST /protection/cap/redeem`

## Request

- Base URL: `https://api.takeshape.io`
- URL: `https://api.takeshape.io/protection/cap/redeem`
- Auth: none declared

Redeems a previously issued CAP challenge using the provided token and solutions.

## Request body

- CAPChallengeRedeemBody
  - `token` string, required
  - `solutions` number[], required

## Response `200`

CAP Challenge redemption response

- CAPChallengeRedeemResponse
  - `success` boolean, required
  - `message` string
  - `token` string
  - `expires` number

## Other responses

- `400`: Invalid request - unable to redeem challenge

---

[API](https://skmtc.dev/takeshape/apis/takeshape-rest-api.md) - [All operations](https://skmtc.dev/takeshape/apis/takeshape-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/takeshape/apis/takeshape-rest-api/revisions/2e088f4d4c64?raw)
