{ "opencollection": "1.0.0", "info": { "name": "Gremlin agents webhooks API", "version": "1.0" }, "items": [ { "info": { "name": "webhooks", "type": "folder" }, "items": [ { "info": { "name": "getWebhooks", "type": "http" }, "http": { "method": "GET", "url": "https://api.gremlin.com/v1/webhooks", "params": [ { "name": "state", "value": "", "type": "query", "description": "Filter webhooks by state" }, { "name": "teamId", "value": "", "type": "query", "description": "Required when using company session token." } ] }, "docs": "Requires the privilege [`WEBHOOKS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Create a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.gremlin.com/v1/webhooks", "params": [ { "name": "teamId", "value": "", "type": "query", "description": "Required when using company session token." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Requires the privilege [`WEBHOOKS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Retrieve webhook by id", "type": "http" }, "http": { "method": "GET", "url": "https://api.gremlin.com/v1/webhooks/:guid", "params": [ { "name": "guid", "value": "", "type": "path", "description": "This value represents the globally unique identifier of the record to fetch." }, { "name": "teamId", "value": "", "type": "query", "description": "Required when using company session token." } ] }, "docs": "Requires the privilege [`WEBHOOKS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Update a webhook by id", "type": "http" }, "http": { "method": "PUT", "url": "https://api.gremlin.com/v1/webhooks/:guid", "params": [ { "name": "guid", "value": "", "type": "path", "description": "This value represents the globally unique identifier of the record to fetch." }, { "name": "teamId", "value": "", "type": "query", "description": "Required when using company session token." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Requires the privilege [`WEBHOOKS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Delete a Webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.gremlin.com/v1/webhooks/:guid", "params": [ { "name": "guid", "value": "", "type": "path", "description": "This value represents the globally unique identifier of the record to fetch." }, { "name": "teamId", "value": "", "type": "query", "description": "Required when using company session token." } ] }, "docs": "Requires the privilege [`WEBHOOKS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" } ] } ], "bundled": true }