Skip to main content

Prerequisites

Setup

1

Create a SparkPost API key

In SparkPost, open API keys and create a key with Transmissions permission.
2

Configure in Courier

Open the in Courier, enter your API key and From Address, then save.
Addressing a recipient and sending are the same on every email provider, so they are documented once: and .

Overrides

covers the two levels and which one wins. lists the fields every email provider takes. A provider override changes what Courier sends to SparkPost’s Transmissions API. For example, add an attachment:
Overrides are deep-merged into the request: fields you set replace their counterparts, and everything you leave out is still sent. SparkPost’s full field list is in the SparkPost API docs.

Provider details

Courier recommends routing to the channel. Naming this key in routing.channels instead is supported, and sends through just this provider.

Send to a specific provider

When that is worth doing, and what you give up: failover, channel priority, and providers you add later.