Follow Us

Reading Survey Data Through API

You are here:
  • Main
  • API
  • Reading Survey Data Through API
< All Topics

 
To programmatically read the Survey data collected by SynthesisVR, please follow the steps:
 
1. Login into SynthesisVR with your administrator account and navigate to:
 


2. Scroll down to the API section and click the + to create a new rule:

 
Make sure the Survey permission is assigned.
If the “Strict Access” option is enabled, you will be able to access the collected data ONLY from an IP address associated with your location.


3. Prepare the following URL:

  • http://api.lbvr.net/data/survey/<API_KEY>/<START_DATE>/<RATINGS>

Example:

  • http://api.lbvr.net/data/survey/11111111-1111-1111-1111-111111111111/2019-06-01/4,5

Upon refreshing the Widgets page, you’ll be able to locate your API key:

 
START_DATE — use the YYYY-MM-DD format. The results you’ll get would be related only for surveys filled from the given data onward
RATINGS — comma-separated list of the rating results you would like to receive. This allows filtering out the negative ratings.
 


Extracting Survey data based on date:
. Prepare the following URL:

  • http://api.lbvr.net/data/survey/bydate/<API_KEY>/<START_DATE>/<RANGE>

Example:

  • http://api.lbvr.net/data/survey/bydate/11111111-1111-1111-1111-111111111111/2019-06-01/1%20year

 

Previous Reading Sessions & Goods Data Through API
Next Webhooks
Table of Contents