api/list
Returns the content of a specific list
| Parameter | Description | Mandatory |
|---|---|---|
| list | Numeric ID of the list as in SCM → Action → Lists | No |
| search | Text string to search within the list | No |
| case | Indicates 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": ""
}
]