Setting up Klaviyo
Overview
You can read and write data to your Klaviyo account with your private API key. This API key should neither be exposed in client-side code nor made accessible from public repositories.
This document will guide you to create a private API key with a scope in Klaviyo. You can restrict third party access to protect your and your customers’ data by creating a scope.
Prerequisite
You should have access to an active Klaviyo account. To manage the API keys, you must have an Owner, Admin, or Manager role on the account.
To create an API key
Follow the below steps to create a Private API key:
- Log in to your Klaviyo account.
- Click Account > Settings.
- Select API Keys tab.
- Click Create Private API Key.
- Name the API key.
- Choose the Scope you want to give the API key.
Scope | Description |
---|---|
Read-only Key | Limits third party access to read-only for every API scope. |
Full Access Key | Allows third parties to create, delete, or make changes for every API scope. |
Custom Key | Allows you to decide how much access for each API scope to give the third party. |
- Click Create.
❕ Note: You can select the scope to control the access of information for the third party while sharing the private API key.