---
schema_version: "1"
id: 4c876b276165417debf185ccffc9d092541d27973a9725dcc5aa8403fe383fe9
title: Get Engagement Topics
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/field-service-dev/guides/field-service/source-files/actions/actions-obj-getengagementtopics.md
canonical_url: https://developer.salesforce.com/docs/service/field-service-dev/guide/actions-obj-getengagementtopics.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c73e2b6bbe5ec40d0658f7be34f6e208bad2c040d75098703904587687d1f5ea
products:
  - Field Service Developer Guide
  - Service Cloud Developer Content
---

# 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

|Input|Type|Description|
|-----|----|-----------|
|`salesforceInternal`|string|Optional. For internal use only.|

## Outputs

|Output|Type|Description|
|------|----|-----------|
|`topicIdsAndObjectNames`|string|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.|

## Example

Sample request body:

```nolang
{
  "inputs" : [{
    "salesforceInternal" : "internal"
  }]
}
```

Sample response body:

```nolang
{
  "actionName" : "getEngagementTopics",
  "errors" : null,
  "isSuccess" : true,
  "outputValues" : {
    "topicIdsAndObjectNames" : "[{\"TopicId\":\"08pRZ0000008iPeYAI\",\"ObjectName\":\"ServiceAppointment\"},{\"TopicId\":\"02iRZ0000006AeDYAU\",\"ObjectName\":\"Asset\"}]"
  }
}
```

