{ "opencollection": "1.0.0", "info": { "name": "Oneflow Public Comments Webhooks API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "x-oneflow-api-token", "value": "{{x-oneflow-api-token}}", "placement": "header" } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "List webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://api.oneflow.com/v1/webhooks" }, "docs": "Lists the webhook subscriptions configured in the account (modeled)." }, { "info": { "name": "Create a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.oneflow.com/v1/webhooks", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a webhook subscription that delivers contract lifecycle events to a callback URL, optionally filtered by event type and workspace (modeled)." }, { "info": { "name": "Get a webhook", "type": "http" }, "http": { "method": "GET", "url": "https://api.oneflow.com/v1/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a single webhook subscription (modeled)." }, { "info": { "name": "Delete a webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.oneflow.com/v1/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ] }, "docs": "Deletes a webhook subscription (modeled)." } ] } ], "bundled": true }