Accessing content via the API

To get the variables that are being presented to a user, use the getVars API call. In order to perform the call, you'll need the following:

appIdStringFound in app settings
clientKeyStringProduction or development key in app settings
userIdStringuserId of the user that you want to see the variables for
devModeBooleanTrue or false depending on which client key is used

The API call will appear as such:

http://api.leanplum.com/api?appId=APP_ID_HERE&clientKey=DEV_OR_PROD_KEY_HERE&apiVersion=1.0.6&action=getVars&userId=USERID_HERE&includeDefaults=true&devMode=TRUE_OR_FALSE