Generating a Private API Key
Generate a Private API Key from your Klaviyo account to authenticate server-side API requests.
Navigate to API Keys
Sign in to your Klaviyo account, click your account name in the lower left corner, select Settings.
Under the Accounts tab, click API Keys.
Create the key
Click Create Private API Key, enter a name (e.g., StackOne), then choose Custom Key to select specific scopes for the key.
Select API scopes
Select the required scopes for your use case.
Copy and save the key
Click Create, then copy the generated key immediately and store it securely for use later.
- The key is shown only once — if lost, you must create a new one.
- Format:
pk_cb18d136f356aa8d88d3475fg4fdf1ca9g
Finding Your Public API Key (Site ID)
Only required for client-side operations such as back-in-stock subscriptions and push tokens.
Copy the Site ID
On the same API Keys page, find the Public API Key section at the top. Copy the Public API Key value and store it securely for use later.
Getting a SCIM Key (users and roles, optional)
Listing your Klaviyo team members and their roles needs a SCIM Key. Every other action works without it. The Private API Key cannot read users.
Check the requirements
Klaviyo offers SCIM Provisioning only after single sign-on is set up.
- A paid Klaviyo plan
- The Owner or Admin role in Klaviyo
- SSO already turned on in Klaviyo with a SAML 2.0 identity provider, such as Okta, Microsoft Entra ID or OneLogin. See How to set up single sign-on.
Turn on SCIM Provisioning
Click your organization name in the lower left corner, then Settings > Security. Check SCIM Provisioning.
Copy the key
Copy the access key Klaviyo shows and paste it into the SCIM Key field. The Klaviyo-API-Key prefix is optional.
- Klaviyo shows the key only once.
- The key can also create and deactivate Klaviyo users. StackOne only reads with it.
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions
Next Steps
Webhooks setup
Configure receiving Events for Klaviyo into StackOne.