InfusionSoft API Lead Source

I inherited some code using the InfusionSoft API. I can't find anywhere in the documentation where they got the name for the inf_field_Email field , or any other field names.

Tried: I have looked at the source code of my API using XML RPC, tried to register in their forums, but I cannot post it and I cannot find in the documentation where these field names might be. Is there a list of these field names? Does anyone know where these field names might be?

I can: create a mailbox contact, but I cannot figure out how to add the LeadSource. Can I use URL parameter or POST value?

This is the cURL call:

    <?php

    // ...

    $postData = array(
        'inf_form_xid' => $this->formId,
        'infusionsoft_version' => $this->version,
        'referrer' => 'https://'. $this->appName . '.infusionsoft.com/app/form/iframe/' . $this->formId,
        'inf_field_Email' => $email, 
        'inf_field_LeadSource' => 'TEST: "LeadSource"',
        'inf_field_Lead_Source' => 'TEST: "Lead_Source"'
    );

      

In fact, when I look at the type, it almost looks like the previous person had loaded an iframe with a pre-built form and used that to post the data. Hmmm.

+3


source to share


1 answer


This code submits a web form to Infusionsoft. This is not considered development of the Infusionsoft API and you will not find any documentation on the Infusionsoft API site.

When adding a lead source to a web form, Infusionsoft will display a select control with the id / name "inf_field_LeadSourceId".



To add Lead Source data to Infusionsoft, you will need to update the web form to include the Lead Source field. The web form is most likely in the Campaign Creation Campaign or an outdated web form (if it really is old).

+3


source







All Articles