Skip to main content
modiva.ai
Sign In
Klaviyo logo

Connect the Klaviyo API

Integrate the Klaviyo API through Modiva’s unified REST API and hosted MCP server. Read & write profiles and lists, and read segments, campaigns, metrics, events and flows in Klaviyo. OAuth, token refresh, rate limits and 15 typed tools are handled for you — connect once and call Klaviyo from any agent or app through a single endpoint.

Connect Klaviyo — get MCP keyRead the docs

What you can do with the Klaviyo API

  • Audiences & profiles
  • Campaigns
  • Reports & metrics
  • Token refresh
  • Webhooks (Poll via the campaign/report tools)

Klaviyo MCP tools & scopes

accounts_
get · identity
profiles_
list · get · create · update
lists_
list · profiles · add · segments
campaigns_
list · get
metrics_
list · events
flows_
list · get

OAuth scopes requested

  • Read your account identity
  • Read & write audience profiles and lists
  • Read & manage campaigns
  • Read performance metrics and reports

Connect Klaviyo in your agent

# Add Modiva's MCP server to your agent
{
  "mcpServers": {
    "modiva": {
      "url": "https://mcp.modiva.ai",
      "headers": { "Authorization": "Bearer $MODIVA_MCP_KEY" }
    }
  }
}

# Then connect Klaviyo and call its tools, e.g.
accounts_list(provider="klaviyo")

Frequently asked questions

How do I connect the Klaviyo API with Modiva?

Create a Modiva account, generate an MCP key, and connect Klaviyo from your dashboard. Modiva runs the full OAuth flow and stores the encrypted token for you — no client secrets in your code.

What can I do with the Klaviyo API through Modiva?

Read & write profiles and lists, and read segments, campaigns, metrics, events and flows in Klaviyo. You get 15 typed tools grouped by resource (accounts_, profiles_, lists_, campaigns_, metrics_, flows_), callable over REST or the MCP server.

Do I need to handle OAuth or token refresh myself?

No. Modiva handles the Klaviyo OAuth handshake, token storage (envelope-encrypted) and automatic refresh. You call a single unified endpoint.

Can an AI agent use the Klaviyo API?

Yes — that is the point. Modiva exposes Klaviyo as Model Context Protocol (MCP) tools, so agents like Claude, Cursor or your own app can read and act on Klaviyo through one endpoint.

Klaviyo playbooks & guides

Free, step-by-step playbooks on growing with Klaviyo — what works, plus how to run it with Modiva.

How to Automate Klaviyo Ecommerce Email & SMS Flows With AI Agents

Related integrations

Connect MailchimpConnect G2