Developers

Public API

TnL crm offers you a Public API service, so you can capture leads from your website directly in TnL crm

Below you can find an example in PHP

$data = array(
  "source" => "You website name",

  "Email" => "john@doe.com", // Lead's email
  "Telephone" => "0123453456", // Lead's phone
  "Name" => "John Doe", // Lead's name
  "Comments" => "Some comment", // Some comment about this lead

  "MoverId" => 'xxxxxxxxxxxx', // Your internal ID for reference (optional)
  "EstimatedMoveDate" => "2021-01-01", //format Y-m-d

  "MoveFrom_Address" => "Some street and number", // Pick up location
  "MoveFrom_Country" => "UK", // Pick up country
  "MoveFrom_PostDistrict" => 'xxxxxxxxxxxx', // Pick up post code
  "MoveFrom_property" => 'xxxxxxxxxxxx', // House, Flat, office, etc.
  "MoveFrom_floor" => 'xxxxxxxxxxxx', // Floor level, example: 1, 2, 3, or ground
  "MoveFrom_lift" => 1, // 1 - yes or 0 - no
  "MoveFrom_Bedrooms" => 'xxxxxxxxxxxx', // nr of bedrooms
  "MoveFrom_notes" => "Some notes", // a comment

  "MoveTo_Address" => "Some street and number", // Delivery location
  "MoveTo_Country" => "UK", // Delivery country
  "MoveTo_PostDistrict" => 'xxxxxxxxxxxx', // Delivery post code
  "MoveTo_floor" => 'xxxxxxxxxxxx', // Floor level, example: 1, 2, 3, or ground
  "MoveTo_lift" => 1, // 1 - yes or 0 - no
  "MoveTo_Bedrooms" => 'xxxxxxxxxxxx',
  "MoveTo_notes" => "A comment",
);
$data_string = json_encode($data);

$companyUID = 'xxxxxx'; // Your company UID. You can find this in your profile settings
$ch = curl_init('https://tnlcrm.com/public_api/new_lead/' . $companyUID);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
  'Content-Type: application/json',
  'Content-Length: ' . strlen($data_string))
);
$result = curl_exec($ch);

Wordpress plugins

You can download plugin from here

How it works ?

You will need to have a contact form on your Wordpress website. Our plugin works only with with: Contact Form 7, or WPFORMS

Please follow instructions on next pictures to set up everything

img

Want to try TnL CRM Software for Free?

With TnL CRM, your team can now use all available featureas, in just one minute, for Free.

Our happy clients

Want to see our DEMO ?

Just take a look at what we have. We provide full access to demo version. If you have any questions, please don't hesitate to contact us.

Access demo