Discussions
Using API and custom fields
about 5 years ago by Hans Guth
We are trying to pass in new contacts via API call. We have been able to add new contacts however custom field parameters do not seem to receive the values we have passed? Do we need to pass these parameters in a different manner?
Here's sample data array
$data = array(
"source" => "www.listingsmagic.com",
"type" => "Registration",
"person" => array(
"firstName" => "John",
"lastName" => "Doey",
"emails" => array(array("value" => "[email protected]")),
"phones" => array(array("value" => "555-333-2345")),
"tags" => array("facebook"),
"subscriber" => "Y",
"n_agency_ID" => 21
)