> ## Documentation Index
> Fetch the complete documentation index at: https://www.notifuse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SparkPost

> Configure SparkPost as your email provider in Notifuse.

SparkPost integration allows you to use SparkPost for sending emails through Notifuse.

> [!WARNING]
>
> The SparkPost integration is deprecated and will be removed in a later version: SparkPost no longer accepts new customers. The console marks it **Deprecated**.

## Configuration

Navigate to **Settings** → **Integrations**, click **Add integration**, then choose **SparkPost** under **Email sending**. The form opens full page.

![SparkPost Integration Form](https://www.notifuse.com/docs/assets/screenshots/sparkpost_form.png)

![SparkPost Settings](https://www.notifuse.com/docs/assets/screenshots/sparkpost_settings.png)

### Form Fields

| Field                 | Description                             | Example                                    |
| --------------------- | --------------------------------------- | ------------------------------------------ |
| **API Endpoint**      | SparkPost API endpoint dropdown select  | `https://api.eu.sparkpost.com`             |
| **SparkPost API Key** | SparkPost API key with send permissions | `0123456789abcdef0123456789abcdef01234567` |
| **Sandbox Mode**      | Enable sandbox mode toggle              | `Disabled` (for production)                |

### Senders List

Add sender addresses that have been verified in your SparkPost account:

| Field     | Description                 | Example                  |
| --------- | --------------------------- | ------------------------ |
| **Name**  | Display name for the sender | `Support Team`           |
| **Email** | Sender email address        | `support@yourdomain.com` |

**Important**: Senders must be verified in SparkPost console before they can be used.

### Usage Types

Configure how this SparkPost integration will be used:

| Option                    | Description                                           | Examples                                                    |
| ------------------------- | ----------------------------------------------------- | ----------------------------------------------------------- |
| **Use for Transactional** | System-generated emails triggered by user actions     | Password resets, order confirmations, account notifications |
| **Use for Marketing**     | Promotional and newsletter emails sent to subscribers | Product announcements, newsletters, promotional campaigns   |

You can enable both options to use the same SparkPost configuration for all email types.

### Webhooks

Notifuse automatically registers the following SparkPost webhooks:

| Webhook Type   | Description                     | Purpose                     |
| -------------- | ------------------------------- | --------------------------- |
| **Delivery**   | Email successfully delivered    | Track successful deliveries |
| **Bounce**     | Email bounced                   | Monitor bounces             |
| **Complaints** | Recipient filed abuse complaint | Handle abuse reports        |

These webhooks provide real-time feedback on email performance and delivery status.

## Prerequisites

Before configuring SparkPost:

1. **SparkPost Account**: Active SparkPost account
2. **Verified Senders**: Email addresses or domains verified in SparkPost console
3. **API Key**: SparkPost API key with send permissions

## Testing

Click **Test Integration** to verify your configuration.
