{ "opencollection": "1.0.0", "info": { "name": "Salesforce Experience Cloud Salesforce CMS Connect Actions Content API", "version": "59.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize", "accessTokenUrl": "https://login.salesforce.com/services/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Content", "type": "folder" }, "items": [ { "info": { "name": "Salesforce Experience Cloud List CMS Contents", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/contents", "params": [ { "name": "pageSize", "value": "", "type": "query", "description": "Number of items per page (default 25, max 250)" }, { "name": "page", "value": "", "type": "query", "description": "Page number to retrieve (0-indexed)" }, { "name": "managedContentType", "value": "", "type": "query", "description": "Filter by managed content type developer name" }, { "name": "language", "value": "", "type": "query", "description": "Language code to filter content (e.g., en_US)" }, { "name": "channelId", "value": "", "type": "query", "description": "Filter content by channel ID" }, { "name": "folderId", "value": "", "type": "query", "description": "Filter content by folder ID" } ] }, "docs": "Returns a list of CMS content items. Supports filtering by content type, language, and channel. Returns content metadata and body fields." }, { "info": { "name": "Salesforce Experience Cloud Create CMS Content", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/contents", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new CMS content item in the specified workspace. Requires the content type, title, and body fields defined for the content type." }, { "info": { "name": "Salesforce Experience Cloud Get CMS Content", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/contents/:contentId", "params": [ { "name": "contentId", "value": "", "type": "path", "description": "The ID of the CMS content item" }, { "name": "language", "value": "", "type": "query", "description": "Language variant to retrieve" } ] }, "docs": "Returns a specific CMS content item by its ID, including all body fields, metadata, and version information." }, { "info": { "name": "Salesforce Experience Cloud Update CMS Content", "type": "http" }, "http": { "method": "PATCH", "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/contents/:contentId", "params": [ { "name": "contentId", "value": "", "type": "path", "description": "The ID of the CMS content item" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing CMS content item. Supports updating the title, body fields, and language variants." }, { "info": { "name": "Salesforce Experience Cloud Delete CMS Content", "type": "http" }, "http": { "method": "DELETE", "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/contents/:contentId", "params": [ { "name": "contentId", "value": "", "type": "path", "description": "The ID of the CMS content item" } ] }, "docs": "Deletes the specified CMS content item. Content that is currently published must be unpublished before deletion." }, { "info": { "name": "Salesforce Experience Cloud Publish CMS Content", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/contents/:contentId/publish", "params": [ { "name": "contentId", "value": "", "type": "path", "description": "The ID of the CMS content item" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Publishes the specified CMS content item to its assigned channels, making it available for delivery." }, { "info": { "name": "Salesforce Experience Cloud Unpublish CMS Content", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/contents/:contentId/unpublish", "params": [ { "name": "contentId", "value": "", "type": "path", "description": "The ID of the CMS content item" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Unpublishes the specified CMS content item, removing it from delivery channels." } ] } ], "bundled": true }