Integration class to create and update leads on RD Station.
- Send a new lead/conversion
- Update lead
- Send lead tags
- Update lead stage
- Update lead status
- Web server with PHP support
- PHP extension CURL enabled
$ composer require inicial/rdstation-php
<?php
require_once(dirname(__FILE__) . '/init.php');
$rdStation = new \RDStation\RDStation('LEAD_EMAIL');
$rdStation->setApiToken('RD_TOKEN');
$rdStation->setLeadData('identifier', 'event-identifier');
$rdStation->setLeadData('name', 'Fabiano Couto');
// You can set all RD Station default fields and add custom fields as you want
// Read more about on http://ajuda.rdstation.com.br/hc/pt-br
// After setup all data, just call a method to make request to RD Station API
// Send a new lead/conversion
$rdStation->sendLead();
?>
You can find more info about usage on class source code.
Report any bug or suggest changes using git issues.