Method: projects.keys.create

Creates a new reCAPTCHA Enterprise key.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the project in which the key will be created, in the format "projects/{project}".

Authorization requires the following IAM permission on the specified resource parent:

  • recaptchaenterprise.keys.create

Request body

The request body contains an instance of Key.

Response body

If successful, the response body contains a newly created instance of Key.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following Cloud IAM permission on the parent resource:

  • recaptchaenterprise.keys.create

For more information, see the Cloud IAM Documentation.