Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sometimes it can be useful to extract data from Mopinion. You can do this by using our API. This article describes where you create the API credentials.

Step 1: Feedback API

The first step is to go to the feedback API page. You do this by opening the integrations dropdown menu (Step 1 in the picture below) and after that clicking on the feedback API button (Step 2 in the picture below). Lastly, click on the Create API connection button (Step 3 below).

Step 2: Name your integration

When you are finished with step 1 there will be a pop-up on your screen. This pop-up should look like the picture below. The next step is to name your integration. Make sure you name your integration something that is recognizable to you and your colleagues. In this case, we will call it ‘Knowledge base article’, because that is what we are using it for.

Step 3: Using the credentials

Now you can see the credentials in the overview. You will have to use those credentials to set up your API. Every integration you make has its own credentials. For information on how to set up your API using your credentials, please see this page: https://developer.mopinion.com/api/

Note

The credentials used in this article are dummies. Do not share your own credentials with others that you do not allow to have access to your feedback and Mopinion configuration.


Easy html macro
theme{"label":"solarized_dark","value":"solarized_dark"}
contentByMode{"html":"<div id=\"surveyContent\"></div>","javascript":"var confluenceData = {};\nvar pageId;\nvar pageTitle;\n\ntry {\n confluenceData = JSON.parse(parent.window.name);\n var pageId = confluenceData.options.productContext['page.id'];\n var pageTitle = confluenceData.options.productContext['page.title'];\n} catch(e) {}\n\nvar src = 'https://collect.mopinion.com/assets/surveys/2.0/js/survey.min.js';\n\nvar vars = {\n key:'211a4fdb96626776846147095cc335b448e20458', \n domain:'app.mopinion.com', \n divName:'surveyContent', \n button:false, \n use_collect:false, \n useQuerySelectorAll:false\n};\n\nvar s = document.createElement('script');\ns.async = 'async';\ns.id = 'mopinionFeedbackScript';\ns.src = src;\ns.onload = s.onreadystatechange = function() {\n if (!s.readyState || s.readyState === 'loaded' || s.readyState === 'complete') {\n try {\n srv.loadSurvey(vars);\n } catch (e) {}\n }\n}\ndocument.head.appendChild(s);","css":""}