GET reCAPTCHA Key

​

Returns the Google reCAPTCHA site key to use when the brand protects sign-up and sign-in with a captcha.

The key depends on the platform you are calling from, so send a User-Agent that identifies it. A brand with reCAPTCHA switched off, or a platform it is not configured for, is rejected rather than returning an empty key — treat that as "no captcha required".

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Version of the API to be used

  • Unique request identifier

Responses

  • application/json
  • reCAPTCHA is not enabled for this brand or not configured for this platform.

Request Example for get/recaptcha-key
curl https://api-public-demo.menu.app/api/recaptcha-key \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
{
  "status": "OK",
  "code": 200,
  "data": {
    "recaptcha_key": "6LcExampleKeyForDemoEnvironmentOnly"
  }
}