Anti-spam protection configuration for forms and reviews. Supports honeypot fields, minimum submission time, and reCAPTCHA v3.

2 endpoints

GET /spam-settings

Get spam settings

Returns current spam protection configuration.

Responses

Status

Description

200

Successful response

401

Unauthorized — invalid or missing API token

403

Forbidden — insufficient permissions

Examples

Bash
curl https://api.lynkow.com/v1/spam-settings \
  -H "Authorization: Bearer $API_TOKEN"

Response Example

JSON
{
  "data": {
    "honeypotEnabled": true,
    "minimumSubmissionTime": 3,
    "recaptchaEnabled": false,
    "recaptchaSiteKey": null,
    "recaptchaSecretKey": null,
    "recaptchaMinScore": 0.5
  }
}

PUT /spam-settings

Update spam settings

Updates spam protection settings. Configure honeypot (enabled by default), minimum submission time (in seconds), and reCAPTCHA v3 (requires site/secret keys).

Responses

Status

Description

200

Successful response

401

Unauthorized — invalid or missing API token

403

Forbidden — insufficient permissions

422

Validation error

Response Example

JSON
{
  "data": {
    "honeypotEnabled": true,
    "minimumSubmissionTime": 5,
    "recaptchaEnabled": true,
    "recaptchaSiteKey": "6Le...",
    "recaptchaSecretKey": "6Le...",
    "recaptchaMinScore": 0.5
  }
}