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: stringAcceptrequired
Type of content accepted by the API (application/json in most cases)
- Type: stringApplicationrequired
Application key for specific client app
- Type: stringA
P I - V E R S I O N requiredVersion of the API to be used
- Type: stringX
- Request - I D requiredUnique request identifier
Responses
- application/json
- 400
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"
}
}