How to Manage Your Account's API Keys

Last updated at:


Find out how to access and and manage your API keys for your Klaviyo account. 

Difference Between Public and Private API Keys

Your public API key is also called your Site ID. This is a short alphanumeric value. This public key is a unique identifier for your Klaviyo account, and there is only one per account. It is safe to expose your public API key, as this key cannot be used to access data in your Klaviyo account.

Private API keys are used for reading data from Klaviyo and manipulating some sensitive objects such as lists. Treat private API keys like passwords kept in a safe place and never exposed to the public. A Klaviyo account can generate as many private API keys as needed. 

Find your API Keys

  1. Click the account dropdown in the upper right
  2. Select Account
  3. Click SettingsAPI Keys
  4. View both your public API key (i.e., Site ID) and your private API keys in this location


Generate a Private API Key

You can generate new private API keys for different application uses. This can help trace the source of data being added to your Klaviyo account via the API. For example, you may have an API key used to integrate with your ecommerce platform as well as an API key used to integrate with a shipping or help desk application.

  1. Navigate to Account > Settings
  2. Click API Keys
  3. Click Create API Key
  4. (Optional) Add a label for the new API key

Label Private API Keys

You may wish to label each private API key for clarity.

  1. Select the pencil icon next to the private API key name
  2. Type in a new label in the window that appears 
  3. Select Save API Key

Additional Resources

Was this article helpful?
436 out of 741 found this helpful