setVars

Sets the list of variables to be used in the Leanplum content management system. This method requires your development API clientKey.

Body Params

JSON request body with variables and values.

string
required
Defaults to YOUR_APP_ID

The application ID. To find yours, select your app in the navigation column, and click Manage Apps. Then click Keys & Settings.

string
required
Defaults to YOUR_DEV_KEY

The Development key for your Leanplum App.

string
enum
required
Defaults to 1.0.6

The version of the Leanplum API to use. The current version is 1.0.6.

Allowed:
string
required

A JSON-encoded representation of the variables. Variable values can be strings, numbers, booleans, arrays, or objects.

Example: { "message": "hello world!" }

string

If the deviceId is specified, file variables will be tagged with the current version of the app running on that device.

Response

Language
Credentials
URL
Response
Choose an example:
application/json