I've inherited some code involving InfusionSoft API. I cannot find anywhere in the documentation where they got the name for the field inf_field_Email, or any other field names.
Tried: I've looked through the source code of their API with XML RPC, tried to signup on their forums but I cannot post, and I cant find in the documentation where these field names might be. Is there a list for these field names? Does anyone know where these field names might be?
I can: create a Contact with an email fine, but I can't figure out how to add the LeadSource. Can I use a URL parameter or POST value?
This is doing a 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, as I look at type this, it almost appears as if the previous person loaded an iframe with a pre-built form and used that to post data. Hmmm.