API Question / TimeTracking Endpoint

  • 27 October 2018
  • 1 reply

Using C# to pull data through this endpoint. I am only getting 30 records returned. Is there a limit or am I not passing a parameter? I find it hard to believe I can only get 30 records.

This topic has been closed for comments

1 reply

Hello Michael, 

By default 30 entries is the limit per page, you will probably have to use the pagination API parameter (https://developers.freshdesk.com/api/#pagination) to get the other entries.

For example, this will give me the first 30 entries:

Doing the following, will give me the next 30 (and so on...):

Simply keep increasing "page=2" until you've reached the end of the entries.

You can also increase the number of entries you get per page.

As mentioned, by default you get 30, you can increase this to 100 per page:

This will give you a 100 entries per page.

You can then add the parameter to paginate per 100 entries as well:

Hope this helps!