Zernio
APIFor you
Zernio
APIFor you
API Reference

Accounts

List accountsGETList partner businesses of the PageGETList trending commercial musicGETSearch TikTok location tagsGETCheck account healthGETList posts published on the platformGETCheck accounts healthGETGet Bluesky account settingsGETGet follower statsGETGet HubSpot account settingsGETCheck whether an Instagram user follows the accountGETGet Slack account settingsGETGet TikTok creator infoGETUpdate accountPUTUpdate Bluesky account settingsPATCHUpdate HubSpot account settingsPATCHUpdate Slack account settingsPATCHDisconnect accountDELETEShare the Page with a partner businessPOSTMove account to another profilePATCHRevoke a partner business from the PageDELETE
Dashboard
OverviewPlatformsAPI ReferenceResources
Accounts

Update HubSpot account settings

Turn contact sync or message logging on or off for a connected HubSpot portal. Send at least one field; omitted fields keep their value. Settings survive reconnecting the same portal.


PATCH
/v1/accounts/{accountId}/hubspot-settings

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accounts.updateHubSpotSettings({  path: {    accountId: 'account_abc123',  },  body: {    syncContacts: false,    logMessages: false,  },});console.log(data);
{  "message": "string",  "account": {    "_id": "string",    "platform": "hubspot",    "hubId": "string",    "hubDomain": "string",    "scopes": [      "string"    ],    "syncContacts": true,    "logMessages": true  }}
Was this page helpful?

Update Bluesky account settings

Set or clear the account's default post languages. 1-3 BCP-47 codes (e.g. "pt", "en-US"), the same validation as per-post langs; explicit null clears the default. Per-post platformSpecificData.langs always overrides this default. Applies to posts published after the change; already-published posts cannot be retagged (Bluesky has no post edit).

Update Slack account settings

Set or clear the default message identity for this channel. Empty string clears a field; per-post platformSpecificData.username/iconUrl still override these defaults.

syncContacts?boolean

Create a HubSpot contact for an inbox contact that matches none by email or phone. A match is linked as it is and never updated.

logMessages?boolean

Log inbound and outbound inbox messages on the contact's HubSpot timeline.