Klaviyo API: what you can do and how to use it with AI agents
The Klaviyo API lets you manage profiles, lists and segments, record behavior events and query campaigns, flows and metrics. E-commerce brands that run email and SMS in Klaviyo use it. Access is through a private API key with scopes, or OAuth for apps.
What the Klaviyo API offers
Profiles
Records, custom attributes and email and SMS consent.
Lists and segments
Subscribing and querying audiences.
Events
Recording actions such as product viewed, cart and purchase.
Campaigns
Creating and querying email and SMS campaigns.
Flows
Automations and their states.
Metrics and reports
Aggregated results by campaign and flow.
Catalog
Products used in recommendations.
How to access the Klaviyo API
- With your company’s credentialsA private API key created in the Klaviyo account, with read and write scopes per resource, or OAuth 2.0 for applications.
- Respect email and SMS consent under GDPR, CAN-SPAM or your local law.
- There are request limits per endpoint.
- The API uses dated revisions, so keep the configured revision up to date.
Official documentation: developers.klaviyo.com
What an iTeam agent does with the Klaviyo API
Conversation becomes an event
When a customer asks about a product on WhatsApp, the agent records the interest as an event in Klaviyo to feed the right flow.
Consent updated
When someone asks in support to stop receiving messages, the agent updates their consent.
Campaign summary
Every week, the agent compares revenue and clicks across campaigns and highlights what worked.
VIP gets attention
Customers in the highest-value segment who complain get priority service from the agent.
From the credential to the agent at work, with approval
Create the private key with scopes
Choose only the resources needed, such as profiles and events.
Store it in the iTeam vault
The key stays in the vault. Agents record events and update profiles without triggering campaigns.
Test with approval
Adding people to lists and any send go through approval at the start.
Ready-made AI teams that use Klaviyo
Questions about the Klaviyo API
Is the Klaviyo API free?
In general, the API is available on all accounts, and the cost of Klaviyo follows the number of profiles and sends.
Do I need to code to use the Klaviyo API with iTeam?
Not necessarily. Klaviyo is in the iTeam app catalog, and the deployment team sets up the workflows.
Can I trigger flows with my own events?
Yes. Events sent through the API can trigger flows configured in Klaviyo.