Request Question List API Call this function to retrieve list of available security question. Below is the URL to access the API functions: GET /CentagateWS/webresources/security/getQuestion Parameters For the parameters no need. Sample Code As in below there are some examples of source code of access the API functions: Java Node Js PHP Error Code Java public static void main(String[] args) { ClientConfig config = new DefaultClientConfig (); Client client = Client.create ( config ); WebResource service = client.resource ("https://<domain_name>/CentagateWS/webresources"); Gson gson = new Gson(); ClientResponse response = service.path("security").path("getQuestion").accept(MediaType.APPLICATION_JSON).get(ClientResponse.class); String retJson = response.getEntity(String.class); HashMap<String, Object> returnData = (HashMap<String, Object>) gson.fromJson(retJson, HashMap.class); String code = returnData.get("code").toString(); String message = returnData.get("message").toString(); String object = returnData.get("object").toString(); } Node Js const https = require('https') var crypto = require('crypto'); const options = { hostname: "<domain_name>", port: 443, path:'/CentagateWS/webresources/security/getQuestion', method: 'GET', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', } } const req = https.request(options, res =>{ console.log(`HTTP Status Code: ${res.statusCode}`) var body = ''; res.on('', function(d){ body += d; var parsed = JSON.parse(body); if (parsed.code == 0){ console.log('Authentication Succeed'); console.log('Response:'); console.log(body); } else { console.log('Authentication Fail, ' +'Message:' + parsed.message); console.log('Code:' + parsed.code); } }) }) req.on('ERROR', error => { console.error(error) }) req.write(data) req.end() PHP <?php $url = 'https://<domain_name>/CentagateWS/webresources/security/getQuestion'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST,"GET"); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Accept: application/json','Content-Type: application/json')); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $obj = json_decode($result); if ($obj->{'code'} != 0){ print "Authentication fail"; print "Message: ".$obj->{'message'}; echo " <br>"; print "Code: ".$obj->{'code'}; } else { print "Authentication succeed"; echo " <br>"; print "Message: ".$obj->{'message'}; echo " <br>"; print "Code: ".$obj->{'code'}; echo " <br>"; print "Result:" ; echo " <br>"; print $result; } curl_close($ch); ?> Error Code Return CodeDetails 0Success10001Permission not allowed10002Invalid Input10003DB protection error10004DB error10011Crypto error