{ "opencollection": "1.0.0", "info": { "name": "Thoughtly agent webhooks API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-token", "value": "{{x-api-token}}", "placement": "header" } }, "items": [ { "info": { "name": "webhooks", "type": "folder" }, "items": [ { "info": { "name": "Get Currently Active Webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://api.thoughtly.com/webhooks" }, "docs": "Retrieve all active webhook subscriptions for the authenticated workspace." }, { "info": { "name": "Subscribe To Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.thoughtly.com/webhooks/subscribe", "body": { "type": "json", "data": "{}" } }, "docs": "Subscribe to a webhook event (e.g. NEW_RESPONSE, PHONE_TRANSFER)." }, { "info": { "name": "Unsubscribe From Webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.thoughtly.com/webhooks/unsubscribe", "body": { "type": "json", "data": "{}" } }, "docs": "Remove a webhook subscription." }, { "info": { "name": "Trigger Automation With Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.thoughtly.com/webhook/automation/:automation_id", "params": [ { "name": "automation_id", "value": "", "type": "path", "description": "The ID of the Webhook-triggered automation." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Trigger an Automation that uses a Webhook trigger. Request body can be any arbitrary JSON; fields are available downstream in the automation steps." } ] } ], "bundled": true }