{ "opencollection": "1.0.0", "info": { "name": "Stream Chat API (Server-side REST) Application Campaigns API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Campaigns", "type": "folder" }, "items": [ { "info": { "name": "Create a campaign", "type": "http" }, "http": { "method": "POST", "url": "https://chat.stream-io-api.com/campaigns", "body": { "type": "json", "data": "{}" } }, "docs": "Create a bulk messaging campaign targeting a user segment." }, { "info": { "name": "Get a campaign", "type": "http" }, "http": { "method": "GET", "url": "https://chat.stream-io-api.com/campaigns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get a campaign" }, { "info": { "name": "Update a campaign", "type": "http" }, "http": { "method": "PUT", "url": "https://chat.stream-io-api.com/campaigns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a campaign" }, { "info": { "name": "Delete a campaign", "type": "http" }, "http": { "method": "DELETE", "url": "https://chat.stream-io-api.com/campaigns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete a campaign" }, { "info": { "name": "Start a campaign", "type": "http" }, "http": { "method": "POST", "url": "https://chat.stream-io-api.com/campaigns/:id/start", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Start a campaign" }, { "info": { "name": "Stop a campaign", "type": "http" }, "http": { "method": "POST", "url": "https://chat.stream-io-api.com/campaigns/:id/stop", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Stop a campaign" } ] } ], "bundled": true }