{ "opencollection": "1.0.0", "info": { "name": "Mailgun Domains Webhooks API", "version": "3.0.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "List webhooks for a domain", "type": "http" }, "http": { "method": "GET", "url": "https://api.mailgun.net/v3/domains/:domain/webhooks", "params": [ { "name": "domain", "value": "", "type": "path" } ] }, "docs": "List webhooks for a domain" }, { "info": { "name": "Create a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.mailgun.net/v3/domains/:domain/webhooks", "params": [ { "name": "domain", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "id", "value": "" }, { "name": "url", "value": "" } ] } }, "docs": "Create a webhook" }, { "info": { "name": "Delete a webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.mailgun.net/v3/domains/:domain/webhooks/:type", "params": [ { "name": "domain", "value": "", "type": "path" }, { "name": "type", "value": "", "type": "path" } ] }, "docs": "Delete a webhook" } ] } ], "bundled": true }