Method: getRecaptchaParams

Gets parameters needed for generating a reCAPTCHA challenge.

HTTP request

GET https://identitytoolkit.googleapis.com/v1/recaptchaParams

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for v1.getRecaptchaParams.

JSON representation
{
  "recaptchaSiteKey": string
}
Fields
recaptchaSiteKey

string

The reCAPTCHA v2 site key used to invoke the reCAPTCHA service. Always present.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/identitytoolkit
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.