Retrieve insight preferences
You can use REST APIs to retrieve user insight preferences.
This workflow sample retrieves insight preferences for the current user.
info
Obtain the authorization token needed to execute the request using POST /api/auth/login.
Endpoint: GET /api/insight/preferences
Sample Request Header:
"accept": "application/json"
"X-MSTR-AuthToken": "5f8qohkckd5d4tm18c9etbe0vd"
Sample Request Body: N/A
Sample Curl:
curl -X 'GET' \
'https://demo.microstrategy.com/MicroStrategyLibrary/api/insight/preferences' \
-H 'accept: */*' \
-H 'X-MSTR-AuthToken: 5f8qohkckd5d4tm18c9etbe0vd'
Sample Response Body:
{
"emailEnabled": false
}
Sample Response Code: 200 (The insight preferences are returned successfully.)