{ "opencollection": "1.0.0", "info": { "name": "sizzle-server general webhook API", "version": "1.0.0" }, "items": [ { "info": { "name": "webhook", "type": "folder" }, "items": [ { "info": { "name": "Get Webhooks", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/webhooks", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "get all webhooks" }, { "info": { "name": "Create Webhook", "type": "http" }, "http": { "method": "POST", "url": "/api/v1/webhooks", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create webhook" }, { "info": { "name": "Get Webhook", "type": "http" }, "http": { "method": "GET", "url": "/api/v1/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "get one webhook" }, { "info": { "name": "Update Webhook", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "update webhook" }, { "info": { "name": "Delete Webhook", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v1/webhooks/:webhook_id", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "delete webhook" }, { "info": { "name": "Regenerate Webhook Secret", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/webhooks/:webhook_id/secret", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "regenerate webhook secret" }, { "info": { "name": "Toggle Pause State", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/webhooks/:webhook_id/pause", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "pause or unpause webhook" }, { "info": { "name": "Toggle Active State", "type": "http" }, "http": { "method": "PUT", "url": "/api/v1/webhooks/:webhook_id/toggle-status", "params": [ { "name": "webhook_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "toggle webhook status between active and inactive states" } ] } ], "bundled": true }