link not returned in the headers
According to the documentation the next page URL is contained in the link header.
This is my URL: https://xxxxxxxx.freshdesk.com/api/v2/tickets?per_page=30
I have 193 tickets in my test system. I'm using the following to display the headers:
And the output is:
x-freshdesk-api-version: latest=v2; requested=v2
content-type: application/json; charset=utf-8
cache-control: must-revalidate, no-cache, no-store, private, max-age=0
expires: Wed, 13 Oct 2010 00:00:00 UTC
Where is the link reference?
Thanks for flagging this up. Not sure why the link content went missing for the List all tickets API query. We tested it out and it seems like it's working for other items such as contacts,articles,etc. Will troubleshoot this further and update you at the earliest possible.
Thanks for checking. I don't get the link in the headers for contacts either.
Upon checking this with the team here, I found that the api query with no filters , lists the tickets created in the last 30 days. In this case, there were only 11 tickets created in the last 30 days . This is the reason why the link was missing in the header as there was no second page of results ;)
I have 114 unresolved tickets that were created in the last 30 days. So it is not what you suggested.