Klaviyo - Replacing your Private API key with the Public Key

A quick guide on replacing your API keys from the Private to Public key

🚧

Important Update: On May 30, 2024, we’re upgrading Klaviyo’s API, and this requires all Awtomic users currently using private API keys to switch to public API keys. Please make this change to avoid disruptions, as messages sent to Klaviyo will stop working without the update, potentially causing important messages to fail to reach your customers.

How do I know if I have a Private key?

The format of the API keys is unique, so it's easy to spot if you currently have a Private key enabled. Private keys begin with pk_ followed by several alphanumeric characters. Public keys are simply alphanumeric characters without the pk_ prefix.

  • Private key format: pk_xxxxxxxxx
  • Public key format: xXxXxX

How do I find my current key?

You can locate the key in Awtomic's integration settings for Klaviyo.

  • Navigate to the settings page within Awtomic
  • Scroll down to the "Integrations" section and select "Explore integrations"
  • Click on the "Settings" button within the Klaviyo integration card
  • On the subsequent page, you should see a key in the text input of the "Connection" section. If the key starts with pk_, you will need to replace it with your public key.

How do I update my keys?

You can simply replace the current key with a public key that can be found in Klaviyo's setting page.

  • Log into your Klaviyo account
  • On the bottom left of your screen, click on your account
  • Click "Settings" on the popup
  • On the subsequent "Settings" page, select "API keys" on the left menu
  • On the subsequent "API Keys" page, you should see a 6-digit alphanumeric value.
  • Copy that value
  • Finally, paste it into the Klaviyo integration setting within Awtomic (following the steps outlined in "How do I find my current key?" above) and select "Connect"

Note that if you already have a key entered, you must first select "Disconnect" and then refresh the page after the confirmation message. Once the page is refreshed, you should be able to re-enter a new API key.