Lead

Create a new Lead

There are 3 types of leads you can create

  • 1. Buyer Lead
  • 2. Seller Lead
  • 3. New Person (contact)
Example in php code
exec("curl --data 'password=<pass>&email=<user>'
https://app.sharkagent.com/auth/local",$Data);
$obj = json_decode($Data[0]);
$tok = $obj->{token};
exec("curl  -H 'Authorization: Bearer $tok' --data 'leadType=Buyer
Lead&phone&$phone&firstName=$name&lastName=$Name_Split_2&email=$email&search=$msg'
https://app.sharkagent.com/api/person/buyerLead/",$Data2);
$obj = json_decode($Data2[0]);
var_dump($obj);

Still need help? Contact Us Contact Us