{ "opencollection": "1.0.0", "info": { "name": "CometChat REST Management Auth Tokens Webhooks API", "version": "3.0" }, "request": { "auth": { "type": "apikey", "key": "apikey", "value": "{{apikey}}", "placement": "header" } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "List webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://{appId}.api-{region}.cometchat.io/v3/webhooks" }, "docs": "List webhooks" }, { "info": { "name": "Create a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://{appId}.api-{region}.cometchat.io/v3/webhooks", "body": { "type": "json", "data": "{}" } }, "docs": "Create a webhook" }, { "info": { "name": "Get a webhook", "type": "http" }, "http": { "method": "GET", "url": "https://{appId}.api-{region}.cometchat.io/v3/webhooks/:webhookId", "params": [ { "name": "webhookId", "value": "", "type": "path" } ] }, "docs": "Get a webhook" }, { "info": { "name": "Update a webhook", "type": "http" }, "http": { "method": "PUT", "url": "https://{appId}.api-{region}.cometchat.io/v3/webhooks/:webhookId", "params": [ { "name": "webhookId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a webhook" }, { "info": { "name": "Delete a webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://{appId}.api-{region}.cometchat.io/v3/webhooks/:webhookId", "params": [ { "name": "webhookId", "value": "", "type": "path" } ] }, "docs": "Delete a webhook" }, { "info": { "name": "List triggers for a webhook", "type": "http" }, "http": { "method": "GET", "url": "https://{appId}.api-{region}.cometchat.io/v3/webhooks/:webhookId/triggers", "params": [ { "name": "webhookId", "value": "", "type": "path" } ] }, "docs": "List triggers for a webhook" }, { "info": { "name": "Add triggers to a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://{appId}.api-{region}.cometchat.io/v3/webhooks/:webhookId/triggers", "params": [ { "name": "webhookId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add triggers to a webhook" }, { "info": { "name": "Remove triggers from a webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://{appId}.api-{region}.cometchat.io/v3/webhooks/:webhookId/triggers", "params": [ { "name": "webhookId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Remove triggers from a webhook" } ] } ], "bundled": true }