Limiting the fields in the API response

Hi, is there a way to select which fields we need returned in an API call? I am calling an API to get a Deal Participants, and I only want the Participant (Person) name and ID to be returned. I don’t want other fields to touch my system (for security reasons). Thanks!

Hello,

You can use Field Selectors to choose which information you return in a request: https://pipedrive.readme.io/docs/core-api-concepts-requests#section-field-selector

1 Like

Thank you David! I tried the field selector https://api.pipedrive.com/v1/deals/xxx/participants:(id)?start=0&api_token=xxx expecting to get only the IDs of participants. The response returned less info including the IDs indeed but also included some other data points which i don’t want (like emails). My goal is to just receive the ID and another custom field that I have in place. Let me know if you know anything about this.