envs

Customer.io — messaging and CDP

customerio/api · version 1

envs add customerio/api

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
CUSTOMERIO_SITE_ID required secret Half of the basic auth pair the Track API takes. Despite the name this is not a public site identifier.. where to get it
CUSTOMERIO_API_KEY required secret The other half of that pair.. where to get it
CUSTOMERIO_APP_API_TOKEN optional secret For the App API, which is bearer rather than basic and carries its own scopes.. where to get it
CUSTOMERIO_WRITE_KEY optional secret The CDP key. Customer.io's browser and server SDKs take the same value, and it says nothing about publishing it, so it stays secret: putting it in a bundle exposes the credential the server uses too.. where to get it

The JSON the CLI reads