Welcome
Welcome to the official Klaviyo Developers workspace. Our collections will help you get started with
Klaviyo’s APIs.
Before you begin
We release a new Qodex collection for each API revision, but do not update older collections. The older the collection you use, the more likely you’ll get errors. It is important to regularly update your Klaviyo API usage and Qodex collections accordingly.
To get started, we suggest using a
Klaviyo test account for experimentation purposes.
Get started
- From your account’s API keys tab, generate a private API key with full access or a subset of our available scopes.
- Fork our latest Qodex collection.
- Set up your authorization in one of two ways:
- In the forked collection’s Authorization tab, add a new variable for
privateKey
and paste your private API key from Klaviyo. By default, individual requests will [inherit authorization] from the parent collection.
- In a nested request’s Authorization tab, use our Easy Auth feature to set up a request-specific authorization.
If you set up authorization from the collection level, you can still use our Easy Auth feature at the request level to override inheritance and set up a new authorization.
For your account’s security, it’s best practice to never use a private API key with our client endpoints.
Additional resources