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 |
|---|---|
| Successful response |
| Unauthorized — invalid or missing API token |
| Forbidden — insufficient permissions |
Examples
curl https://api.lynkow.com/v1/spam-settings \
-H "Authorization: Bearer $API_TOKEN"Response Example
{
"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 |
|---|---|
| Successful response |
| Unauthorized — invalid or missing API token |
| Forbidden — insufficient permissions |
| Validation error |
Response Example
{
"data": {
"honeypotEnabled": true,
"minimumSubmissionTime": 5,
"recaptchaEnabled": true,
"recaptchaSiteKey": "6Le...",
"recaptchaSecretKey": "6Le...",
"recaptchaMinScore": 0.5
}
}