I am having trouble with deals/id/changelog endpoint. The deals/id/flow endpoint is working fine. Here are my web calls:
DEALS/FLOW (working):
https://api.pipedrive.com/v1/deals/2719/flow/?start=0&limit=500&api_token=xx...xx
DEALS/CHANGELOG (not working):
https://api.pipedrive.com/v1/deals/2719/changelog/?cursor=0&limit=500&api_token=xx...xx
Would appreciate correction(s) to my changelog call to make it functional.
Thank you.
Your URL: …changelog/?cursor=0&…
Corrected: …changelog?cursor=0&…
You have a forward slash (“/”) before your query string (“?”). This is likely causing the URL to be invalid.
Also, what is the response you’re getting? Could have to do with the cursor
Thank you Garrett. Your help moved me to the next error where “cursor” was not recognized. I replaced “cursor” with “start” and it is now working:
DEALS/CHANGELOG (working)
https://api.pipedrive.com/v1/deals/2719/changelog?start=0&limit=500&api_token=xx...xx
API v1 document has the error:
After applying the above, I am having a pagination issue getting past the first page (500 records). I can only bring back one page (a maximum of 500 records). Whether I query with start=0 or start = 1000 (or any other number), I always get the same records as if start is fixed at a start=0 value. I have deals that max out at 500 records, so I need to paginate to retrieve changelog records >500. As an illustration, here are two endpoint queries that output the same identical 97 records for Deal id 2719:
start=0
https://api.pipedrive.com/v1/deals/2719/changelog?start=0&limit=500&api_token=xx...xx
start=1000
https://api.pipedrive.com/v1/deals/2719/changelog?start=1000&limit=500&api_token=xx...xx
How do I paginate beyond the first page of 500 records for endpoint Deals Changelog?
Thank you,