# Klaviyo

Connect Klaviyo with a private API key and send orders, checkouts and custom events to it from your server, in the same call as your ad platforms.

Connect Klaviyo to a profile with a private API key. The account (`platform: "klaviyo"`) receives your events under Klaviyo's own metric names, so flows and segments trigger on server-side orders.

## Quick reference

| Property | Value |
|----------|-------|
| Platform value | `klaviyo` |
| What it does | Receives your events through Klaviyo's Events API |
| Auth | A private API key with Events (write) and Accounts (read) |
| Destination | The Klaviyo account id. Each connection has exactly one |
| Match keys | Unhashed email, phone with its country code, or external id |
| Test mode | None: every event is live |
| Plan | Requires the Ads add-on |

## Before you start

In Klaviyo, open **Settings**, **API keys** and create a private API key with the **Events** (write) and **Accounts** (read) scopes. It starts with `pk_`.

## Connect

Send the key to `POST /v1/connect/klaviyo/credentials`. Zernio reads the key's account to check it before saving anything. See [Connect](/platforms/klaviyo/connect).

## Common errors

| Error | Cause | Fix |
|-------|-------|-----|
| `401` with `invalid_credentials` | Klaviyo refused the key | Create a key with the Events (write) and Accounts (read) scopes and connect again. |
| `403` | The Ads add-on is off | Turn on the Ads add-on, then connect. |
| `Klaviyo needs an unhashed email, …` | The event has no plain email, international phone or external id | Send one of them as typed. |

## In this section

<PlatformPages platform="klaviyo" />

## Related

- [Connect a Klaviyo account](/connect/connect-klaviyo-credentials)
- [Send events](/conversions/send-events)
- [Create a forwarding rule](/conversions/create-forwarding-rule)
- [Email, SMS and affiliate destinations](/products/conversions-api/email-sms-affiliates)