3E Data Insights API
02 - API Authentication
OVERVIEW

The OAuth 2.0 Client Credentials flow allows a client app to use its own M2M credentials to authenticate when invoking API.

Invoking Data Insights API Client Endpoints is a two-step process. 

Step 1: Generate Acces Token Using Client Credentials 

Note: Pleaseopen a Support Case to request Audience,Client_id and Client_Secret

POST /oauth/token HTTP/1.1
Host auth-nonprod.thomsonreuters.com
Content-Type application/x-www-form-urlencoded
grant_type client_credentials
&audience @Audience
&client_id @ClientID
&client_secret @ClientSecret



 

Sample JSON Response from Authentication Request

"access_token" eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1V.....
"scope" https://api.thomsonreuters.com/auth/edi.odata.api.user
Content-Type application/x-www-form-urlencoded
expires_in 86400
token_type Bearer

 


Step 2: Invoke Data Insights API With Access Token

After getting the access token, call the Data Insights API by attaching the Bearer token in the authorization header.