All integrations
Get an API key
Klaviyo
Profiles, lists, segments, flows and campaigns in Klaviyo.
Marketing
Ecommerce
How an agent reaches it
MCPREST APICLI
How you authenticate
API key
- Create a private API key in Settings, then API keys.
- Klaviyo expects `Authorization: Klaviyo-API-Key <value>`, which is not Bearer.
Connection details
- Base URL
- https://a.klaviyo.com/api
- Pagination
- cursor
Common endpoints
| list profiles | GET /profiles |
| list lists | GET /lists |
| list campaigns | GET /campaigns?filter=equals(messages.channel,'email') |
| create a profile | POST /profiles |
Worth knowing
- The `revision` header is MANDATORY. Without it every call 400s.
- The Authorization scheme word is Klaviyo-API-Key.
- JSON:API shape: attributes live under data.attributes.