SendGrid · AsyncAPI Specification
SendGrid Inbound Parse Webhook
Version 3.0.0
The SendGrid Inbound Parse Webhook processes all incoming email for a domain or subdomain, parses the contents and attachments, and then POSTs multipart/form-data to a URL that you specify. You can use this webhook to receive and process incoming emails programmatically, enabling use cases such as support ticket creation, automated replies, and email-to-application workflows.
View Spec
View on GitHub
EmailEmail APIMarketing EmailSMTPT1Transactional EmailAsyncAPIWebhooksEvents
Channels
/webhook/inbound-parse
Receive parsed inbound email data
SendGrid posts parsed inbound email data to your configured webhook URL as multipart/form-data. The parsed payload includes email headers, body content (text and HTML), attachments, envelope information, and optionally spam scoring data. The total message size including attachments must not exceed 30 MB. Your endpoint must respond with a 2xx HTTP status code to acknowledge receipt and prevent retries.
Messages
ParsedEmail
Parsed Inbound Email
A fully parsed inbound email with separate fields for headers, body content, and attachments delivered as multipart/form-data.
RawEmail
Raw Inbound Email
An inbound email delivered as a raw MIME message when the Send Raw option is enabled in your Inbound Parse settings.
Servers
https
customerEndpoint
{parseWebhookUrl}
The customer-configured HTTPS endpoint that receives inbound parsed email data from SendGrid. You configure this URL in the SendGrid Inbound Parse settings for your receiving domain.