{ "opencollection": "1.0.0", "info": { "name": "Smokeball Activity Codes Webhooks API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Get event types", "type": "http" }, "http": { "method": "GET", "url": "https://api.smokeball.com/webhooks/types" }, "docs": "Returns the available webhook event types." }, { "info": { "name": "Get webhook subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://api.smokeball.com/webhooks", "params": [ { "name": "Offset", "value": "", "type": "query" }, { "name": "Limit", "value": "", "type": "query" } ] }, "docs": "Returns existing webhook subscriptions." }, { "info": { "name": "Create new webhook subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.smokeball.com/webhooks", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new webhook subscription with the specified subscription details." }, { "info": { "name": "Get a webhook subscription", "type": "http" }, "http": { "method": "GET", "url": "https://api.smokeball.com/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Returns the webhook subscription." }, { "info": { "name": "Update a webhook subscription", "type": "http" }, "http": { "method": "PUT", "url": "https://api.smokeball.com/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a webhook subscription with the specified subscription details." }, { "info": { "name": "Deletes a webhook subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.smokeball.com/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Deletes and unsubscribes from the specified webhook subscription." }, { "info": { "name": "Notify a webhook subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.smokeball.com/webhooks/:id/notify", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Notifies a webhook subscription with a 'noop' event type.\r\n \r\nUsed for testing purposes." } ] } ], "bundled": true }