csharp-sparkpost
csharp-sparkpost copied to clipboard
Sparkpost EU suppression generates 403 error
Hi,
I would like to use Sparkpost EU. I create my client as follow:
return new Client(API_KEY, "https://api.eu.sparkpost.com");
Sending out emails works fine, but It generates following error when I try to get my suppression list.
Response: 403 Forbidden. Content: {"errors": [ {"message": "Forbidden."} ]}
Can you guys help me with this?
Thx
Hi,
You have to sign in into your SparkPost account, go to Settigns > API Keys > Click on your API key and there edit permissions for the API Key (ie. allow it to work with Suppression lists).