Newer Version Available

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

Personalization Resources

Get a list of audiences that include the context user. Create, get, update, and delete an audience. Get a list of targets that match the context user, based on the audiences that include the user. Create, delete, and update targets. Get target information for a batch of target IDs and get details about a target.

Personalization varies what the user can see in the browser but doesn’t secure data in any way. To prevent users accessing sensitive data, use standard Salesforce security features, such as sharing rules and permission sets.

Note

Available resources are:

Resource Description
/connect/communities/communityId/​personalization/audiences Get a list of audiences that include a user. Create an audience.
/connect/communities/communityId/​personalization/audiences/batch/audienceIds Get audience information for a comma-separated list of audience IDs.
/connect/communities/communityId/​personalization/audiences/audienceId Get, update, and delete an audience.
/connect/communities/communityId/​personalization/targets Get a list of targets that match the context user, based on the audiences that include the user. Create and update targets.
/connect/communities/communityId/​personalization/targets/batch/targetIds Get target information for a comma-separated list of target IDs.
/connect/communities/communityId/​personalization/targets/targetId Get or delete a target.