You are here:
Analyze Conversation Transcripts Using Data 360 Public APIs
As an alternative to Data 360 reports, analyze conversation transcripts using Data 360 public APIs. We’ve provided sample API requests and responses to help you get started.
See New connected apps can no longer be created in Spring ‘26 for more details.
In the sample APIs, we're using OAuth 2.0 Client Credentials Flow, which is one of the authentication flows available for OAuth Authorization.
- Verify that you completed the prerequisites listed in Analyze Conversation Transcripts in Data 360, and that you created data streams for your conversation data.
-
Set up a connected app to obtain the authentication credentials.
- From Setup, in the Quick Find box, enter External Client App and select Settings under External Client Apps.
- Click New Connected App.
- Click Create a Connected App and then click Continue.
- Fill in the required detail, enable Enable OAuth Settings, and then select the required OAuth Scopes.
- Under Enable OAuth Settings, enable Enable Client Credentials Flow and then click Save.
- From Setup, in the Quick Find box, enter Manage Connected Apps and then select it.
- Click Edit on the connected app, and under Client Credential Flow, look for your username to get access to the connected app.
- Obtain an access token.
- Exchange access token for Data 360 token. For example, see Sample Data 360 Access Token Request and Response.
- Execute a query using the Data 360 token as a bearer token.
- Sample Request and Response for Access Token
This sample request lets you obtain the access token and uses client_credentials as the grant_type for org authentication. - Sample Exchange Access Token for Data 360 Token Request and Response
This sample request exchanges the access_token value obtained from Sample Access Token Request and Response for dataCloudAuthToken. - Sample Request and Response for Executing SOQL Query
This sample request is a query that uses the Data 360 auth token (dataCloudAuthToken) and instance_url obtained from Sample Exchange Access Token for Data 360 Token Request and Response to fetch the required data.

