Admins

getAdminRegistrationInfo

GET
/api/v1/register/recaptcha

Return the public CAPTCHA settings required for administrator registration. This public endpoint does not require authentication. Use the returned flavor, required, and sitekey values to render the correct CAPTCHA challenge before calling Register New Admin.

Query Parameters

recaptcha_flavor?string

Filter login settings by reCAPTCHA flavor. enum: google, hcaptcha

Default"google"

Value in

  • "google"
  • "hcaptcha"

Response Body

curl -X GET "https://example.com/api/v1/register/recaptcha"

{  "flavor": "google",  "required": true,  "sitekey": "6LdAewsTAAAAAE25XKQhPEQ2FiMTft-WrZXQ5NUd"}