---
title: "POST /v1/{+app}:exchangeRecaptchaEnterpriseToken"
method: POST
path: "/v1/{+app}:exchangeRecaptchaEnterpriseToken"
tags: ["projects"]
---

# POST /v1/{+app}:exchangeRecaptchaEnterpriseToken

`POST /v1/{+app}:exchangeRecaptchaEnterpriseToken`

Validates a [reCAPTCHA Enterprise response token](https://cloud.google.com/recaptcha-enterprise/docs/create-assessment#retrieve_token). If valid, returns an AppCheckToken.

## Path parameters

- `app` string, required

## Request body

- GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest — Request message for the ExchangeRecaptchaEnterpriseToken method.
  - `recaptchaEnterpriseToken` string — Required. The reCAPTCHA token as returned by the [reCAPTCHA Enterprise JavaScript API](https://cloud.google.com/recaptcha-enterprise/docs/instrument-web-pages).
  - `limitedUse` boolean — Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection* feature, set this to `true`. The default value is `false`.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/firebaseappcheck.md) · [All operations](https://skmtc.net/google/apis/firebaseappcheck/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/firebaseappcheck/versions/b321501ef5a5/schema)
