As described in the link https://pipedrive.readme.io/docs/core-api-concepts-requests, you can specify the fields in the URL. When I type the key for a particular custom field, the values are not returned. How do I solve this problem?
Each custom field has a key, something like this
*you can get deal fields via GET /dealFields
request, more here.
And you can use a custom field key in GET /deals
like this
https://api.pipedrive.com/v1/deals:(ec5809dadf499095b2fe0cacfca18434b985d7f1)?api_token=<your token>
*response
In other words, you need to use custom fields “key” instead of “custom fields”
Hi @mykhailo,
I performed the search for the fields using Get all deal fields, but the field I need does not appear in the list. What should I do to make the field appear?
When you hover over a field, do you see an additional menu? If yes, can you copy an API key from there?
If yes, could you double-check if you can find this key in GET /dealFields
response? If not, could you share how do you make an HTTP request, something like this https://api.pipedrive.com/v1/dealFields?api_token=<do not show it>&some params
Yes, I already located the field key on the Pipedrive platform, but when I run https://vaibem.pipedrive.com/api/v1/dealFields?api_token= several fields are returned, except what I need.
Hello @Wenison_Bandeira
This field, CPF2 belongs to Persons not Deals. You should be able to get it via GET /personFields
.
In GET /deals
you can use custom fields created for Deal (not Person).