Newer Version Available

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

Share Captured Activity Resource

Share an email or event that was captured by Automated Activity Capture, which is a feature of Sales Cloud Einstein and Inbox. You can share with no one, everyone, or selected groups.
Resource
1/salesforce-inbox/shared-activities/activityId
Available version
39.0
Requires Chatter
No
HTTP methods
PUT
Request body for PUT
JSON example
1{
2"groupsToShareWith":["0F9B00000004EVAKA2", "0F9B00000005YGHKA2", "0F9B00000008RTUKA2",],
3"sharingType":"MyGroups"
4}
Properties
Name Type Description Required or Optional Available Version
groupsTo​ShareWith String[] List of IDs for the groups that you share the activity with. Valid only if sharingType is MyGroups. Optional 39.0
sharingType String Type of sharing operation.
  • Everyone—The activity is shared with everyone.
  • MyGroups—The activity is shared only with a selection of the context user’s groups.
  • OnlyMe—The activity is private.
Required 39.0
Response body for PUT
Share Captured Activity Result