Skip to main content

Setup

You will need a SparkPost account. In SparkPost, create an API key with “Transmissions: Read/Write” permissions. In Courier, navigate to the SparkPost Integration page, enter your API key and From Address, then click “Save.”

Profile Requirements

To deliver a message to a recipient over SparkPost, Courier must be provided the recipient’s email address. This value should be included in the recipient profile as email.

Overrides

You can use a provider override to replace what we send to SparkPost’s Transmissions API. For example, you can add an attachment to your request:
Everything inside of message.providers.sparkpost.override will replace what we send to SparkPost’s Transmissions API. You can see all the available options by visiting SparkPost API docs.