api/list

Returns the content of a specific list

ParameterDescriptionMandatory
listNumeric ID of the list as in SCM Action ListsNo
searchText string to search within the listNo
caseIndicates if text search must be case sensitive (boolean)No

Request

curl -s -k -X POST -H "Content-Type: application/json" -H "APIKEY: [YOUR_API_KEY]" -H "username: [YOUR_USERNAME]" -H "password: [YOUR_PASSWORD]" -d '{"list": 1}' 'https://1.2.3.4:4000/api/list'

Response

[
  {
    "value": "first value of the list",
    "info": ""
  },
  {
    "value": "second value of the list",
    "info": ""
  }
]