Receive Mailgun
POST /v2/webhooks/inbound/mailgun/{receiver_id}
Operation
| Operation ID | receiveMailgun |
| Tags | InboundReceivers |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| receiver_id * | path | id |
Request body
Required
object
| Field | Type | Description |
|---|---|---|
| kind * | enum (1) | mailgun |
| event * | enum (8) | deliveredopenedclickedfailedunsubscribedcomplainedacceptedrejected |
| recipient * | string | |
| timestamp * | integer | |
| mailgun_event_id * | string | |
| message_id * | string | |
| do_message_id | string | |
| do_contact_id | string | |
| do_journey_id | string | |
| severity | enum (2) | permanenttemporary |
| reason | string | |
| delivery_status | object | |
| url | string | |
| client_info | object |
Responses
200
Accepted
401
Example request
POST https://api.digitalonboarding.com/v2/webhooks/inbound/mailgun/{receiver_id}
Authorization: Bearer <partner-token>
Content-Type: application/json
Idempotency-Key: <uuid-v4>
{ /* request body matching schema above */ }