How to authenticate for using Analytics for 8x8 Work API
Objective
Analytics for 8x8 Work API authentication
Applies To
- Analytics for 8x8 Work APIs
Procedure
- Open Admin Console from your 8x8 Application Panel and navigate to API Keys icon.
- Click on Create App button, select Analytics for 8x8 Work and input the name you want for the app. Once saved, this will generate a Key and a Secret. The Key value will be the 8x8-apikey header.
- You will obtain the access token by calling the oauth/token endpoint.
POST https://api.8x8.com/analytics/work/v1/oauth/token
In the Authorization tab, set the Type to No Auth.
In the headers, use the 8x8-apikey created earlier and Content-Type as application/x-www-form-urlencoded.
In the body, add the username and password for a user with access to Analytics for 8x8 Work.
The access_token will be used in the data requests for the available API endpoints, in the header Authorization with the value Bearer <access_token>
Additional Information
For more information regarding the authentication, endpoints available and parameters, checked the documentation on the following link: Work Analytics Guides