{ "opencollection": "1.0.0", "info": { "name": "Buttondown Automations API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Automations", "type": "folder" }, "items": [ { "info": { "name": "List Automations", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/automations", "params": [ { "name": "page", "value": "", "type": "query", "description": "The page number of the paginated response." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "List all automations" }, { "info": { "name": "Create Automation", "type": "http" }, "http": { "method": "POST", "url": "https://api.buttondown.com/v1/automations", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Create a new automation" }, { "info": { "name": "Retrieve Automation", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/automations/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Retrieve a specific automation by its ID" }, { "info": { "name": "Update Automation", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.buttondown.com/v1/automations/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Update an automation's properties" }, { "info": { "name": "Delete Automation", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.buttondown.com/v1/automations/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Delete an automation" }, { "info": { "name": "Invoke Automation", "type": "http" }, "http": { "method": "POST", "url": "https://api.buttondown.com/v1/automations/:id/invoke", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Manually trigger an automation" }, { "info": { "name": "Retrieve Automation Analytics", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/automations/:id/analytics", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Retrieve analytics data for an automation" } ] } ], "bundled": true }