> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# Get public spam settings

**Published**: 2026-11-30
**Category**: Analytics & Tracking

## `GET /spam-settings`

**Get public spam settings**

Returns the site's public spam-protection settings: which method,
honeypot or reCAPTCHA, to apply on form submissions, reviews,
bookings, customer registration, password-reset requests and
checkout.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `402` | The site subscription does not currently permit this operation |


> **Notes:** Cache: `Cache-Control: public, max-age=0, s-maxage=300`. Rate-limit
> bucket: general. `recaptchaSiteKey` is the public key for the
> reCAPTCHA script.

### Examples

```curl
curl "https://api.lynkow.com/storefront/{siteId}/spam-settings"
```

```javascript
const res = await fetch(`https://api.lynkow.com/storefront/${siteId}/spam-settings`)
const { data: spamConfig } = await res.json()
```

### Response Example

```json
{
  "data": {
    "protectionMethod": "honeypot",
    "recaptchaEnabled": false,
    "recaptchaSiteKey": null,
    "recaptchaVersion": "v3"
  }
}
```

---