Method: getRecaptchaParams

Stay organized with collections Save and categorize content based on your preferences.

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
{
  "kind": string,
  "recaptchaStoken": string,
  "recaptchaSiteKey": string
}
Fields
kind
(deprecated)

string

recaptchaStoken
(deprecated)

string

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.