Newer Version Available

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

Personalization Resources

Get a list of assigned audiences that match the user context. Get audience information for a batch of audience IDs. Create, get, update, and delete an audience. Get a list of targets that match the user context, based on the assigned audiences that include the user. Create and update targets. Get target information for a batch of target IDs. Get and delete 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 assigned audiences that match the user context. 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 user context, based on the assigned 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.