Hello Pipedrive Community,
I’m integrating with the Pipedrive API to automatically create new Leads, and I’ve run into a snag with custom fields.
-
Creating the Lead
- The V2 API doesn’t support Lead creation, so I’m falling back to V1.
- When I POST to
/leads
, I receive a UUID for the new Lead’sid
in the response payload.
-
Adding a Custom Field
- I understand that custom fields live under the Deals API.
- However, the Deals API endpoint for updating a deal’s custom fields only accepts a numeric ID as the resource identifier—there’s no way to pass a UUID.
-
The Core Issue
- How can I associate or update a custom field on a Lead (or converted Deal) when the only ID I have is a UUID, but the API insists on a numeric ID?
Has anyone successfully handled custom-field assignment for a newly created Lead via the Pipedrive API? Any guidance or examples would be greatly appreciated.
Thank you in advance!