# Settings

What the GoHighLevel integration relays and writes back, and how to change it with the settings API.

Each connected GoHighLevel account has settings that control what it relays and writes back. Read them with `GET` and change them with `PATCH`:

```bash
curl "https://zernio.com/api/v1/accounts/ACCOUNT_ID/gohighlevel-settings" \
  -H "Authorization: Bearer $ZERNIO_API_KEY"
```

```bash
curl -X PATCH "https://zernio.com/api/v1/accounts/ACCOUNT_ID/gohighlevel-settings" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "reportToAds": true }'
```

## Fields

| Field | Default | What it does |
|-------|---------|--------------|
| `relayConversions` | `true` | Relays GoHighLevel CRM events (contacts, opportunity progress, appointments, paid invoices and orders) as conversion events to Zernio. |
| `writeBackAttribution` | `true` | Writes each relayed conversion onto the `Zernio Conversions` custom field of the GoHighLevel contact. |
| `reportToAds` | `false` | Forwards the relayed conversions to the profile's event destinations (Meta, Google, TikTok and the rest) through each platform's server-side API. |

Turning `reportToAds` on starts forwarding events received from then on; it does not backfill earlier events.

## Related

- [Connect](/platforms/gohighlevel/connect)
- [What syncs](/platforms/gohighlevel/sync)
- [Limits and errors](/platforms/gohighlevel/reference)