Skip to content

Growth Dept Email is open to brands by invitation. Ask for an account

GROWTH DEPT.

API keys

Create a private key for server code and find your account's public key for the browser.

About 1 minute to read

Two kinds of key

Private key
For server code. Starts with pk_ and carries the scopes chosen when it was created. Keep it secret.
Public key
Your account's six-character id for browser calls and the on-site script. Safe to put in a web page.

Create a private key

  1. Go to Settings then API keys and create a private key.
  2. Name it after what will use it, and choose read or write access for each kind of data it needs. Give it no more than that.
  3. Copy the key when it is shown and store it somewhere safe.
Note. Only admins and owners can create keys. If a key may have leaked, revoke it on the same page and create a new one.

Use it

Send the key in the Authorization header as Klaviyo-API-Key pk_..., with a revision header. The API follows Klaviyo's API, so existing code works after you change the base URL to https://email.growthdept.ai. The developer docs walk through a first call.

Related articles

  • Connect Shopify

    Install the Growth Dept Email app, or use the Shopify connection Growth Dept already runs for you, and check the first sync.

  • Invite your team

    Add people to your account and give each one the role that fits.

Something wrong or missing? Email hello@growthdept.ai.