---
title: "GET /v1/{+key}:retrieveLegacySecretKey"
method: GET
path: "/v1/{+key}:retrieveLegacySecretKey"
tags: ["projects"]
---

# GET /v1/{+key}:retrieveLegacySecretKey

`GET /v1/{+key}:retrieveLegacySecretKey`

Returns the secret key related to the specified public key. You must use the legacy secret key only in a 3rd party integration with legacy reCAPTCHA.

## Path parameters

- `key` string, required

## Response `200`

Successful response

---

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