Connect

Connect a Klaviyo account

Changed on

Connect Klaviyo with a private API key (Settings, API keys) that has the Events (write) and Accounts (read) scopes.

Zernio reads the key's account once to check it, then sends the events you forward to it (POST /v1/events, forwarding rules) to Klaviyo's Events API. Connecting the same account again replaces its key.

Requires the Ads add-on.

post/v1/connect/klaviyo/credentials

Request

  • Base URL
    https://zernio.com/api
  • Auth
    HTTP bearer

Request body

apiKeystring required

Klaviyo private API key, starting with pk_.

namestring

Optional display name for the account.

profileIdstring required

Your Zernio profile ID

statestring

Optional state passthrough for the connect flow.

redirect_urlstring

Optional URL to redirect to after a successful connection, echoed back as redirectUrl.

Response

Klaviyo account connected

accountIdstring
klaviyoAccountIdstring
testAccountboolean
accountNamestring
redirectUrlstring

Changes