MageSmith
QueryReCaptchaWebapi · Magento 2.4.9

recaptchaFormConfig

recaptchaFormConfig is a Magento 2 GraphQL query in the ReCaptchaWebapi module. It returns ReCaptchaConfigOutput and is callable anonymously.

Last verified: against Magento 2.4.9.

Returns

ReCaptchaConfigOutput

Resolver class

Magento\ReCaptchaWebapiGraphQl\Model\Resolver\ReCaptchaFormConfig

Arguments

formType ReCaptchaFormEnum! Required

Example request

Auto-generated from the SDL — paste-ready against your store's /graphql endpoint. Replace the host, store code, and any required values before running.

Headers

Content-Type
application/json
Store
default store view code; use 'default' for the single-store baseline

Query

query ($formType: ReCaptchaFormEnum!) {
  recaptchaFormConfig(formType: $formType) {
    is_enabled
    configurations {
      re_captcha_type
      website_key
      minimum_score
      badge_position
      theme
      language_code
      validation_failure_message
      technical_failure_message
    }
  }
}

Variables

{
  "formType": "PLACE_ORDER"
}

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.