Отправляем curl
<?
$postData = array(
"LOGIN" => "rykov@softbalance.ru",
"PASSWORD" => "*****",
"TITLE" => "ЛК iRECA: Отписка от рассылки пользователя #".$arCurl['ajRemoteUserPropValue'],
"COMMENTS" => "---",
"SOURCE_ID"=> $arCurl['ajRemoteSourceID'],
$arCurl['ajRemoteUserPropCode']=>$arCurl['ajRemoteUserPropValue'],
"ASSIGNED_BY_ID"=>412,
);
$myCurl = curl_init();
curl_setopt_array($myCurl, array(
CURLOPT_URL => 'https://softbalance.bitrix24.ru/crm/configs/import/lead.php',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query($postData)
));
$response = curl_exec($myCurl);
curl_close($myCurl);
echo $response;
?>