Skip to main content

Paligo API

Show variable value

const headers = {
  'Accept':'application/json'
};

fetch('https://{instance}.paligoapp.com/api/v2/variablevalues/{id}/',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

Responses

Status

Meaning

Description

Schema

200

OK

Successful response.

VariableValue

{
  "id": 123,
  "variable_set_id": 123,
  "value": "string",
  "variable_id": 123,
  "variant_id": 123
}