{ "opencollection": "1.0.0", "info": { "name": "API Reference accounts webhooks API", "version": "1.0.0" }, "items": [ { "info": { "name": "webhooks", "type": "folder" }, "items": [ { "info": { "name": "Retrieve Webhook Registration", "type": "http" }, "http": { "method": "GET", "url": "https://host.com/v2/webhooks/registrations/", "headers": [ { "name": "Authorization", "value": "" } ] }, "docs": "Register a new Webhook and Get all Registrations" }, { "info": { "name": "Register Webhook Listener", "type": "http" }, "http": { "method": "POST", "url": "https://host.com/v2/webhooks/registrations/", "headers": [ { "name": "Authorization", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Register a new Webhook" }, { "info": { "name": "Retrieve Webhook History", "type": "http" }, "http": { "method": "GET", "url": "https://host.com/v2/webhooks/:id/events/", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this webhook history." }, { "name": "start_date", "value": "", "type": "query", "description": "Filter events on or after this date (inclusive). Format YYYY-MM-DD." } ] }, "docs": "Webhook events handler" }, { "info": { "name": "Update Webhook History", "type": "http" }, "http": { "method": "PUT", "url": "https://host.com/v2/webhooks/:id/", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this webhook history." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Webhook events handler" }, { "info": { "name": "Delete Webhook Registration", "type": "http" }, "http": { "method": "DELETE", "url": "https://host.com/v2/webhooks/:id/", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "A unique integer value identifying this webhook history." } ] }, "docs": "Webhook events handler" } ] } ], "bundled": true }