Persons api v2 returning html content


V1 endpoint is working fine but V2 endpoint returning html content.

V2 endpoint uses this url: /api/v2/persons instead of /v2/persons as you currently have it
https://developers.pipedrive.com/docs/api/v1/Persons#getPersons

1 Like

As @Himmelschmidt said, the only supported path for v2 is ... /api/v2/.... You can check out the API v2 migration guide for more information: Pipedrive API v2 migration guide