Newer Version Available

This content describes an older version of this product. View Latest

Experience Cloud Sites

Salesforce Experience Cloud lets you create branded spaces for your employees, customers, and partners. You can customize and create experiences, such as communities, sites, or portals, to meet your business needs and then transition seamlessly between them.

You can request most Connect REST API resources within a specific Experience Cloud site. For example, you can make requests to feeds, files, groups, topics, and users resources within a specific site. If a resource is available in a site, its documentation includes a resource that starts with /connect/communities/communityId.

Some Connect REST API resources are available only within a site. These include resources for flagging and moderating content, using managed topics, and getting information about a user’s reputation.

Resources that are available in sites are available whether you allow access without logging in or not. However, if your site allows access without logging in, guest users don’t have access to any Connect REST API resources.

The resources that are available only within a site are listed in this table.

Resource HTTP Methods Tasks
/connect/communities GET, POST Get a list of all Experience Cloud sites available to the context user. Create an Experience Cloud site.
/connect/communities/communityId GET Get information about an Experience Cloud site.
/connect/communities/communityId/​publish POST Publish an Experience Cloud site.
/connect/communities/communityId/​chatter/comments/commentId/​moderation-flags GET, POST, DELETE If the context user is a moderator, get the number of times members flagged a comment. Also flag a comment for moderation and delete all flags on a comment.

If the context user isn’t a moderator, returns whether the user flagged a comment. Also flag a comment for moderation and remove a flag the user previously added.

/connect/communities/communityId/​chatter/feed-elements/​feedElementId/capabilities/​moderation GET, POST, DELETE Get information about a feed element's moderation capability, add a moderation flag to a feed element, or delete all moderation flags from a feed element.
/connect/communities/communityId/​files/moderation GET

If the context user is a moderator, get the files that members flagged.

/connect/communities/communityId/​files/fileId/moderation-flags GET, POST, DELETE If the context user is a moderator, get the number of times members flagged a file. Also flag a file for moderation and delete all flags on a file.

If the context user isn’t a moderator, get whether the user flagged a file. Also flag a file for moderation and remove a flag the user previously added.

/connect/communities/communityId/​chatter/feeds/moderation/​feed-elements GET If the context user has the Moderate Experiences Feeds permission, this resource returns a list of all feed elements and comments in the Experience Cloud site that have been flagged by site members.
/connect/communities/communityId/​chatter/feeds/home/feed-elements GET The feed containing feed elements and comments from the Experience Cloud site home.
/connect/communities/communityId/​managed-content/delivery GET Get published managed content versions for an Experience Cloud site.
/connect/communities/communityId/​managed-topics GET, POST, PATCH Get all the managed topics for an Experience Cloud site. Create a managed topic, create managed topic hierarchies, and reorder managed topics.
/connect/communities/communityId/​managed-topics/managedTopicId GET, DELETE Get information about or delete a managed topic in an Experience Cloud site.
/connect/communities/communityId/​missions/users/userId PATCH Update the mission activity count for a user.
/connect/communities/communityId/​missions/users/userId/​activities/export-job GET Export mission activity for a user.
/connect/communities/communityId/​missions/users/userId/​activities/purge-job POST Start a job to purge mission activity for the user.
/connect/communities/communityId/​missions/activities/purge-job POST Start a job to purge mission activity for all users.
/connect/communities/communityId/​navigation-menu/navigation-menu-items GET Get navigation menu items for an Experience Cloud site.
/connect/communities/communityId/​personalization/audiences GET, POST Get a list of assigned audiences that match the user context. Create an audience.
/connect/communities/communityId/​personalization/audiences/audienceId GET, PATCH, DELETE Get, update, and delete an audience.
/connect/communities/communityId/​personalization/targets GET, POST, PATCH Get a list of targets that match the user context, based on the assigned audiences that include the user. Create and update targets.
/connect/communities/communityId/​personalization/targets/batch/targetIds GET Get target information for a comma-separated list of target IDs.
/connect/communities/communityId/​personalization/targets/targetId GET, DELETE Get or delete a target.
/connect/communities/communityId/​question-and-answers/​top-unanswered (pilot) GET Get the top unanswered questions for the context user in an Experience Cloud site.
/connect/communities/communityId/​topics/topicId/trending-articles GET Get trending articles for a topic in an Experience Cloud site.
/connect/communities/communityId/​trending-articles GET Get trending articles for an Experience Cloud site.
/connect/communities/communityId/​chatter/users/userId/​audit-actions/counts GET Get audit statistics for a user in an Experience Cloud site.
/connect/communities/communityId/​chatter/users/userId/reputation GET Get a user's reputation in an Experience Cloud site.