Use your Sparkpost Account to Send Customer.io

Customer.io supports using your own Sparkpost account to send email with zero loss in functionality. To do this there are two places you’ll need to change settings:

1. On Sparkpost

First, you need to point Sparkpost’s webhooks at Customer.io and get your SMTP information.

Point Sparkpost’s webhooks at Customer.io

Add the webhook URL for your Customer.io account region on the Sparkpost webhooks page for every domain you’ll be sending via Customer.io:

  • US: https://track.customer.io/sparkpost/events
  • EU: https://track-eu.customer.io/sparkpost/events

 Use the correct URL for your region

If your account is based in the European Union (EU), make sure you use endpoints beginning with track-eu. We redirect traffic from US endpoints to EU-based accounts, however the traffic still passes through US servers and data may be logged in the US.

Example webhook config
Example webhook config

 WARNING!

The Clicks and Opens webhooks should not be sent back to Customer.io as we’re already tracking this information on our side and each event will be recorded twice (via Customer.io and via Sparkpost).

If you want to track opens and clicks via Sparkpost only, you can change the sending behavior on an email by email basis.

Create a new SMTP delivery key

From the Sparkpost API keys page, you will need to create a new key for use in sending via Customer.io

Sparkpost create API key
Sparkpost create API key

Save or copy the generated key as you will need it for configuring your SMTP in Customer.io, and can only access it once!

Sparkpost API key created
Sparkpost API key created

2. In Customer.io

Configure custom SMTP settings

First, head to Workspace Settings -> Email -> Custom SMTP Settings and click the Add Custom SMTP Server button:

Custom SMTP settings
Custom SMTP settings

Then add in your Sparkpost SMTP credentials:

Sparkpost SMTP
Sparkpost SMTP
Field Value
Address smtp.sparkpostmail.com
Port 587
Authentication Login
User name [Your SMTP User Name]
Password [Your SMTP Password]

When you save your settings, we’ll start sending emails through your Sparkpost account.

Success!

Your account is now set up to send email through Sparkpost. If you have any questions or feedback about setting this up, just get in touch and we’ll be happy to help!