Guide · Updated December 2026

Klaviyo API documentation, explained

Klaviyo's developer docs are thorough, but they assume you already know where to look. This guide maps the parts marketers and developers use most.

Where to start

Two pages give you the lay of the land. The API overview explains authentication, revisions, rate limits and the JSON:API format every endpoint uses. The getting started section walks through creating keys and making a first request. Read both before you write any code.

The parts you will use most

AreaWhat it doesTypical use
ProfilesCreate, update and fetch customer recordsSyncing data from a CRM or booking system
EventsRecord actions people takeTriggering flows from offline or app activity
Lists and segmentsManage membership and subscriptionsAdding sign-ups from a custom form
CatalogsManage products and variantsFeeding product blocks for non-Shopify shops
Campaigns and flowsRead and manage messagingReporting and automation tooling

Keys, scopes and revisions

Use the public key (your six character site ID) only in browser code. Private keys go on your server and nowhere else. When you create a private key you can limit its scopes, so a reporting tool might only get read access. Every request also carries a revision header with a date. Pin it, and upgrade deliberatly when Klaviyo releases a newer revision, rather than letting things drift.

Rate limits

Each endpoint has burst and steady limits. If you hit them you get a 429 response with a retry header, so build in backoff from the start. For big imports, use the bulk endpoints rather than looping over single calls.

API or integration?

If a native integration exists, start there. It handles retries, mapping and updates for you. The API earn its keep when you need custom events, extra profile properties from another system, or two-way syncs that no app covers. For pushing data out of Klaviyo in real time, look at webhooks instead.

Questions people ask

Where is the Klaviyo API documentation?

On Klaviyo's developer portal at developers.klaviyo.com, which has an API overview, getting started guides and a full reference for every endpoint.

What is the difference between Klaviyo's public and private API keys?

The public key, or site ID, is used in client-side code such as onsite tracking. Private keys are for server-side calls and must be kept secret.

What are API revisions in Klaviyo?

Klaviyo versions its API by date. You send a revision header with each request so changes to the API do not break your integration without warning.

Do I need the API if I use Shopify?

Usually not for the basics. The native integration syncs orders, products and customers. The API is for custom data, other platforms or bespoke workflows.

Keep reading

Bring us the ambition. We’ll build the system behind it.