when i try to use API GetClients , I get an error "Array ( [result] => error [message] => Invalid administrative identifier ) " . my code :
$params = array(
'action' => 'GetClients',
'identifier' => USERNAME,
'secret' => PASSWORD,
'search' => $email,
'limitnum'=> 1,
'responsetype' => 'json',
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, URL_API);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,
http_build_query($params)
);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
curl_close($ch);
$dataClient=json_decode($response,true);
print_r($dataClient);