Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.
VariableRequiredDescription
KLAVIYO_API_KEYYesKlaviyo private API key (starts with pk_) Docs.

Setup

  1. Sign in to Klaviyo: Go to https://www.klaviyo.com and sign in. A free account is sufficient for testing.
  2. Create a private API key: Open Settings → Account → API Keys (https://www.klaviyo.com/settings/account/api-keys) and create a private key. Grant it read/write access to Profiles, Lists, Segments, Metrics, and Events.
  3. Set the environment variable: Add the key to your .env as KLAVIYO_API_KEY=pk_…
  4. Verify access: Run the List Lists tool to confirm the key works.
  • Klaviyo authenticates with ‘Authorization: Klaviyo-API-Key <key>’ - not a Bearer token
  • Every request requires a ‘revision’ header; tools default it to 2026-04-15
Provider API reference: https://developers.klaviyo.com/en/reference/api_overview

Tools

ToolAccessDescription
List ProfilesReadList customer profiles
Get ProfileReadGet a customer profile by ID
Create ProfileWriteCreate a new customer profile
List ListsReadList marketing lists
List SegmentsReadList audience segments
List MetricsReadList tracked event metrics (e.g. Placed Order, Opened Email)
Create EventWriteTrack a custom event for a profile

Example prompts

  • Look up a Klaviyo profile by email address and show their details.