{ "opencollection": "1.0.0", "info": { "name": "Buttondown Surveys API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Surveys", "type": "folder" }, "items": [ { "info": { "name": "List Surveys", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/surveys", "params": [ { "name": "status", "value": "active", "type": "query", "description": "If provided, only return surveys with the given status." }, { "name": "-status", "value": "inactive", "type": "query", "description": "If provided, only return surveys without the given status." }, { "name": "ordering", "value": "-creation_date", "type": "query", "description": "The ordering to apply to the results." }, { "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 surveys" }, { "info": { "name": "Create Survey", "type": "http" }, "http": { "method": "POST", "url": "https://api.buttondown.com/v1/surveys", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Create a new survey" }, { "info": { "name": "Retrieve Survey", "type": "http" }, "http": { "method": "GET", "url": "https://api.buttondown.com/v1/surveys/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Retrieve a specific survey by its ID" }, { "info": { "name": "Update Survey", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.buttondown.com/v1/surveys/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Update a survey's properties" }, { "info": { "name": "Delete Survey", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.buttondown.com/v1/surveys/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Delete a survey" } ] } ], "bundled": true }