Skip to content
Nov 27, 2026NewsletterRSS

Customer.io Now Has One Private Key for All Its APIs

Customer.io replaced site IDs, Track API keys and App API keys with a public key for browsers and apps and a private key for servers.

2 min read

Customer.ioNotifications

Isometric illustration of a mailbox with a small brass key hanging from its flag on a sunny yellow background

Customer.io now issues API credentials by where the code runs: a public key for browsers and mobile apps and a private key for servers, the company said in an Oct. 30 release note. The keys replace the mix of site IDs, Track API keys and App API keys that teams had to juggle.

One private key covers every Customer.io API

A private key works with all of Customer.io’s APIs, the release note says, so a server integration no longer needs separate credentials for separate purposes. Private keys start with sk_. Customer.io said to use one only in server-side code, because it can perform sensitive operations such as sending messages, deleting people and reading workspace data.

A public key can identify people but not read data

Public keys start with pk_ and are meant for code in a browser or mobile app. According to Customer.io, a public key can identify people, send events and handle in-app messages. It can’t send messages directly or read data, so the company said it is safe to include in an app.

Existing credentials keep working

Customer.io said its SDKs and server-side libraries are set up to use the new keys, but nobody has to change anything they run today. Existing credentials continue to work.

Key takeaways

  • Keys now follow where code runs: pk_ for browsers and apps, sk_ for servers.
  • One private key works with every Customer.io API.
  • A public key can’t send messages or read data.
  • Existing credentials keep working.

The take

We think the useful change is that a key’s prefix now says how dangerous it is. Customer.io says a public key is safe to ship inside an app and a private key belongs on a server. A pk_ or sk_ prefix lets a person, or a secret scanner, tell at a glance whether a leaked string is a problem.

The old credentials still work, so nothing forces a cleanup. We’d use the change as the reason to look anyway. List every place a server holds a Track or App key, swap in one private key, and confirm that no sk_ key appears in front-end code.