Send Email

There are three different technical concepts you should know about sending emails via SendGrid’s Email API:

Web API

If SMTP is not used, we also offer a simple Web API mail method to send email.

Web API V3

Our V3 Web API provides functionality for managing user unsubscribes, templating emails, managing IP addresses, and enforcing TLS.

Marketing Email API

The SendGrid Marketing Email API provides developers with the ability to manage marketing emails, lists, identities, and schedule delivery events

SMTPAPI

The SMTP API allows you to tag your emails to get detailed statistics on each tag, send multiple customized emails in one request via mail merge, and configure each app on a per email basis. This is done by passing a JSON string in the X-SMTPAPI header if using SMTP or in the x-smtpapi HTTP parameter if using the web API. Using the SMTP API

SMTP

This is a protocol rather than an API. SMTP is widely supported by applications and is usually the fastest way to integrate with SendGrid. Learn how to integrate using SMTP.

Customer Subuser API

This API allows SendGrid customers to manage their subusers and every aspect of their subuser’s accounts.

Receive Email

SendGrid can parse the email bodies and attachments from incoming emails and post them to your web application. For details on how to integrate your application to start receiving emails please refer to our Parse Webhook. Application examples include:

  • Posting blog articles via email
  • Processing email replies in a mailing list
  • Allowing users to upload pictures to their profile via email
  • Submit support requests via email

Real-time Event Notification Webhook

SendGrid can send real-time notifications about events that happen on the SendGrid system to a URL. These events include clicks, opens, unsubscribe, bounces, and many others. These events include more data than what SendGrid records and allow customers to customize their own reporting. What makes this API even more powerful is the ability to include user-defined parameters in each event. Through our SMTP API, customers can embed unique parameters in each email they send. These parameters are then passed to each event notification so your application can associate these events with your customers. Read more about the Event Webhook. Examples of applications include:

  • Associate a spam report with a specific campaign and user in your application
  • Know real-time when a user has clicked on a confirmation email
  • Get the specific link clicked on an email
  • Get the browser version used by a customer
  • Know the specific MTA response for a customer

Configure Your SendGrid Account

The Web API allows customers to create sub-accounts and control the settings of these accounts for an OEM setup. See the list of Web API calls

You can configure your account settings such as updating your profile information and setting user credentials. You can also setup SendGrid Apps, configure Apps, and configure Parse Webhook settings.

Retrieve Information

SendGrid has a Web API that allows customers to retrieve information about their account such as statistics, bounces, spam reports, unsubscribes, and other information.

You can fetch information via our api endpoints for Blocks, Bounces, Invalid Emails, Spam Reports, Unsubscribes, and Statistics

.

Reseller APIs

* Reseller API - Allows SendGrid Reseller Cutomers to manage every aspect of their customer’s SendGrid accounts. * Reseller Haiku API - Allows SendGrid Reseller Customers to manage servers and accounts through SendGrid.