Problem solved,
I leave the code in case it helps someone !!!
Sorry my bad english.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://yourhost.com:8443/api/v2/cli/extension/call');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1)...