{ "opencollection": "1.0.0", "info": { "name": "Sitecore CDP REST Audit Templates API", "version": "v2.1" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Templates", "type": "folder" }, "items": [ { "info": { "name": "List templates", "type": "http" }, "http": { "method": "GET", "url": "https://api-engage-eu.sitecorecloud.io/v1/templates", "params": [ { "name": "pageSize", "value": "", "type": "query", "description": "Number of items to return per page" }, { "name": "pageOffset", "value": "", "type": "query", "description": "Number of records to skip for pagination" }, { "name": "sort", "value": "", "type": "query", "description": "Field name and direction to sort results by (e.g., name:asc)" } ] }, "docs": "Retrieves a paginated collection of all templates configured in the Sitecore Personalize instance. Templates define the visual or logic components used within personalization flows." }, { "info": { "name": "Create a template", "type": "http" }, "http": { "method": "POST", "url": "https://api-engage-eu.sitecorecloud.io/v1/templates", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new template in Sitecore Personalize. Templates contain HTML, CSS, and JavaScript that define the visual presentation or decision logic of a personalization experience." }, { "info": { "name": "Get a template", "type": "http" }, "http": { "method": "GET", "url": "https://api-engage-eu.sitecorecloud.io/v1/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ] }, "docs": "Retrieves a specific template by its unique identifier. Returns the full template including its code, revision history, and status." }, { "info": { "name": "Update a template", "type": "http" }, "http": { "method": "PUT", "url": "https://api-engage-eu.sitecorecloud.io/v1/templates/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Performs a full replacement update of a template. A new revision is created upon each update." } ] } ], "bundled": true }