Hi, the API docs give a fairly simple example of adding a Contact to a existing Organization, however what I'm doing is adding the Contact but not attaching it to the Org. Can you please help me out with where I'm going wrong?
The endpoint I'm POSTing to is "contacts.json", and the full PHP API call is:
$new_contact = make_api_call('contacts.json', 'POST', $contactinfo, $uid, $key);
The contents of the $contactinfo array are
Am I leaving something out, or forming my array badly?
Apologies about the delayed response.
In your example request, can you try using company_name instead of company_id to specify the company to add the contact to?