Skip to content

Get account-level webhook by ID

Request

Retrieve a specific account-level webhook by its webhook ID. Returns webhook details including associated event types.

Security
basicAuth
Path
webhook_idstringrequired

The webhook ID to retrieve

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v1/webhooks/{webhook_id}'

Responses

A 200 response

Bodyapplication/json
webhook_idstringrequired

Unique identifier for the webhook

descriptionstringrequired

User-provided description of the webhook

urlstringrequired

The endpoint URL where webhook events are delivered

event_typesArray of stringsrequired

List of event types that trigger this webhook

created_atstring, (date-time)required

Timestamp indicating when the webhook was created in RFC3339 format

Response
{ "webhook_id": "507f1f77bcf86cd799439011", "description": "Production alerts webhook", "url": "https://api.example.com/webhooks/mailgun", "event_types": [ "delivered", "permanent_fail", "complained" ], "created_at": "2026-02-16T19:06:01Z" }