• http://
  • .yourcommunify.com
  • Go!

Generate lead

Generate Lead (GL)

    $leadGenerationClient = new Communify\LG\LGClient();
    $leadGenerationClient->generateLead('57873ca86e871', ['account_id' => '[ACCOUNT ID]',
                                                           'content_id' => '[PLUGN CONTENT ID]',
                                                           'name'       => '[USER NAME]',
                                                           'surname'    => '[USER SURNAME]',
                                                           'email'      => '[USER EMAIL]',
                                                           'json'       => json_encode([
                                                           '[CUSTOM KEY]' => '[KEY VALUE]'
                                                                    ])
                ]
              );