Title: [Integration] SendGrid API key not valid
Last modified: August 19, 2019

---

# [Integration] SendGrid API key not valid

 *  Resolved [vankama](https://wordpress.org/support/users/vankama/)
 * (@vankama)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/integration-sendgrid-api-key-not-valid/)
 * Hi, Team!
 * I’m getting the following error when trying to integrate with SendGrid:
 * > We couldn’t connect to your SendGrid account. Please resolve the errors below
   > and try again.
 * > Please enter a valid SendGrid API key
 * I can confirm that this is not a permission issue. All the keys I tried were 
   generated with full permission.
 * [https://stackoverflow.com/questions/56945838/sendgrid-403-response-for-v3-contactdb-recipients-permissons-needed](https://stackoverflow.com/questions/56945838/sendgrid-403-response-for-v3-contactdb-recipients-permissons-needed)
   suggests that SendGrid updated it’s API and some endpoints have changed.
 * I have contacted SendGrid support to provide feedback on the subject, but they
   havent replied yet.
 * Currently even their [https://sendgrid.com/docs/api-reference/](https://sendgrid.com/docs/api-reference/)
   returns
 * > “message”: “access forbidden”
 *  for
 * > GET /contactdb/lists
 * .
 * When sending request to [https://api.sendgrid.com/v3/contactdb/lists](https://api.sendgrid.com/v3/contactdb/lists)
   and [https://api.sendgrid.com/v3/senders](https://api.sendgrid.com/v3/senders)
   I get the message mentioned above.
 * I contacted SendGrid support and here’s what they said:
 * > The issue is occurring because the endpoints you are utilizing are for our 
   > Legacy Marketing Campaigns product. You can find the updated endpoints for 
   > our New Marketing Campaigns API [here](https://sendgrid.api-docs.io/v3.0/contacts/import-contacts-status).
 * I guess this would require a plugin update. I understand this might be fresh 
   information, but do you have any estimate when we could expect a version with
   updated endpoints?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/integration-sendgrid-api-key-not-valid/#post-11857170)
 * Hi [@vankama](https://wordpress.org/support/users/vankama/),
 * I have passed this over to our devs to check further, but in the meantime, can
   you make sure that you have a list created in SendGrid because without this there
   will be connection issues.
 * Cheers,
    Predrag
 *  Thread Starter [vankama](https://wordpress.org/support/users/vankama/)
 * (@vankama)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/integration-sendgrid-api-key-not-valid/#post-11859411)
 * Hi, Predrag!
 * Thanks for passing this to the devs!
 * Regarding the list, I do have a one created. For a second I thought that it was
   not visible via the API for some reason.
 * But then I ran a quick xdebug debug session on your code combined with a few 
   Postman tests.
 * Turned out it’s just SendGrid. Sending API calls with Postman to the new endpoints
   returns the correct information.
 * I guess there is nothing much left to do for us, Predrag. Thanks again for letting
   the devs know about this. I guess we’ll just wait for an update to be released.
 * All the best,
    Ivan

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Integration] SendGrid API key not valid’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popup/assets/icon-256x256.gif?rev=3446944)
 * [Hustle - Email Marketing, Lead Generation, Optins, Popups](https://wordpress.org/plugins/wordpress-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popup/reviews/)

## Tags

 * [Hustle](https://wordpress.org/support/topic-tag/hustle/)
 * [integration](https://wordpress.org/support/topic-tag/integration/)

 * 2 replies
 * 2 participants
 * Last reply from: [vankama](https://wordpress.org/support/users/vankama/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/integration-sendgrid-api-key-not-valid/#post-11859411)
 * Status: resolved