Lead Developer API

In PHP CRM, a lead is defined as an individual or company that expresses interest in the products or services being offered.

Post Data API – PHPCRM 13

A lead capture form is a web form used to collect information from visitors who show interest in a product, service, or offering provided by a business or organization. The purpose of a lead capture form is to gather contact details or other relevant information from potential customers, known as leads, so that the business can follow up with them and potentially convert them into customers.

Lead capture forms typically include fields for basic contact information such as name, email address, phone number, and sometimes additional fields to gather more specific details about the lead’s needs or preferences. These forms are often placed strategically on a website, such as on a landing page or within a pop-up, to capture leads at various stages of the sales funnel.

Once a visitor submits a lead capture form, the information is usually stored in a database or CRM system, allowing the business to manage and track leads, follow up with them via email or phone calls, and nurture them through the sales process.

Overall, lead capture forms are a key tool for businesses to generate and manage leads effectively, helping them to grow their customer base and increase sales opportunities.

Post Data API – PHPCRM 11

<?php
$Token_Key=”; // You can get it from admin b0222e611191e26d5029216976fbdb0a
$WebURL=”; // https://test.abc.com
// Lead Fields
$post_data=array(‘name’ => ‘Test Name’,’phone’ => ‘+91-8888888888′,’email’ => ‘[email protected]’);
$PHPCRM = curl_init();
curl_setopt_array($PHPCRM, array(
  CURLOPT_URL => $WebURL.’/index.php/crm_api/leads/add_lead/’.$Token_Key,
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => ”,
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => ‘POST’,
  CURLOPT_POSTFIELDS => $post_data,
));
$response = curl_exec($PHPCRM);
curl_close($PHPCRM);
//Output
echo $response;
?>