{ "opencollection": "1.0.0", "info": { "name": "Optimizely Campaign REST Assets Recipients API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Recipients", "type": "folder" }, "items": [ { "info": { "name": "List recipients", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/:clientId/recipients/:recipientListId", "params": [ { "name": "clientId", "value": "", "type": "path", "description": "The unique identifier for the Optimizely Campaign client" }, { "name": "recipientListId", "value": "", "type": "path", "description": "The unique identifier for the recipient list" } ] }, "docs": "Returns a list of recipients from the specified recipient list." }, { "info": { "name": "Add a recipient", "type": "http" }, "http": { "method": "POST", "url": "https://api.campaign.episerver.net/rest/:clientId/recipients/:recipientListId", "params": [ { "name": "clientId", "value": "", "type": "path", "description": "The unique identifier for the Optimizely Campaign client" }, { "name": "recipientListId", "value": "", "type": "path", "description": "The unique identifier for the recipient list" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds a new recipient to the specified recipient list." }, { "info": { "name": "Get a recipient", "type": "http" }, "http": { "method": "GET", "url": "https://api.campaign.episerver.net/rest/:clientId/recipients/:recipientListId/:recipientId", "params": [ { "name": "clientId", "value": "", "type": "path", "description": "The unique identifier for the Optimizely Campaign client" }, { "name": "recipientListId", "value": "", "type": "path", "description": "The unique identifier for the recipient list" }, { "name": "recipientId", "value": "", "type": "path", "description": "The unique identifier for the recipient" } ] }, "docs": "Retrieves the details of a specific recipient from a recipient list." }, { "info": { "name": "Update a recipient", "type": "http" }, "http": { "method": "PUT", "url": "https://api.campaign.episerver.net/rest/:clientId/recipients/:recipientListId/:recipientId", "params": [ { "name": "clientId", "value": "", "type": "path", "description": "The unique identifier for the Optimizely Campaign client" }, { "name": "recipientListId", "value": "", "type": "path", "description": "The unique identifier for the recipient list" }, { "name": "recipientId", "value": "", "type": "path", "description": "The unique identifier for the recipient" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified recipient with the provided fields." }, { "info": { "name": "Delete a recipient", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.campaign.episerver.net/rest/:clientId/recipients/:recipientListId/:recipientId", "params": [ { "name": "clientId", "value": "", "type": "path", "description": "The unique identifier for the Optimizely Campaign client" }, { "name": "recipientListId", "value": "", "type": "path", "description": "The unique identifier for the recipient list" }, { "name": "recipientId", "value": "", "type": "path", "description": "The unique identifier for the recipient" } ] }, "docs": "Removes a recipient from the specified recipient list." } ] } ], "bundled": true }