Customer.io Connection Guide

Overview

Maton connects to Customer.io with an App API key and calls the Customer.io App API: people, segments, automations, broadcasts, one-time sends, transactional messages, Design Studio content, collections, exports and delivery metrics.

Only the App API is supported. The Track API and Data Pipelines, which use their own keys, are not.

What You'll Need

  • A Customer.io account on a paid plan (Essentials starts at $100/month) or the 14-day trial.
  • Access to Account Settings → API Credentials for the workspace you want to connect.

Step 1: Create an App API Key

  1. Log in to Customer.io and open Account Settings → API Credentials.
  2. Create a private key. It starts with sk_us_ in a US workspace and sk_eu_ in an EU workspace. An existing App API key also works, but legacy App API keys only work for US workspaces.
  3. Copy the key.

Step 2: Connect Customer.io

  1. Go to the Connections page, click "Add Connection", find Customer.io and click "+ Connect". With the Maton CLI, run maton connection create customer-io instead; it opens the same form.
  2. Paste the key under API Key and click "Connect". Maton picks the US or EU region from the key: sk_eu_ keys go to the EU region, all others to the US region.
  3. The Customer.io connect form
  4. Maton checks the key with Customer.io. When it's accepted you'll see "Success", and the connection appears as active on the Connections page with the workspace it can reach.

Troubleshooting

  • The form says Customer.io did not validate your credentials: check that you copied the whole key and that it's an App API key or private key from API Credentials, not a Track API key or a Pipelines key.
  • A legacy App API key is refused for an EU workspace: legacy keys only work in the US region. Create a private sk_eu_ key and reconnect.
  • Calls return "Unauthorized": the key was deleted or revoked. Create a new key and reconnect.

Keeping Your Customer.io Data Safe

The key can read your people and message data and send broadcasts and transactional messages. Deleting the connection in Maton removes the stored key; delete the key in Customer.io to revoke it everywhere.