Skip to main content
POST
Mailgun inbound email webhook

Query Parameters

key
string
required

Shared secret matching MAILGUN_ROUTE_KEY. Mailgun appends this from the route configuration.

Body

multipart/form-data

Mailgun's inbound multipart/form-data payload (sender, recipient, subject, body-plain, body-html, Message-Id, timestamp, message-headers, attachment-count, attachment-N, …). Refer to the Mailgun documentation rather than treating any single field as a stable contract.

The body is of type object.

Response

Email processed.

success
boolean
Example:

true

message
string
activity_id
integer<int64>