Help protect your website from fraudulent activity, spam, and abuse without creating friction.

- [REST Resource: v1beta1.projects.assessments](https://docs.cloud.google.com/recaptcha/docs/reference/rest#v1beta1.projects.assessments)
- [REST Resource: v1.projects.assessments](https://docs.cloud.google.com/recaptcha/docs/reference/rest#v1.projects.assessments)
- [REST Resource: v1.projects.firewallpolicies](https://docs.cloud.google.com/recaptcha/docs/reference/rest#v1.projects.firewallpolicies)
- [REST Resource: v1.projects.keys](https://docs.cloud.google.com/recaptcha/docs/reference/rest#v1.projects.keys)
- [REST Resource: v1.projects.relatedaccountgroupmemberships](https://docs.cloud.google.com/recaptcha/docs/reference/rest#v1.projects.relatedaccountgroupmemberships)
- [REST Resource: v1.projects.relatedaccountgroups](https://docs.cloud.google.com/recaptcha/docs/reference/rest#v1.projects.relatedaccountgroups)
- [REST Resource: v1.projects.relatedaccountgroups.memberships](https://docs.cloud.google.com/recaptcha/docs/reference/rest#v1.projects.relatedaccountgroups.memberships)

## Service: recaptchaenterprise.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

- <https://recaptchaenterprise.googleapis.com/$discovery/rest?version=v1>
- <https://recaptchaenterprise.googleapis.com/$discovery/rest?version=v1beta1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://recaptchaenterprise.googleapis.com`

## REST Resource: [v1beta1.projects.assessments](https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1beta1/projects.assessments)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1beta1/projects.assessments/annotate` | `POST /v1beta1/{name=projects/*/assessments/*}:annotate` Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fradulent. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1beta1/projects.assessments/create` | `POST /v1beta1/{parent=projects/*}/assessments` Creates an Assessment of the likelihood an event is legitimate. |

## REST Resource: [v1.projects.assessments](https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.assessments)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.assessments/annotate` | `POST /v1/{name=projects/*/assessments/*}:annotate` Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fraudulent. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.assessments/create` | `POST /v1/{parent=projects/*}/assessments` Creates an Assessment of the likelihood an event is legitimate. |

## REST Resource: [v1.projects.firewallpolicies](https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.firewallpolicies)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.firewallpolicies/create` | `POST /v1/{parent=projects/*}/firewallpolicies` Creates a new FirewallPolicy, specifying conditions at which reCAPTCHA Enterprise actions can be executed. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.firewallpolicies/delete` | `DELETE /v1/{name=projects/*/firewallpolicies/*}` Deletes the specified firewall policy. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.firewallpolicies/get` | `GET /v1/{name=projects/*/firewallpolicies/*}` Returns the specified firewall policy. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.firewallpolicies/list` | `GET /v1/{parent=projects/*}/firewallpolicies` Returns the list of all firewall policies that belong to a project. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.firewallpolicies/patch` | `PATCH /v1/{firewallPolicy.name=projects/*/firewallpolicies/*}` Updates the specified firewall policy. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.firewallpolicies/reorder` | `POST /v1/{parent=projects/*}/firewallpolicies:reorder` Reorders all firewall policies. |

## REST Resource: [v1.projects.keys](https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/addIpOverride` | `POST /v1/{name=projects/*/keys/*}:addIpOverride` Adds an IP override to a key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/create` | `POST /v1/{parent=projects/*}/keys` Creates a new reCAPTCHA Enterprise key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/delete` | `DELETE /v1/{name=projects/*/keys/*}` Deletes the specified key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/get` | `GET /v1/{name=projects/*/keys/*}` Returns the specified key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/getMetrics` | `GET /v1/{name=projects/*/keys/*/metrics}` Get some aggregated metrics for a Key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/getPolicy` | `GET /v1/{name=projects/*/keys/*/policy}` Get the policy for a key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/list` | `GET /v1/{parent=projects/*}/keys` Returns the list of all keys that belong to a project. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/listIpOverrides` | `GET /v1/{parent=projects/*/keys/*}:listIpOverrides` Lists all IP overrides for a key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/migrate` | `POST /v1/{name=projects/*/keys/*}:migrate` Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/patch` | `PATCH /v1/{key.name=projects/*/keys/*}` Updates the specified key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/removeIpOverride` | `POST /v1/{name=projects/*/keys/*}:removeIpOverride` Removes an IP override from a key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/retrieveLegacySecretKey` | `GET /v1/{key=projects/*/keys/*}:retrieveLegacySecretKey` Returns the secret key related to the specified public key. |
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.keys/updatePolicy` | `PATCH /v1/{policy.name=projects/*/keys/*/policy}` Updates the policy for a key. |

## REST Resource: [v1.projects.relatedaccountgroupmemberships](https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.relatedaccountgroupmemberships)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.relatedaccountgroupmemberships/search` | `POST /v1/{project=projects/*}/relatedaccountgroupmemberships:search` Search group memberships related to a given account. |

## REST Resource: [v1.projects.relatedaccountgroups](https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.relatedaccountgroups)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.relatedaccountgroups/list` | `GET /v1/{parent=projects/*}/relatedaccountgroups` List groups of related accounts. |

## REST Resource: [v1.projects.relatedaccountgroups.memberships](https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.relatedaccountgroups.memberships)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/recaptcha/docs/reference/rest/v1/projects.relatedaccountgroups.memberships/list` | `GET /v1/{parent=projects/*/relatedaccountgroups/*}/memberships` Get memberships in a group of related accounts. |