sendgrid / docs

Repository of Twilio SendGrid's product documentation.
https://sendgrid.com/docs
MIT License
235 stars 967 forks source link

Update upgrade-your-authentication-method-to-api-keys.md #6439

Closed sydt-SG closed 3 years ago

sydt-SG commented 3 years ago

Current docs point here: https://www.twilio.com/docs/sendgrid/api/v2/using_the_web_api#authentication

Checklist

Required

PR Details

Description of the change: Correcting the v2 API Auth docs link, updated to: https://www.twilio.com/docs/sendgrid/api/v2/mail#sending-email

Reason for the change: Current link is leading to incorrect/outdated info, which is then leading to increased support tickets where we have to link them to the correct bit of information :( v2 users should be using Bearer Auth in order to successfully upgrade to using API keys and the "api_user=apikey" bit should not be included:

When using an API Key, pass it in an Authorization header and omit the api_user and api_key parameters from your request. You can pass the API Key as a Bearer Token: "Authorization: Bearer "

Link to original source: https://sendgrid.com/docs/for-developers/sending-email/upgrade-your-authentication-method-to-api-keys/

Closes #