If you're using SparkPost to send emails, use this documentation to set up bounce handling in FunnelKit Automations.
Here's how you can set up bounce handling in SparkPost:
Step 1: Log in to your SparkPost account
Log in to your SparkPost account by entering the login credentials.
![Sparkpost login](https://funnelkit.com/wp-content/uploads/2024/06/sparkpost-login.png)
Step 2: Create an API key
Go to the Configurations tab.
Under API Keys, click on Create API Key.
![Click on Configuration - API keys and hit the create api key button Bounce Handling with SparkPost](https://funnelkit.com/wp-content/uploads/2021/08/api-keys-sparkpost.png)
Enter the name of the API Key and set up permissions.
![API Key name and permissions](https://funnelkit.com/wp-content/uploads/2021/08/api-key-name-sparkpost.png)
Once done, click on Create API Key.
Step 3: Set up a webhook
Go to Webhooks and click on Create Webhook.
![Create webhook](https://funnelkit.com/wp-content/uploads/2021/08/create-webhooks-sparkpost.png)
Enter the name, target URL, events, and authentication.
![enter webhook name, url, events, authentication - Bounce Handling with SparkPost](https://funnelkit.com/wp-content/uploads/2021/08/create-webhook-name-url-sparkpost.png)
Step 4: Copy and paste the webhook URL
You can find the target URL for Sparkpost bounce handling by going to FunnelKit Automations ⇨ Settings ⇨ Email.
![Select sparkpost and copy the bounce handling webhook url from FunnelKit Automations email settings](https://funnelkit.com/wp-content/uploads/2024/06/select-sparkpost-email-service-copy-webhook-url.png)
Once done, click on Create Webhook.
Well done! This is how you can set up bounce handling in Sparkpost.