This page describes how to authenticate your REST API calls when using Sisense version 5.8 and earlier and provides examples of how to connect with HTTP request tools such as Postman and cURL.
For Sisense version 5.8 and earlier, you can use the Global Token located in the Admin page of the Sisense Web Application.The token lets the server verify your identity.
For versions of Sisense later than 5.8, see Using the REST API for information about authenticating requests.
To retrieve the Global Token for authenticating requests :
Sisense recommends Postman , which is a Chrome extension that lets you run HTTP requests using a comfortable GUI. The HTTP requests can be executed to view the result, or saved as code snippets in a variety of programming languages.
You can also use cURL from command line, or any other tool that can run HTTP requests with your headers and data. The version of Sisense you are using determines the type of authorization header you must include in your call to the REST API in cURL.
You must include a JWT encoded token that includes your Global Token.
C:\>curl -X GET --header "Accept: application/json" "" --header "X-Api-Key: eyJhbGciOiJIUzI1NiIsInR5cCI6I