zendesk / zendesk_api_client_php

Official Zendesk API v2 client library for PHP
336 stars 259 forks source link

tickets()->findall() only returning first 100 tickets? #447

Closed hbjydev closed 4 years ago

hbjydev commented 4 years ago

I'm sure this is a PEBCAK error, but for some reason tickets()->findAll() is only giving back the first hundred tickets.

    $zendesk = new Zendesk();
    $tickets = $zendesk->tickets()->findAll();

Not sure what I'm doing wrong. Is there a default limit of 100 per request?

rodjsta commented 4 years ago

https://developer.zendesk.com/rest_api/docs/support/tickets

image

hbjydev commented 4 years ago

Ah, thanks, wasn't aware of that. :)