Get Engagement Topics

Retrieves a list of pairs from the engagement topics of the object ID (from the TopicId field) and its object name for the current messaging session.

This action is available in API version 68.0 and later.

Supported REST HTTP Methods 

URI: /services/data/vXX.X/actions/standard/getEngagementTopics

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

Inputs 

InputTypeDescription
salesforceInternalstringOptional. For internal use only.

Outputs 

OutputTypeDescription
topicIdsAndObjectNamesstringA list of pairs from the engagement topics of the object ID (from the TopicId field) and its object name for the current messaging session.

Example 

Sample request body:

1{
2  "inputs" : [{
3    "salesforceInternal" : "internal"
4  }]
5}

Sample response body:

1{
2  "actionName" : "getEngagementTopics",
3  "errors" : null,
4  "isSuccess" : true,
5  "outputValues" : {
6    "topicIdsAndObjectNames" : "[{\"TopicId\":\"08pRZ0000008iPeYAI\",\"ObjectName\":\"ServiceAppointment\"},{\"TopicId\":\"02iRZ0000006AeDYAU\",\"ObjectName\":\"Asset\"}]"
7  }
8}