I’d like to use something similar to the include_fields option of the itemSearch https://developers.pipedrive.com/docs/api/v1/#!/ItemSearch/get_itemSearch. However I cannot use the itemSearch in my case because it requires a search term with a minimum of 2 characters whereas I need to do get an unfiltered list of all organizations.
Am I right in that this feature (include custom fields when fetching a list of items) is still missing?
Does anybody have a suggestion how to work around this limitation?
A custom field is represented as “hash” string in the response, meaning if you’ve created a custom field for an organization with name like “My awesome field”, it gets the unique key (something like this d657d8d3ebbd4ac21422966c3b2644579d5c9b7f).
In order to find this key for a custom field, go to “Settings -> Company -> Data fields”, hover over field you’re looking for and click “Copy API key”, so you would be able to find it in response.
OMG. You’re so right. I’ve been working with custom fields a lot already but did not notice they were already contained in the response due to a key mapping issue.