---
title: "Update GoHighLevel account settings"
method: PATCH
path: "/v1/accounts/{accountId}/gohighlevel-settings"
tags: ["Accounts"]
---

# Update GoHighLevel account settings

`PATCH /v1/accounts/{accountId}/gohighlevel-settings`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/accounts/{accountId}/gohighlevel-settings`
- Auth: HTTP bearer

Turn the conversion relay, the write-back to GoHighLevel contacts or forwarding to the profile's ad platforms on or off for a connected GoHighLevel sub-account. Send at least one field; omitted fields keep their value. Settings survive reconnecting the same sub-account.

## Path parameters

- `accountId` string, required

## Request body

- object
  - `relayConversions` boolean: Relay GoHighLevel CRM events (new contacts, won opportunities, appointments, paid invoices and orders) as conversions with `source` `gohighlevel`.
  - `writeBackAttribution` boolean: Write each relayed conversion onto the `Zernio Conversions` custom field of the GoHighLevel contact.
  - `reportToAds` boolean: Also forward relayed conversions to the profile's ad platform destinations. Off stores them only.

## Response `200`

Updated settings

- object
  - `message` string
  - `account` GohighlevelSettings
    - `_id` string, required
    - `platform` 'gohighlevel', required
    - `locationId` string, required: The GoHighLevel sub-account (location) id.
    - `companyId` string, nullable, required: The agency that owns the sub-account, null for a sub-account under no agency.
    - `locationName` string, nullable, required
    - `installedBy` string, nullable, required: The GoHighLevel user who installed the app.
    - `relayConversions` boolean, required: CRM events are relayed as conversions. Default true.
    - `writeBackAttribution` boolean, required: Relayed conversions are written back onto the GoHighLevel contact. Default true.
    - `reportToAds` boolean, required: Relayed conversions are forwarded to the profile's ad platforms. Default false.

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key. `code` is `missing_credentials` when no Authorization header was sent and `invalid_credentials` when the key is unknown, revoked or expired.
- `404`: Account not found

## Changes

- **2026-11-21** `3402449b7657`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/accounts/:accountId/gohighlevel-settings/patch.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) - [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/a8fec29e3c8e?raw)
