API Key
-
SparkPost Settings asks for providing an API key.
In my SparkPost account, I am able to create an API key, but can’t see it (except the first 4 digits).
How do I enter the API key????
I have tried entering only the first 4 digits but in that case, I am getting
Preparing request data Request headers: Array( [User-Agent] => wordpress-sparkpost/3.0.1 [Content-Type] => application/json [Authorization] => 8096************************************) Request body: {"recipients":[{"address":{"email":"[email protected]","header_to":"[email protected]"}}],"options":{"open_tracking":true,"click_tracking":true,"transactional":true},"content":{"from":{"email":"[email protected]","name":"WordPress"},"subject":"SparkPost email test","headers":{"Date":"Fri, 5 May 2017 16:15:42 +0000","Message-ID":"<[email protected]>","X-Mailer":"PHPMailer 5.2.22 (https:\/\/github.com\/PHPMailer\/PHPMailer)"},"html":"<h3>Hurray!!<\/h3><p>You've got mail! <br\/><br> Regards,<br\/><a href=\"https:\/\/www.sparkpost.com\">SparkPost<\/a> WordPress plugin<\/p>"}} Making HTTP POST request to https://api.sparkpost.com/api/v1/transmissions Response received Response headers: Requests_Utility_CaseInsensitiveDictionary Object( [data:protected] => Array ( [date] => Fri, 05 May 2017 16:15:42 GMT [content-type] => application/json [server] => msys-http [cache-control] => no-cache, no-store )) Response body: {"errors": [ {"message": "Unauthorized."} ]} Error in transmission
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘API Key’ is closed to new replies.