Do I understand correctly that a lead created by the API should be tied to an existing organization or person? if so, how can I create a person using the API, to which I will then link the lead?
Welcome to our Dev Community!
Yes, you understood correctly. A lead has to be tied to an existing organization and/or person. This is mandatory for all leads, whether it’s added via the API or the Pipedrive webapp.
You can create a person using the
POST /v1/persons endpoint. I hope this answers your question?
Thanks! What is the workaround for newcomers leads? i.e. inbound leads that come to my website sign-up form. For those leads, I only know names and emails and they are not yet part of the Pipedrive. Therefore I can’t assign any organization or person to such leads.
As you see from how the model below, contacts (
organization) would be associated with different areas. Also, a lead can be converted to a deal directly (without affecting contacts). This enables to have an efficient process down the road.
Unfortunately, there is no workaround at this point. However, I have taken note of this