How do I get a SendGrid API key?
Go to Settings, then API Keys, then Create API Key. Name it, choose Full Access, Custom Access or Billing Access, and click Create & View. Copy it then, because SendGrid won't show it again. Store it as an environment variable and send it in the Authorization header as a Bearer token.
How do I send an email using the SendGrid API?
POST to api.sendgrid.com/v3/mail/send with your key in the Authorization header and a JSON body with personalizations (recipients), from, subject and content, or a dynamic template ID with its data. A 202 means it was accepted. The official libraries wrap the same call.
Can I use SendGrid as an SMTP relay instead of the API?
Yes. Point your app at smtp.sendgrid.net, port 587 for TLS (465 for SSL), with the username apikey and an API key as the password. It's the quickest way to move an app that already sends over SMTP without rewriting it.
Where do I log into SendGrid?
At app.sendgrid.com, with your account login or your company's single sign-on. Because SendGrid is part of Twilio, some accounts are reached through a Twilio login instead.
How much does SendGrid cost?
Email API plans are priced by monthly volume. New accounts now start on a 60-day trial with a small daily sending limit rather than a permanent free plan, then move to a paid plan. Check SendGrid's pricing page for current tiers.
Does SendGrid validate email addresses before sending?
Not as part of a normal send. Email Address Validation is a separate API, with its own key permission, that scores an address before you use it. Putting it on a signup form keeps typos and fake addresses from becoming bounces.
Does SendGrid integrate with Salesforce?
SendGrid's focus is sending. Starting sends from Salesforce events and logging delivery and bounces back onto the contact is usually built against both APIs, or done through an AppExchange package, so check what a package records before relying on it. n-frames builds that link both ways.