SendGrid API Help - Permission Denied, Wrong Credentials

Having trouble getting the SendGrid API to work. I keep getting the following error:

I have the API Key in the plugin settings and the template ID in the workflow.

I have not used SendGrid before but generally most API’s need the the API key to be set in the header…and not as a parameter.
Did you try doing that?

Yes, I have it set in Authorization (shared headers) in the plugin settings. I’m assuming the error message has something to do with the API key though…

Hey @mcmears,

Make sure your API key has permission to send mail in API Settings. Once you have the right key (will only be displayed once), your header should be the term ‘Bearer’ followed by a space followed your key. :slight_smile:

Thanks, all set now. Was missing “Bearer”.